New to Corsair? See API access, authentication, and error handling.
Distance
fromOrigin
distance.fromOrigin
Measure driving or straight-line distance and duration from one origin to many destinations, optionally filtering and sorting by either
Risk: read
The route accepts
driving, haversine and straightline; only driving returns a duration.
Output
destinations full type
destinations full type
matrix
distance.matrix
Measure every origin against every destination, or pair each origin with one destination, in a single request
Risk: read
calculation_type: pairs pairs each origin with the destination at the same position instead of crossing them.
Output
results full type
results full type
Geocode
batch
geocode.batch
Geocode up to 10,000 addresses in one request, answered in the order they were sent
Risk: read
Up to 10,000 addresses in one POST, answered in order as
{ query, response: { results } } entries.
Output
results full type
results full type
batchReverse
geocode.batchReverse
Reverse geocode up to 10,000 coordinate pairs in one request, answered in the order they were sent
Risk: read
Output
results full type
results full type
forward
geocode.forward
Turn an address into coordinates, with a confidence score, the accuracy type that says how the match was made, and the parsed components. Data appends such as timezone or congressional district come back under fields
Risk: read
Send either
q or the components; fields appends data such as timezone under fields.
Output
results full type
results full type
parse
geocode.parse
Split an address into its components without geocoding it, so it costs no lookup
Risk: read
Splits an address without geocoding it, so it costs no lookup.
Output
address_components full type
address_components full type
reverse
geocode.reverse
Turn a latitude and longitude into the nearest address, with the same confidence and components a forward lookup returns
Risk: read
Output
results full type
results full type
Jobs
delete
jobs.delete
Delete a distance job and its stored result
Risk: destructive · Irreversible
Output
get
jobs.get
Read one distance job, whose status says whether its result is ready
Risk: read
Output
data full type
data full type
list
jobs.list
List the asynchronous distance matrix jobs on the account
Risk: read
Output
data full type
data full type
Lists
all
lists.all
List the uploaded spreadsheets and their processing status
Risk: read
There is no upload route here, so a new spreadsheet has to be uploaded from the dashboard.
Output
data full type
data full type
delete
lists.delete
Delete an uploaded spreadsheet and its results
Risk: destructive · Irreversible
Output
get
lists.get
Read one spreadsheet list, whose status and download URL say when its results are ready
Risk: read
Output
status full type
status full type
file full type
file full type