Verified

Mapbox

Geocoding and directions from Mapbox.

Forward geocoding (v6) and directions. GET /geocode?q=... and GET /directions?profile=driving&coordinates=lon,lat;lon,lat.

Base URL
https://gateway.apiosk.com/mapbox
Endpoints
GET /directions $0.12
Computes the optimal route between two or more coordinates for a given travel profile (driving, driving-traffic, walking, or cycling) and returns one or more ranked routes with total distance (meters), duration (seconds), encoded geometry, and turn-by-turn legs. Metered per call via Apiosk (x402, USDC on Base).
GET /geocode $0.12
Forward or reverse geocodes a location and returns a GeoJSON FeatureCollection of ranked place features, each with point coordinates, a formatted address, feature type, and administrative context (place, region, country). Pass a place-name string for forward geocoding or a "longitude,latitude" pair for reverse geocoding. Metered per call via Apiosk (x402, USDC on Base).
GET /health Free
Liveness/health check for the Mapbox integration. Returns the service status, provider name and current server time. Free — no payment required.
GET /static-image $0.07
Renders a static map image centered on a coordinate at a given zoom, in the requested style and pixel dimensions, suitable for embedding or thumbnails. Returns binary image data (PNG for vector styles, JPEG for raster-only styles) rather than JSON. Metered per call via Apiosk (x402, USDC on Base).
GET /tile $0.06
Returns a single raster map tile for the given web-mercator tile coordinates and tileset, ready to composite into a slippy-map viewer. Returns binary image data rather than JSON. Metered per call via Apiosk (x402, USDC on Base).