{"uid":"cap_DvfxxiZJsWquD2vRWyfea","slug":"quantaflow-weather-api-x402-2ec361ca","name":"QuantaFlow Weather API (x402)","description":"Every request, a quantum of value. x402 protocol-based payment endpoint for web3/DeFi tools.","url":"https://quanta-roan.vercel.app/api/service/weatherapi?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"body":{"type":"string","description":"Optional JSON body forwarded to POST requests."},"path":{"type":"string","description":"Path below the selected upstream origin."},"query":{"type":"object"},"method":{"enum":["GET","POST"],"type":"string"}}},"responseSchema":{"description":"The upstream response body and content type are passed through after successful payment."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FiWMqgwVuRHTwQO7zHGze","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Proxies requests to an upstream weather API service via x402 micropayment protocol, returning weather data for a given path/query.","exampleAgentPrompt":"What's the current weather in London? Use the QuantaFlow weather API — path '/current.json', query location 'London'.","exampleUseCases":[{"title":"Real-time city weather lookup","prompt":"Can you get me the current weather conditions for Tokyo? Use the weather API with the path '/current.json' and location set to 'Tokyo'."},{"title":"Multi-day forecast for travel","prompt":"I need a 5-day weather forecast for New York City — fetch it with path '/forecast.json', location 'New York', and days set to 5."},{"title":"Astronomy data for a date","prompt":"Can you look up sunrise and sunset times for Paris on July 14th? Use path '/astronomy.json' with location 'Paris' and date '2025-07-14'."}],"resultDescription":"The raw upstream WeatherAPI response body is passed through after successful x402 micropayment, including current conditions, forecasts, temperature, humidity, wind, and other weather metrics depending on the path queried. Content-type is also forwarded as-is from the upstream provider.","failureModes":["Payment failure: insufficient USDC balance or x402 payment not accepted — returns 402 Payment Required","Invalid path: upstream WeatherAPI path does not exist — returns upstream 400 or 404 error","Invalid location query: unrecognized location string — upstream returns error JSON","Network failure: upstream WeatherAPI unreachable — gateway may return 502 or 504","Missing required query parameters: location not provided — upstream returns validation error"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call weather data without a monthly API subscription, particularly in web3/crypto-native agent pipelines that natively support x402 micropayments. Prefer this over direct WeatherAPI access when operating in a decentralized or permissionless agent environment where USDC micropayments are easier to manage than API key provisioning.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T12:42:15.831Z","isFirstParty":false,"canonicalSlug":"quantaflow-weather-api-x402-2ec361ca"}