{"uid":"cap_BUGCeVCDhwM8akgT3hq1d","slug":"x402-utilities-hub-weather-endpoint-8fc644d9","name":"x402 Utilities Hub – Weather Endpoint","description":"Pay-per-call utilities for AI agents and developers. Paid in USDC on Base via x402 v2.","url":"https://x402-utils-hub.dimkaplay666.workers.dev/v1/weather?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"properties":{"input":{"type":"object","required":["queryParams"],"properties":{"queryParams":{"type":"object"}}},"output":{"type":"object","properties":{"example":{"type":"object"}}}}},"responseSchema":{"type":"object","properties":{"example":{"type":"object"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bAbGBtIARmhgK5qCHlh4n","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current weather data for a given location, paid per-call in USDC on Base via x402 v2","exampleAgentPrompt":"What's the current weather in San Francisco right now — temperature and conditions?","exampleUseCases":[{"title":"Real-time city weather check","prompt":"Can you tell me the current weather conditions and temperature in Chicago right now?"},{"title":"Travel planning weather lookup","prompt":"What's the weather like in Tokyo today? I want to know if I should pack an umbrella."},{"title":"Agent workflow weather enrichment","prompt":"Pull the current weather for Miami, FL — I need it to decide whether to schedule an outdoor event this afternoon."}],"resultDescription":"Returns a JSON object containing current weather information for the queried location, including details such as temperature, conditions, and potentially humidity or wind — exact fields depend on the underlying data source.","failureModes":["Missing or invalid location query parameter returns an error response","Insufficient USDC balance or failed x402 payment results in 402 Payment Required","Invalid or malformed queryParams object causes a 400 Bad Request","External weather data provider outage leads to 503 or timeout","Rate limits or quota exhaustion on the underlying weather data source"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, micro-payment-based weather lookup that fits natively into an x402-enabled agent workflow using USDC on Base — especially when you want no subscription overhead and are building on Web3-compatible infrastructure. Avoid for high-volume batch weather queries where a flat-rate subscription API would be cheaper.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:35:32.785Z","isFirstParty":false,"canonicalSlug":"x402-utilities-hub-weather-endpoint-8fc644d9"}