{"uid":"cap_hF0iNzivX6Xx2Slg2V7PE","slug":"apiosk-gateway-attestations-execute-f6ea6e3f","name":"Apiosk Gateway - Attestations 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/attestations/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.023","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__lhHTHMxFTfGmZisHdetZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a pay-per-call API operation through the Apiosk x402 gateway, routing the request to the selected upstream provider and returning the response with metadata.","exampleAgentPrompt":"Run the 'GET /current' operation on the open-meteo API through Apiosk's gateway, passing in this JSON payload: {\"latitude\":48.85,\"longitude\":2.35} — and tell me the result along with what it cost.","exampleUseCases":[{"title":"Real-time weather data via gateway","prompt":"Use the Apiosk gateway to call the open-meteo API's current weather operation with latitude 40.71 and longitude -74.01, and show me the temperature and wind speed from the response."},{"title":"Aviation flight status lookup","prompt":"Through the Apiosk gateway, run the aviationstack flight status operation with this payload: {\"flight_iata\":\"AA100\"} and give me the result plus the latency."},{"title":"Financial identifier enrichment","prompt":"Call the financial-identifiers API operation on Apiosk's gateway with this input: {\"isin\":\"US0378331005\"} and return whatever data comes back along with the cost."}],"resultDescription":"Returns a JSON object containing: the upstream API response body under 'result', a 'status' string, the 'latency' in milliseconds, 'cost' as a string (e.g. USDC amount), the 'operation' that was called, the 'api' slug, and 'upstream_status' as an integer HTTP code.","failureModes":["Invalid or unrecognized operation selector returns an error status","Malformed JSON in the input field causes upstream rejection","Insufficient USDC balance or x402 payment failure blocks the call","Upstream provider is unavailable, returning a non-200 upstream_status","Missing required fields (operation or input) results in a gateway-level error","Rate limiting by the upstream API propagated back through the gateway"],"whenToPreferThis":"Choose this endpoint when you need to call one of Apiosk's proxied upstream APIs (e.g. Open-Meteo, Mapbox, Aviationstack, Twelve Data, OpenWeather, financial-identifiers) via a single unified pay-per-call interface using USDC on Base, rather than integrating each provider's API key and billing separately. Ideal for agents that need metered, blockchain-settled API access without managing multiple provider accounts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:49:12.199Z","isFirstParty":false}