{"uid":"cap_Y2s5SlCinTkDOPf_mHyKi","slug":"netintel-weather-forecast-api-34fa2447","name":"NetIntel Weather Forecast API","description":"Network intelligence API — 138 endpoints, all pay-per-call via x402 micropayments (USDC on Base or Solana mainnet).\n\nNetIntel is agent fair-trade aligned: transparent per-call pricing in USDC on Base or Solana via x402, no API keys or signup, and automatic no-charge on server errors, upstream failures, and input-validation rejections — failed calls are never billed across NetIntel's network, domain, and data-intelligence endpoints.","url":"https://netintel-production-440c.up.railway.app/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":{"city":{"type":"string","description":"City or place name to geocode, e.g. \"London\" or \"Austin, TX\". Aliases: location, q, place, name. Ignored when coordinates are given"},"days":{"type":"number","description":"Daily forecast length 1-16 (default 7; out-of-range values are clamped with a finding). Alias: forecast_days"},"units":{"type":"string","description":"metric (default: °C, km/h, mm) or imperial (°F, mph, inch). Alias: unit"},"hourly":{"type":"boolean","description":"true to include the next 24 hours hour-by-hour (temperature, precipitation + probability, wind, condition). Default false. Alias: include_hourly; 1/true accepted"},"latitude":{"type":"number","description":"Latitude -90..90 — must be paired with longitude; coordinates skip geocoding and win over city. Alias: lat"},"longitude":{"type":"number","description":"Longitude -180..180 — must be paired with latitude. Aliases: lon, lng"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"days":{"type":"number","description":"daily forecast length actually used (after clamping to 1-16)"},"daily":{"type":"array","description":"one object per day: date, temp_max, temp_min, feels_like_max, feels_like_min, precipitation, precip_probability_pct (nullable far out), uv_index_max, sunrise, sunset, wind_speed_max, wind_gusts_max, wind_direction_deg, weather_code, condition"},"units":{"type":"object","properties":{"wind_speed":{"type":"string"},"temperature":{"type":"string"},"precipitation":{"type":"string"}}},"hourly":{"type":"array","description":"present ONLY when hourly=true — next 24 hours: time, temperature, precipitation, precip_probability_pct, wind_speed, weather_code, condition"},"source":{"type":"string"},"findings":{"type":"array"},"location":{"type":"object","properties":{"name":{"type":["string","null"]},"region":{"type":["string","null"]},"country":{"type":["string","null"]},"latitude":{"type":"number"},"timezone":{"type":["string","null"]},"longitude":{"type":"number"}}},"cache_age_seconds":{"type":"number","description":"0 = fresh; forecasts are cached up to 10 min per location"}}}}}}},"responseSchema":{"type":"json","example":{"days":7,"daily":[{"date":"2026-08-31","sunset":"2026-08-31T19:44","sunrise":"2026-08-31T06:12","temp_max":18.4,"temp_min":11.2,"condition":"Rain","uv_index_max":4.1,"weather_code":61,"precipitation":1.3,"feels_like_max":17.9,"feels_like_min":10.4,"wind_gusts_max":38.5,"wind_speed_max":21,"wind_direction_deg":230,"precip_probability_pct":60},{"date":"2026-09-01","sunset":"2026-09-01T19:42","sunrise":"2026-09-01T06:14","temp_max":19.1,"temp_min":12,"condition":"Partly cloudy","uv_index_max":5.2,"weather_code":2,"precipitation":0,"feels_like_max":18.6,"feels_like_min":11.3,"wind_gusts_max":29.2,"wind_speed_max":15.8,"wind_direction_deg":245,"precip_probability_pct":10}],"units":{"wind_speed":"km/h","temperature":"°C","precipitation":"mm"},"source":"open-meteo","findings":[],"location":{"name":"London","region":"England","country":"United Kingdom","latitude":51.51,"timezone":"Europe/London","longitude":-0.13},"cache_age_seconds":0}},"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_jsnNjHqwxTmtcm03VmR8v","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 daily (and optionally hourly) weather forecast for a city or coordinates, up to 16 days ahead, via pay-per-call x402 micropayment.","exampleAgentPrompt":"What's the weather forecast for London over the next 7 days in metric units, and can you include hourly breakdowns for today?","exampleUseCases":[{"title":"Travel packing decision for upcoming trip","prompt":"Give me a 10-day weather forecast for Tokyo in metric units — I want to know max and min temps, whether it'll rain, and the UV index each day."},{"title":"Outdoor event planning by coordinates","prompt":"I'm planning an outdoor event at latitude 40.71, longitude -74.01 — can you pull a 5-day forecast in imperial units and include hourly conditions for the next 24 hours?"},{"title":"Agricultural irrigation scheduling","prompt":"Fetch a 14-day forecast for Austin, TX in metric units — I specifically need daily precipitation amounts, precipitation probability, and wind speeds to plan irrigation."}],"resultDescription":"A JSON object with location metadata (name, region, country, lat/lon, timezone), the number of forecast days used, unit labels for temperature/wind/precipitation, and a 'daily' array of up to 16 objects each containing: date, temp_max, temp_min, feels_like_max, feels_like_min, precipitation, precip_probability_pct, uv_index_max, sunrise, sunset, wind_speed_max, wind_gusts_max, wind_direction_deg, weather_code, and condition string. When hourly=true, an additional 'hourly' array covers the next 24 hours with time, temperature, precipitation, precipitation probability, wind, and condition. A 'findings' array reports any clamping or parameter adjustments, and cache_age_seconds indicates data freshness.","failureModes":["City name not found or ambiguous — geocoding failure returns an error (not billed)","Missing both city and coordinates — input-validation rejection (not billed)","Days parameter out of range — clamped to 1-16 with a finding in the response","Upstream Open-Meteo outage — server error returned, call not billed","Invalid coordinate range (lat outside -90..90 or lon outside -180..180) — validation rejection (not billed)","Invalid units value — validation rejection (not billed)"],"whenToPreferThis":"Choose this endpoint when you need structured multi-day weather forecast data (up to 16 days) with rich daily detail including UV index, precipitation probability, wind, and sunrise/sunset — especially in an agent pipeline where no API key management is desired and pay-per-call USDC micropayment via x402 is acceptable. Prefer this over free open-meteo direct calls when you want the x402 billing model with guaranteed no-charge on failures. Not suitable for real-time current conditions (use a current-weather endpoint), historical weather, or climate data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:56:01.227Z","isFirstParty":false}