{"uid":"cap_fGjFZ7pqTT6yBz32pEq7t","slug":"allthebot-weather-forecast-9e7e5d06","name":"AllTheBot Weather Forecast","description":"Pay-per-call APIs for AI agents over x402: token safety reports, Base and Ethereum on-chain reads, crypto prices, domain checks (DNS, WHOIS, SSL, email), finance data (FX, SEC), worldwide weather forecasts, France alerts, text AI, fun content. USDC on Base, no account, no API key.","url":"https://api.zkrobotics.fr/x402/weather/forecast?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["lat","lon"],"properties":{"lat":{"type":"number","maximum":90,"minimum":-90},"lon":{"type":"number","maximum":180,"minimum":-180},"days":{"type":"integer","maximum":7,"minimum":1}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"lat":48.85,"lon":2.35,"now":{"time":"2026-10-10T10:00:00Z","symbol":"fair","temp_c":15.4,"wind_ms":4.2,"cloud_pct":35.9,"precip_mm":0,"humidity_pct":68.3,"pressure_hpa":1016.5,"wind_dir_deg":271.6},"units":{"temp":"celsius","wind":"m/s","precip":"mm","pressure":"hPa"},"source":"MET Norway, Locationforecast 2.0 (api.met.no), CC BY 4.0","next_24h":[{"time":"2026-10-10T10:00:00Z","symbol":"fair","temp_c":15.4,"wind_ms":4.2,"cloud_pct":35.9,"precip_mm":0,"humidity_pct":68.3,"pressure_hpa":1016.5,"wind_dir_deg":271.6}],"daily_utc":[{"date":"2026-10-10","symbol":"partlycloudy","precip_mm":0.2,"temp_max_c":17.2,"temp_min_c":11.8,"wind_max_ms":5.4}],"model_updated":"2026-10-10T09:17:18Z"}},"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":"unknown","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_deOa14Jt6ljTW0TXnWdaJ","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":"Returns current conditions and up to 7-day weather forecasts for any latitude/longitude coordinate worldwide, powered by MET Norway Locationforecast 2.0","exampleAgentPrompt":"What's the weather forecast for the next 3 days at latitude 48.85, longitude 2.35 — give me daily highs, lows, precipitation, and wind speed?","exampleUseCases":[{"title":"Outdoor event planning weather check","prompt":"I'm planning an outdoor event in Lyon this Saturday — can you pull the weather forecast for latitude 45.75, longitude 4.85 for the next 2 days, including expected rain and wind?"},{"title":"Real-time conditions for drone flight","prompt":"Before I launch my drone, can you check the current wind speed, cloud cover, and pressure at latitude 43.30, longitude 5.38 right now?"},{"title":"Weekly travel packing forecast","prompt":"I'm heading to London next week — can you get me the 7-day forecast for latitude 51.51, longitude -0.13, showing daily highs, lows, and any rain expected?"}],"resultDescription":"Returns a JSON object with current conditions (temperature in °C, wind in m/s, cloud cover %, precipitation in mm, humidity %, pressure in hPa, wind direction, weather symbol), an hourly array for the next 24 hours, a daily summary array with max/min temps and max wind for up to 7 days, coordinate echo, units metadata, data source attribution, and model update timestamp.","failureModes":["Missing required lat/lon parameters returns a 400 error","Latitude out of range (-90 to 90) or longitude out of range (-180 to 180) returns validation error","days parameter outside 1-7 range returns validation error","Payment not provided or insufficient USDC balance returns 402 Payment Required","MET Norway upstream outage may cause delayed or stale data","Extremely remote or polar coordinates may have reduced forecast accuracy"],"whenToPreferThis":"Choose this endpoint when you need worldwide weather forecasts (current + up to 7-day daily + 24h hourly) for arbitrary GPS coordinates without requiring an account or API key, paying only $0.002 USDC per call via x402. Ideal for AI agents that need on-demand weather data as part of a larger workflow, especially when avoiding subscription-based weather APIs. Best when you already have coordinates (lat/lon) rather than a place name.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:30:08.661Z","isFirstParty":false,"canonicalSlug":"allthebot-weather-forecast-9e7e5d06"}