Aktywne API
Jak to działa
Send at least two points and a profile. Duration is not a guaranteed ETA and does not include live traffic.
Zastosowania
Courier services, logistics, hiking, cycling and service access.
Cennik
2 kred. · 2 credit(s) per operation · maks. 50 jednostek
Rzeczywisty endpoint
POST
https://geonexa.eu/api/v1/geo/routecurl -X POST 'https://geonexa.eu/api/v1/geo/route' \
-H 'Authorization: Bearer gnx_YOUR_KEY' -H 'Content-Type: application/json' \
-d '{"locations":[{"lat":52.2297,"lon":21.0122},{"lat":50.0647,"lon":19.945}],"costing":"auto","units":"kilometers","language":"pl-PL"}'Przykładowa odpowiedź
{"trip":{"summary":{"length":294.2,"time":11240},"legs":[{"shape":"...","maneuvers":[]}]}}Pełna dokumentacjaFAQ
Routing — 1
Does duration include traffic? No—live traffic data is not claimed.
Routing — 2
Credits are charged only for a successfully completed operation. Validation and 5xx errors are not charged.