{"uid":"cap_uKeks6RC421SivdI33dwD","slug":"noaa-weather-forecast-by-coordinates-9fcf7647","name":"NOAA Weather Forecast by Coordinates","description":"Get a current U.S. weather forecast from NOAA and the National Weather Service by latitude and longitude. Use this weather API when an agent needs forecast temperature, conditions, wind, day/night periods, or detailed local forecast text for U.S. coordinates.","url":"https://x402-trends-server.onrender.com/api/weather","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","required":["lat","lon"],"properties":{"lat":{"type":"number","maximum":90,"minimum":-90,"description":"Latitude for the U.S. forecast location."},"lon":{"type":"number","maximum":180,"minimum":-180,"description":"Longitude for the U.S. forecast location."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["status","source","coordinates","location","periods","retrievedAt"],"properties":{"source":{"type":"string"},"status":{"type":"string"},"payment":{"type":"string"},"periods":{"type":"array","items":{"type":"object","required":[],"properties":{"name":{"type":["string","null"]},"endTime":{"type":["string","null"]},"isDaytime":{"type":["boolean","null"]},"startTime":{"type":["string","null"]},"windSpeed":{"type":["string","null"]},"temperature":{"type":["number","null"]},"shortForecast":{"type":["string","null"]},"windDirection":{"type":["string","null"]},"temperatureUnit":{"type":["string","null"]},"detailedForecast":{"type":["string","null"]}},"additionalProperties":false}},"location":{"type":"object","required":["city","state"],"properties":{"city":{"type":["string","null"]},"state":{"type":["string","null"]}},"additionalProperties":false},"coordinates":{"type":"object","required":["lat","lon"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"}},"additionalProperties":false},"retrievedAt":{"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_E_DoksMnaXSvjDd24Ha7p","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current U.S. weather forecast data from NOAA/National Weather Service for a given latitude and longitude, including temperature, conditions, wind, and day/night forecast periods.","exampleAgentPrompt":"What's the current weather forecast for latitude 40.7128, longitude -74.0060? I need the temperature, conditions, and wind info for the next day or two.","exampleUseCases":[{"title":"Outdoor event weather check","prompt":"Can you pull the NOAA forecast for coordinates 37.7749, -122.4194 so I can see the temperature, wind, and conditions for the next couple of days before we finalize our outdoor event plans?"},{"title":"Travel packing weather lookup","prompt":"I'm heading to lat 41.8781, lon -87.6298 this weekend — can you grab the National Weather Service forecast so I know what temperatures and conditions to expect?"},{"title":"Field operations daily briefing","prompt":"Fetch the current forecast from NOAA for latitude 29.7604, longitude -95.3698 and give me the day and night periods with wind speed and detailed conditions for the next 24 hours."}],"resultDescription":"Returns a JSON object with the queried coordinates, resolved city and state, a list of forecast periods (each including name, start/end time, isDaytime flag, temperature with unit, wind speed, wind direction, short forecast, and detailed forecast text), the data source (NOAA/NWS), and a retrievedAt timestamp.","failureModes":["Coordinates outside the United States (NOAA only covers U.S. territories) — returns an error or no forecast data","Invalid latitude/longitude values outside the -90 to 90 / -180 to 180 ranges — validation error","NOAA API upstream outage or rate limit — service may return an error or empty response","Ocean or remote coordinates with no NWS office coverage — forecast may be unavailable","Missing required lat or lon query parameters — returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need official U.S. government NOAA/National Weather Service forecast data for a specific latitude/longitude point, including structured day/night periods, wind details, and both short and detailed forecast text. Prefer this over general weather APIs when accuracy, official sourcing, or detailed NWS forecast narratives are important. Note: only works for U.S. coordinates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:31:30.447Z","isFirstParty":false}