{"uid":"cap_Kj6ybdqqoiwOlkkYSXcEI","slug":"apiosk-gateway-weatherapi-com-execute-6027d9ad","name":"Apiosk Gateway – WeatherAPI.com 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/weatherapi/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.155","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.155/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.155","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.155","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1RKQB-reuliCLX9hfPmXY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.155","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a pay-per-call WeatherAPI.com operation via the x402 HTTP 402 / USDC-on-Base payment protocol, forwarding the request and returning the upstream response.","exampleAgentPrompt":"What's the current weather in London right now — temperature, humidity, and wind speed? Use the WeatherAPI current.json operation with London as the query.","exampleUseCases":[{"title":"Real-time city weather lookup","prompt":"What's the weather like in Tokyo right now? I need the current temperature in Celsius, humidity percentage, and whether it's raining."},{"title":"5-day forecast for trip planning","prompt":"Pull a 5-day weather forecast for San Francisco starting today — I want daily highs, lows, and chance of rain for each day."},{"title":"Air quality check for health monitoring","prompt":"Can you get the current air quality index for Delhi, India? I need the PM2.5 and overall AQI so I can decide whether to go outside."}],"resultDescription":"Returns a JSON object with a status string, the upstream WeatherAPI.com response body (current conditions, forecast, AQI, etc.), the operation echoed back, the latency in milliseconds, the cost of the call in USDC, and the upstream HTTP status code.","failureModes":["Invalid operation selector returns an error from the gateway","Malformed JSON payload causes upstream rejection","Insufficient USDC balance triggers HTTP 402 payment failure","Unknown location query returns a WeatherAPI 'No matching location found' error","Rate limits or quota exhaustion on the underlying WeatherAPI.com key","Network timeout from upstream WeatherAPI.com returns elevated latency or gateway error"],"whenToPreferThis":"Choose this endpoint when you need programmatic, pay-per-call access to WeatherAPI.com data without managing an API key subscription, especially in x402-compatible agent workflows that handle USDC micropayments on Base. Prefer it over direct WeatherAPI.com integration when you want zero-setup billing or are orchestrating multiple API providers through the same gateway.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:29:19.126Z","isFirstParty":false}