{"uid":"cap_7m4BVdG6wOSxmmx-fTLna","slug":"apiosk-gateway-mapbox-execute-1d6a1f6e","name":"Apiosk Gateway – Mapbox Execute","description":"Pay-per-call API gateway on the x402 protocol (HTTP 402 + USDC on Base). This document covers the gateway's discovery and execution meta-endpoints. Individual provider APIs are reachable at /{api_slug}/{path} and described by GET /{api_slug}/metadata.","url":"https://gateway.apiosk.com/mapbox/execute","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","description":"JSON payload forwarded to the selected operation."},"operation":{"type":"string","description":"Operation id, /path, or METHOD /path selector."}}},"responseSchema":{"type":"object","required":["status","result"],"properties":{"api":{"type":"string"},"cost":{"type":"string"},"result":{"description":"Upstream response body."},"status":{"type":"string"},"latency":{"type":"number"},"operation":{"type":"string"},"upstream_status":{"type":"integer"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.11","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.11/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.11","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.11","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_I3MrkKKlfFh-qh4OLcTRa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.11","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a Mapbox API operation via the Apiosk pay-per-call gateway, forwarding a JSON payload to the selected Mapbox endpoint and returning the upstream response.","exampleAgentPrompt":"Use Mapbox to geocode '1600 Pennsylvania Avenue NW, Washington DC' and give me the coordinates — send the request through the Apiosk gateway with the geocoding operation.","exampleUseCases":[{"title":"Geocode address to coordinates","prompt":"I need the latitude and longitude for '350 Fifth Avenue, New York, NY 10118' — use the Mapbox geocoding operation through Apiosk to look it up."},{"title":"Get driving directions between cities","prompt":"Get me driving directions from San Francisco, CA to Los Angeles, CA using the Mapbox directions operation via Apiosk, and include the estimated travel time and distance."},{"title":"Reverse geocode a GPS coordinate","prompt":"I have coordinates 48.8584, 2.2945 — use the Mapbox reverse geocoding operation through Apiosk to tell me what address or place that corresponds to."}],"resultDescription":"Returns a JSON object containing a 'status' field, the 'result' field with the raw upstream Mapbox API response body, the 'operation' that was called, 'latency' in milliseconds, 'cost' of the call in USDC, and the 'upstream_status' HTTP code from Mapbox.","failureModes":["Invalid operation selector returns an error indicating the operation could not be matched","Malformed JSON in the input payload causes upstream rejection with a 4xx upstream_status","Insufficient USDC balance or failed x402 payment results in 402 payment required before execution","Mapbox API key or quota issues on the gateway side yield a 5xx upstream_status","Unsupported Mapbox endpoint path returns a routing error from the gateway"],"whenToPreferThis":"Choose this endpoint when you need to call any Mapbox API operation (geocoding, routing, directions, isochrones, static maps, etc.) and want to pay per-call in USDC via the x402 protocol without managing a Mapbox API key directly. It is ideal for agents that need on-demand geospatial lookups with micropayment billing and no subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T14:28:58.900Z","isFirstParty":false}