Location Data Services API
Geocoding, isolines and routing.
Geocoding one address or many
Coordinate order
Endpoints
Returns coordinates for a street address.
The geocoding provider is configured per organization, so the fields of each result depend on which provider your organization uses.
An API Access Token or an OAuth Access Token, sent as
Authorization: Bearer <token>.
The address to geocode.
Plaza Mayor, MadridRestrict results to a country. Accepts ISO alpha-2, alpha-3, numeric codes or the English country name.
ESMaximum number of results.
1Provider options as a JSON string, for example {"language":"es-ES"}.
Supported keys depend on the provider.
The geocoding results.
The request is malformed or a parameter failed validation.
The token is missing, malformed or expired.
The token doesn't grant access to this resource.
You went over the rate limit for this API.
Returns the street address closest to a pair of coordinates.
Unlike GET /v3/lds/geocoding/geocode, this endpoint
returns the results directly, without the { error, value } wrapper.
An API Access Token or an OAuth Access Token, sent as
Authorization: Bearer <token>.
Latitude.
40.40168788033523Longitude.
-3.6925478219155212Language for the result, passed through to the provider — for example
es-ES. Accepted values depend on the provider.
Provider options as a JSON string.
The addresses found.
A geocoding result. Fields depend on the provider configured for your organization — the ones below are the most common.
The request is malformed or a parameter failed validation.
The token is missing, malformed or expired.
The token doesn't grant access to this resource.
You went over the rate limit for this API.
Geocodes up to 10,000 addresses in one request.
Results come back in the same order as the input. Individual addresses can
fail without failing the request — check the error field of each entry.
An API Access Token or an OAuth Access Token, sent as
Authorization: Bearer <token>.
The addresses to geocode.
Restrict results to a country.
Maximum results per address. Has no effect when the provider is Google Maps.
1One entry per input address, in the same order. An entry with a non-null
error means that address failed.
Present only when the address failed.
The request is malformed or a parameter failed validation.
The token is missing, malformed or expired.
The token doesn't grant access to this resource.
You went over the rate limit for this API.
Returns the area reachable from a point within a time or distance budget, as GeoJSON.
Isolines are not available when your organization's provider is Google.
An API Access Token or an OAuth Access Token, sent as
Authorization: Bearer <token>.
Origin point as longitude,latitude.
-3.70739,40.41556Mode of transport — car, walk or bike. CARTO maps these to the
equivalent mode for your provider. Other values are passed through.
carBudget, in seconds when range_type=time and in meters when
range_type=distance. HERE and Mapbox accept several comma-separated
values; TomTom and TravelTime accept only one.
300Provider options as a JSON string.
The isoline, as a GeoJSON FeatureCollection.
The request is malformed or a parameter failed validation.
The token is missing, malformed or expired.
The token doesn't grant access to this resource.
You went over the rate limit for this API.
Returns a route between two points.
Routing is only available when your organization's provider is HERE, TomTom or TravelTime.
An API Access Token or an OAuth Access Token, sent as
Authorization: Bearer <token>.
Origin as longitude,latitude.
-1.633492,42.811801Destination as longitude,latitude.
-1.660946,42.824662Mode of transport. Accepted values depend on the provider — HERE accepts
car, truck, pedestrian, bicycle, scooter, taxi, bus and
privateBus; TomTom accepts car, pedestrian, bicycle,
motorcycle, truck, taxi, bus and van.
carIntermediate points, as colon-separated latitude,longitude pairs.
Note the order is the reverse of origin and destination.
TravelTime supports at most 9.
-1.648453,42.813442:-1.657621,42.814813Provider options as a JSON string.
The route.
The request is malformed or a parameter failed validation.
The token is missing, malformed or expired.
The token doesn't grant access to this resource.
You went over the rate limit for this API.
Returns your organization's Location Data Services quota, how much of it has been consumed in the current billing period, and which provider serves each operation.
An API Access Token or an OAuth Access Token, sent as
Authorization: Bearer <token>.
The quota usage.
The token is missing, malformed or expired.
The token doesn't grant access to this resource.
You went over the rate limit for this API.
Last updated
Was this helpful?
