{"uid":"cap_fz5yRfcU1SAQReojZSpkD","slug":"cointracker-x402-weather-forecast-abf83573","name":"CoinTracker x402 Weather Forecast","description":"Experimental validation of a simple x402-paid API; not a product offering.","url":"https://api.cointracker.com/v1/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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["latitude","longitude"],"properties":{"latitude":{"type":"number","maximum":90,"minimum":-90},"longitude":{"type":"number","maximum":180,"minimum":-180}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["service","experimental","source","fetchedAt","coordinates","location","periods"],"properties":{"source":{"type":"string","const":"National Weather Service"},"periods":{"type":"array","items":{"type":"object","properties":{"icon":{"type":["string","null"],"format":"uri"},"name":{"type":["string","null"]},"endTime":{"type":["string","null"],"format":"date-time"},"isDaytime":{"type":["boolean","null"]},"startTime":{"type":["string","null"],"format":"date-time"},"windSpeed":{"type":["string","null"]},"temperature":{"type":["number","null"]},"shortForecast":{"type":["string","null"]},"windDirection":{"type":["string","null"]},"temperatureUnit":{"type":["string","null"]},"detailedForecast":{"type":["string","null"]},"temperatureTrend":{"type":["string","null"]},"probabilityOfPrecipitationPercent":{"type":["number","null"]}}}},"service":{"type":"string","const":"x402-weather-test"},"updated":{"type":["string","null"],"format":"date-time"},"location":{"type":"object","required":["city","state"],"properties":{"city":{"type":["string","null"]},"state":{"type":["string","null"]}}},"fetchedAt":{"type":"string","format":"date-time"},"coordinates":{"type":"object","required":["latitude","longitude"],"properties":{"latitude":{"type":"number","maximum":90,"minimum":-90},"longitude":{"type":"number","maximum":180,"minimum":-180}}},"experimental":{"type":"boolean"}}}}}}},"responseSchema":{"type":"json","example":{"source":"National Weather Service","periods":[],"service":"x402-weather-test","location":{"city":"San Francisco","state":"CA"},"fetchedAt":"2026-09-08T00:00:00Z","coordinates":{"latitude":37.7749,"longitude":-122.4194},"experimental":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pdct-kdPeVRCO7R6kNNjm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns multi-period weather forecasts from the National Weather Service for a given latitude/longitude coordinate pair, accessed via x402 micropayment.","exampleAgentPrompt":"What's the weather forecast for San Francisco right now? The coordinates are 37.7749 latitude and -122.4194 longitude.","exampleUseCases":[{"title":"Outdoor event planning weather check","prompt":"I'm planning an outdoor event in Denver this weekend — can you pull the weather forecast for 39.7392 latitude, -104.9903 longitude so I know what conditions to expect?"},{"title":"Field operations weather briefing","prompt":"Before our crew heads out to the site, can you grab the current NWS forecast for coordinates 40.7128 latitude and -74.0060 longitude and tell me the temperature, wind, and rain chances for each period?"},{"title":"Travel destination weather lookup","prompt":"I'm flying into Miami tomorrow — what's the forecast looking like? Coordinates are 25.7617 latitude, -80.1918 longitude."}],"resultDescription":"A JSON object containing multi-period weather forecast data sourced from the National Weather Service, including: city and state name for the coordinates, an array of forecast periods each with start/end time, temperature (with unit), wind speed and direction, short and detailed forecast text, precipitation probability, daytime flag, and an icon URL. Also includes the echoed coordinates, fetch timestamp, and experimental/service metadata flags.","failureModes":["Invalid or out-of-range latitude/longitude returns an error — coordinates must be within US coverage area of the National Weather Service","NWS API upstream outage may cause the endpoint to return no periods or empty data","Coordinates in ocean or outside NWS grid coverage will fail to resolve to a forecast location","Payment failure via x402 will result in a 402 response before the forecast is returned","Missing required query parameters (latitude or longitude) will result in a validation error"],"whenToPreferThis":"Choose this endpoint when you need structured, multi-period weather forecast data from the authoritative US government source (National Weather Service/NOAA) and are querying by precise geographic coordinates. It is well-suited for US-centric location forecasting where lat/lon is already known. Prefer over commercial weather APIs when NWS sourcing is preferred or when micropayment-per-call pricing via x402 is acceptable. Note this is labeled experimental and is best used for prototyping or testing x402-paid weather lookups rather than production-grade applications.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:33:58.461Z","isFirstParty":false}