The Nozle Routing API consists of three endpoints designed to be used together or independently:Documentation Index
Fetch the complete documentation index at: https://nozle.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
POST /v1/routes
Compute a driving route between two addresses. Returns route geometry, distance, and duration.
POST /v1/stations/enrich-distances
Annotate your stations with route-relative positions and detour times.
POST /v1/optimize
Compute the cost-optimal fueling plan for a route, with savings vs. naive baseline.
Base URL
https://api.nozlerouting.comCommon Conventions
All endpoints:- Accept and return JSON
- Require
X-API-Keyauthentication (see Authentication) - Return
request_idin responses for support and debugging - Use structured error responses (see Errors)
- Are subject to rate limits (see Rate Limits)
Pipeline Usage
The three endpoints are typically used in sequence, but partners can skip endpoints when they have the relevant data from other sources:Optional: /v1/routes
Skip if you have your own routing layer and can produce a
Route object directly.Optional: /v1/stations/enrich-distances
Skip if your station data already includes
miles_from_route_start and detour_minutes.