{"uid":"cap_voAMkWj6MfCW0Av2GX4ws","slug":"2s-global-weather-forecast-fb89cb30","name":"2s Global Weather Forecast","description":"The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.","url":"https://2s.io/api/weather/forecast-global","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":["lat","lon"],"properties":{"lat":{"type":"number","description":"Latitude (-90..90)."},"lon":{"type":"number","description":"Longitude (-180..180)."},"days":{"type":"integer","description":"Forecast horizon in days (1–16, default 7)."},"units":{"type":"string","description":"metric (°C, km/h, mm — default) or imperial (°F, mph, inch)."},"hourly":{"type":"boolean","description":"Hour-by-hour forecast instead of daily summaries."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0036","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.0036/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8AuwU5J147P88a90UUe-T","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0036","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns daily or hourly weather forecasts for any coordinate on Earth, up to 16 days ahead, in metric or imperial units","exampleAgentPrompt":"What's the 10-day weather forecast for London (51.5074, -0.1278) in imperial units — and can you break it down hour by hour?","exampleUseCases":null,"resultDescription":"A structured weather forecast for the given coordinates containing either daily summaries or hour-by-hour breakdowns over the requested number of days (1–16), including temperature, precipitation, wind speed, and other meteorological variables in the requested unit system (metric or imperial).","failureModes":["Missing required lat/lon parameters → 400 Bad Request","lat out of range (-90..90) or lon out of range (-180..180) → 400 validation error","days parameter outside 1–16 range → validation error or clamped value","Payment not provided or insufficient USDC → 402 Payment Required","Upstream weather data provider outage → 503 or degraded response","Invalid units value (not 'metric' or 'imperial') → 400 error"],"whenToPreferThis":"Choose this endpoint when you need a global weather forecast for any arbitrary lat/lon coordinate with flexible horizon (up to 16 days), optionally at hourly granularity, and you want pay-per-call pricing with no API key setup. Prefer this over historical weather endpoints when you need future forecasts, and over city-name-based APIs when you have precise coordinates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:58:16.371Z","isFirstParty":false}