{"uid":"cap_Dn_Qen2xeSNu5E-KM7mpP","slug":"api-the402-ai-da2900b3","name":"the402.ai Purchase: Weather","description":"Purchase: Weather","url":"https://api.the402.ai/v1/services/svc_f143b2f914254760/purchase","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"object","properties":{"job_id":{"type":"string"},"status":{"type":"string"},"thread_id":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D5VvLAuWznD0hn8h0NblC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases a weather data lookup service via x402 micropayment on the the402.ai agent marketplace","exampleAgentPrompt":"What's the current weather in Miami, Florida right now? Use the402 weather service and pay the micropayment fee to get the latest conditions.","exampleUseCases":null,"resultDescription":"Returns current weather data for the requested location, including temperature, conditions, and potentially forecast information, after completing a $0.002 USDC x402 micropayment transaction.","failureModes":["Insufficient USDC balance or failed micropayment — payment authorization rejected","Invalid or unrecognized location input — service returns error or empty result","Service temporarily unavailable on the402.ai marketplace — 503 or timeout","Payment protocol (x402) not supported by the calling agent — request fails at payment negotiation step","Rate limiting or quota exceeded on the underlying weather data provider"],"whenToPreferThis":"Use this endpoint when your AI agent needs on-demand weather data and operates within an x402 micropayment-capable environment. Ideal for agent workflows where you want pay-per-call pricing ($0.002 USDC) rather than a subscription, and where the agent is already integrated with the the402.ai marketplace for other services.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T08:28:43.194Z","isFirstParty":false}