{"uid":"cap_xy6D49w6bQ2umTTgj5ZPN","slug":"polyform-weather-forecast-api-4ec88ef8","name":"Polyform Weather Forecast API","description":"Pay-per-call data endpoints for AI agents. USDC on Base via x402. No account, no API key — one micropayment per call.","url":"https://api.polyform.org/v1/weather/forecast","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"periods":[{"name":"Tonight","temperature":71,"shortForecast":"Partly Cloudy"}],"location":"Nashville, TN"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YeB_PycypEwTWwwrPtgAS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a multi-period weather forecast (temperature, conditions, precipitation) for a given US location, paid per-call via USDC micropayment.","exampleAgentPrompt":"What's the weather forecast for Nashville, TN right now? Just give me the upcoming periods with temperatures and conditions.","exampleUseCases":[{"title":"Trip packing decision for travelers","prompt":"What's the weather forecast for Denver, CO this week? I want to know the temperature and conditions for each period so I can decide what to pack."},{"title":"Outdoor event planning check","prompt":"Can you pull the weather forecast for Austin, TX for this weekend? I need to know if it'll be clear or rainy for an outdoor event I'm organizing."},{"title":"Agent-driven daily briefing","prompt":"Every morning, fetch the weather forecast for Nashville, TN and include tonight's temperature and conditions in my daily briefing."}],"resultDescription":"A JSON object containing a 'location' string (e.g. 'Nashville, TN') and a 'periods' array, each period having a 'name' (e.g. 'Tonight'), 'temperature' (integer, Fahrenheit), and 'shortForecast' (e.g. 'Partly Cloudy'). Covers upcoming forecast periods such as Tonight, Tomorrow, Tomorrow Night, etc.","failureModes":["Location not found or outside US coverage area — may return an error or empty periods array","Missing or malformed query parameters — returns 400-level error","Payment not received or insufficient USDC — returns HTTP 402 Payment Required","NWS upstream outage — returns 503 or timeout","Rate or network issues on Base chain causing payment failure"],"whenToPreferThis":"Choose this endpoint when you need a US weather forecast with no account setup or API key, just a USDC micropayment on Base. Ideal for AI agents that need on-demand, pay-per-use weather data without committing to a subscription. Prefer this over free NWS APIs when you need a clean, agent-friendly JSON response with minimal friction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:32:05.129Z","isFirstParty":false}