{"uid":"cap_dRpVIzb6xSMzfueNGynSp","slug":"delx-commerce-weather-forecast-api-b09aacd7","name":"Delx Commerce Weather Forecast API","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/weather-forecast?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"periods":{"type":"integer","default":5,"maximum":10,"minimum":1},"timeout":{"type":"integer","default":8,"maximum":8,"minimum":2},"latitude":{"type":"number","maximum":90,"minimum":-90},"longitude":{"type":"number","maximum":180,"minimum":-180}}},"responseSchema":{"type":"json","example":{"result":{"cache":"miss","schema":"delx/weather-forecast/v1","periods":[{"name":"Today","number":1,"endTime":"2026-08-01T18:00:00-04:00","isDaytime":true,"startTime":"2026-08-01T12:00:00-04:00","temperature":87,"shortForecast":"Mostly Sunny","temperatureUnit":"F"},{"name":"Tonight","number":2,"endTime":"2026-08-02T06:00:00-04:00","isDaytime":false,"startTime":"2026-08-01T18:00:00-04:00","temperature":70,"shortForecast":"Mostly Clear","temperatureUnit":"F"}],"coverage":"US","provider":"National Weather Service (NOAA)","attribution":"Forecast data supplied by the National Weather Service; see provider_url for source and coverage.","coordinates":{"latitude":38.9072,"longitude":-77.0369},"forecast_url":"https://api.weather.gov/gridpoints/LWX/96,70/forecast","provider_url":"https://www.weather.gov/","periods_returned":2,"periods_requested":2},"tool_name":"get_weather_forecast_nws"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R8oVUJpQf6i2oU1DM6xNn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 US weather forecast for a given latitude/longitude coordinate using NOAA National Weather Service data, billed per call via USDC on Base or Solana.","exampleAgentPrompt":"What's the weather forecast for Washington DC — give me the next 5 periods using coordinates 38.9072, -77.0369.","exampleUseCases":[{"title":"Outdoor event planning assistant","prompt":"I'm planning an outdoor event in New York City this weekend. Can you pull the next 7 forecast periods for coordinates 40.7128, -74.0060 so I can decide on timing?"},{"title":"Travel itinerary weather check","prompt":"Before I head to Miami tomorrow, can you grab the next 3 weather forecast periods for 25.7617, -80.1918 so I know what to expect?"},{"title":"Agricultural field monitoring bot","prompt":"Fetch the next 10 forecast periods for my farm at latitude 41.5, longitude -93.6 — I need to plan irrigation for the week."}],"resultDescription":"Returns a JSON object containing an array of forecast periods (up to 10), each with period name, number, start/end times, daytime flag, temperature in Fahrenheit, and a short forecast description. Also includes metadata: cache hit/miss status, coverage area (US only), provider attribution (NOAA/NWS), echoed coordinates, and a URL to the raw NWS grid forecast.","failureModes":["Coordinates outside US coverage (NOAA only covers the continental US, Alaska, Hawaii, and territories) return an error","Timeout exceeded if NWS API is slow — timeout parameter caps at 8 seconds","Invalid latitude (outside -90 to 90) or longitude (outside -180 to 180) rejected with validation error","Periods parameter outside 1–10 range rejected","Payment failure via x402 if USDC balance is insufficient or wallet is not configured","NWS upstream outage causes failed or delayed response"],"whenToPreferThis":"Choose this endpoint when you need a no-signup, pay-per-call US weather forecast backed directly by NOAA/NWS data, especially in agentic or automated workflows where API key management is undesirable and verifiable USDC micropayments via x402 are acceptable. It is ideal for US-only coverage use cases where official government forecast data is preferred over commercial weather providers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:04.440Z","isFirstParty":false,"canonicalSlug":"delx-commerce-weather-forecast-api-b09aacd7"}