v1

latestOpenAPI 3.0.1Geocodio Terms of Use2026-08-061785720.4 KB
distance-jobs

Create async distance matrix job

post/distance-jobs

Request body

namestring required
originsstring required
destinationsstring required
distance_mode'"driving"' | '"haversine"' | '"straightline"' nullable
units'"miles"' | '"km"' nullable
max_resultsinteger nullable
max_distancenumber nullable
max_durationinteger nullable
min_distancenumber nullable
min_durationinteger nullable
order_by'"distance"' | '"duration"' nullable
sort_order'"asc"' | '"desc"' nullable
fieldsstring nullable
callback_urlstring uri nullable

Response

Successful response

idinteger
identifierstring
statusstring
namestring
created_atstring
origins_countinteger
destinations_countinteger
total_calculationsinteger