Overview

The data behind The Graphite Lab's products, as an API. First series, Geo.

One key and one balance of rivets give you the data our own products run on. Geo is the first series: geocoding, routing, boundaries, postcodes, timezones and elevation for the United States and Canada. Rivets come with your Graphite Lab plan, and each request costs 1 rivet.

Base URL
https://api.data.graphitelab.ai/v1

Get started

StepGuideWhat it covers
1QuickstartSign in, create a key, make a first call.
2AuthenticationSend your key as a bearer token or apiKey, and the rate limit.
3Pricing and rivets1 request costs 1 rivet. Rivets come from your plan.
4ErrorsThe error body, status codes and what to retry.

Also useful: Concepts for place IDs, rank and formats, and Coverage and data for sources, licences and known gaps.

Series

SeriesStatusEndpoint groups
GeoLiveGeocoding, Boundaries, Postcode, Routing, Isolines, Timezone, Elevation
Roof dataNextNot yet available
Video searchNextNot yet available

Geo endpoints

Each endpoint page has the parameters, an example request and response, and the behavior in prose. The API reference has the full schemas.

GroupEndpointMethod and pathReturns
GeocodingForward geocodingGET /geocode/searchCoordinates and an address for text
GeocodingReverse geocodingGET /geocode/reverseThe address at a point
GeocodingAutocompleteGET /geocode/autocompleteSuggestions for partial text
BoundariesPart ofGET /boundaries/part-ofBoundaries containing a place
BoundariesConsists ofGET /boundaries/consists-ofBoundaries inside a place
PostcodePostcode searchGET /postcode/searchA ZIP or postal code
PostcodePostcode listGET /postcode/listPostcodes in an area
RoutingRoutingGET /routingA route between waypoints
RoutingRoute matrixPOST /routematrixTimes and distances, sources to targets
RoutingMap matchingPOST /mapmatchingA GPS trace snapped to roads
RoutingRoute plannerPOST /routeplannerJobs assigned across agents
IsolinesIsolineGET /isolineThe area reachable by time or distance
TimezoneTimezoneGET /timezoneZone and UTC offset at a point
TimezoneTransitionsGET /timezone/transitionsDST and offset changes
ElevationElevationPOST /geodata/elevationElevation for locations

Every answer comes from our own data: OpenStreetMap, NAD, StatCan NAR, Overture and others. See Coverage and data.

On this page