{"uid":"cap_Af0k8UZzLbJckK8cvfN8k","slug":"nojunk-geo-weather-1ee1266f","name":"NoJunk Geo – Weather","description":"NoJunk Geo weather: Coordinates or place name -> current conditions and 7-day daily forecast in metric and imperial units (Open-Meteo).","url":"https://nojunk-geo.mick8511.workers.dev/weather?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":[],"properties":{"q":{"type":"string","maxLength":200,"minLength":1,"description":"Alternatively a place name or address; it is geocoded first (1 result) and the resolved place is returned"},"lat":{"type":"string","description":"Latitude in decimal degrees (use with lon)"},"lon":{"type":"string","description":"Longitude in decimal degrees (use with lat)"},"country":{"type":"string","description":"Optional 2-letter ISO country code to restrict the place lookup when using q"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"lat":26.1669711,"lon":-80.2567739,"daily":[{"date":"2026-10-15","low_c":25.3,"low_f":77.5,"high_c":30.1,"high_f":86.2,"sunset":"2026-10-15T18:52","sunrise":"2026-10-15T07:17","condition":"Rain showers","weather_code":80,"precipitation_mm":4.2,"precipitation_probability_pct":65},{"date":"2026-10-16","low_c":25.3,"low_f":77.5,"high_c":30.1,"high_f":86.2,"sunset":"2026-10-15T18:52","sunrise":"2026-10-15T07:17","condition":"Rain showers","weather_code":80,"precipitation_mm":4.2,"precipitation_probability_pct":65},{"date":"2026-10-17","low_c":25.3,"low_f":77.5,"high_c":30.1,"high_f":86.2,"sunset":"2026-10-15T18:52","sunrise":"2026-10-15T07:17","condition":"Rain showers","weather_code":80,"precipitation_mm":4.2,"precipitation_probability_pct":65},{"date":"2026-10-18","low_c":25.3,"low_f":77.5,"high_c":30.1,"high_f":86.2,"sunset":"2026-10-15T18:52","sunrise":"2026-10-15T07:17","condition":"Rain showers","weather_code":80,"precipitation_mm":4.2,"precipitation_probability_pct":65},{"date":"2026-10-19","low_c":25.3,"low_f":77.5,"high_c":30.1,"high_f":86.2,"sunset":"2026-10-15T18:52","sunrise":"2026-10-15T07:17","condition":"Rain showers","weather_code":80,"precipitation_mm":4.2,"precipitation_probability_pct":65},{"date":"2026-10-20","low_c":25.3,"low_f":77.5,"high_c":30.1,"high_f":86.2,"sunset":"2026-10-15T18:52","sunrise":"2026-10-15T07:17","condition":"Rain showers","weather_code":80,"precipitation_mm":4.2,"precipitation_probability_pct":65},{"date":"2026-10-21","low_c":25.3,"low_f":77.5,"high_c":30.1,"high_f":86.2,"sunset":"2026-10-15T18:52","sunrise":"2026-10-15T07:17","condition":"Rain showers","weather_code":80,"precipitation_mm":4.2,"precipitation_probability_pct":65}],"place":{"lat":26.1669711,"lon":-80.2567739,"type":"city","address":{"city":"Sunrise","road":null,"state":"Florida","county":"Broward County","country":"United States","postcode":null,"country_code":"us","house_number":null},"category":"boundary","importance":0.5327,"bounding_box":[26.1193,26.1897,-80.3618,-80.2178],"display_name":"Sunrise, Broward County, Florida, United States"},"query":"Sunrise, Florida","source":"Open-Meteo","current":{"wind_kph":14.8,"wind_mph":9.2,"condition":"Partly cloudy","feels_like_c":31.2,"feels_like_f":88.2,"humidity_pct":78,"weather_code":2,"temperature_c":27.4,"temperature_f":81.3,"precipitation_mm":0,"wind_direction_deg":95},"timezone":"America/New_York","fetched_at":"2026-10-15T12:00:00.000Z","local_time":"2026-10-15T08:00","attribution":"Weather data by Open-Meteo.com (CC BY 4.0); place lookup: Data © OpenStreetMap contributors, ODbL","utc_offset_seconds":-14400,"timezone_abbreviation":"GMT-4"}},"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_lgevqIhQkz-Dm7LOn4qZV","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 weather conditions and a 7-day forecast for a given location (by coordinates or place name), paid per call via x402","exampleAgentPrompt":"What's the 7-day weather forecast for Sunrise, Florida? Give me daily highs, lows, precipitation chances, and sunrise/sunset times.","exampleUseCases":[{"title":"Trip packing weather check","prompt":"What will the weather be like in Barcelona, Spain next week? I want to know the daily high and low temperatures, whether it will rain, and what time the sun sets each day."},{"title":"Outdoor event planning forecast","prompt":"I'm planning an outdoor event near coordinates 51.5074° N, 0.1278° W — can you pull the 7-day weather forecast including precipitation probability and conditions so I can pick the best day?"},{"title":"Agricultural field conditions","prompt":"What's the week-ahead weather forecast for Fresno, California? I need daily highs, lows, precipitation in millimeters, and weather conditions to help plan irrigation schedules."}],"resultDescription":"A JSON object containing the resolved place (with lat/lon and structured address), plus an array of 7 daily forecast entries each including date, high and low temperature in Celsius and Fahrenheit, weather condition label and WMO code, precipitation in mm, precipitation probability percentage, and sunrise/sunset times.","failureModes":["Ambiguous place name returns no geocode result — no charge incurred","Invalid or out-of-range coordinates return an error","Missing both q and lat/lon parameters causes a validation error","Place name not found in OpenStreetMap Nominatim returns empty result","Network timeout from upstream Open-Meteo or Nominatim services"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call weather forecast (current conditions + 7-day outlook) without a subscription, especially when you already have coordinates or a place name and want combined geocoding + weather in one call for $0.002 USDC. Prefer it over free-tier weather APIs when you need reliable micropayment-based access with no API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:35:04.485Z","isFirstParty":false,"canonicalSlug":"nojunk-geo-weather-1ee1266f"}