Graphite Data API

The data behind our products, as an API.

The Graphite Lab runs on this data every day. The first series, Geo, is open to you: one rivet per request.

Request
curl "https://api.data.graphitelab.ai/v1/geocode/search?text=1600%20Pennsylvania%20Ave%20NW,%20Washington,%20DC%2020500&apiKey=$GRAPHITE_API_KEY"
Response, trimmed200application/geo+jsonX-Geo-Stage: canonical
{
  "type": "FeatureCollection",
  "features": [{
    "properties": {
      "formatted": "1600 PENNSYLVANIA Avenue Northwest, Washington, DC 20500, United States",
      "lat": 38.89767510742324,
      "lon": -77.03654697024702,
      "result_type": "building",
      "datasource": { "sourcename": "nad+overture" },
      "rank": { "confidence": 1, "match_type": "full_match" },
      "place_id": "gp:addr:canonical:37388970"
    }
  }]
}

Series

Each series is one slice of our own data, behind one key. Geo is live. Every endpoint takes the same apiKey and spends one rivet per call.

GeoLive

Geocoding, routing and places for the US and Canada, from our own engines.

Geocoding

Addresses to coordinates and back, plus suggestions.

  • GET /v1/geocode/search
  • GET /v1/geocode/autocomplete
  • GET /v1/geocode/reverse

Routing

Routes, matrices, GPS traces and job planning.

  • GET /v1/routing
  • POST /v1/routematrix
  • POST /v1/mapmatching
  • POST /v1/routeplanner

Isolines

Areas reachable within a time or distance.

  • GET /v1/isoline

Places and time

Postcodes, boundaries and time zones.

  • GET /v1/postcode/search
  • GET /v1/postcode/list
  • GET /v1/boundaries/part-of
  • GET /v1/boundaries/consists-of
  • GET /v1/timezone
  • GET /v1/timezone/transitions

Elevation

Height at a point or along a line.

  • POST /v1/geodata/elevation
  • POST /v1/elevation

Roof data

Next

Video search

Next

Why ours

We built this data for our own products first. The API is the same thing we run on, opened up.

Our own data

We never call a paid geocoding API. Every answer comes from data we hold.

  • US addressesUSDOT National Address Database
  • Canadian addressesStatCan National Address Register
  • Both countriesOverture Maps addresses
  • Roads and placesOpenStreetMap

Our own engines

Rebuilt monthly from fresh source downloads and served by engines we run. Outside the US and Canada you get an empty result, not an error.

Built for our own products first

The Graphite Lab depends on this API every day, so it has to stay fast and correct. Geo paths and parameters follow Geoapify's, so existing code moves over with a new base URL (https://api.data.graphitelab.ai) and your Graphite key.

Pricing

1 request = 1 rivet

Rivets come with your Graphite Lab plan. Every call costs one, whichever endpoint it hits, and every key draws from one balance.

Get an API key.

Sign in, create a key, paste it into the curl above.