{"uid":"cap_y9qkuEENd_SFZjYlGXw5H","slug":"gateway-apiosk-com-weatherapi-forecast-a132dd96","name":"gateway.apiosk.com WeatherAPI Forecast","description":"API call to weatherapi","url":"https://gateway.apiosk.com/weatherapi/forecast","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":{"current":{"uv":0.6,"is_day":1,"temp_c":32.3,"temp_f":90.1,"humidity":41,"wind_kph":13,"condition":{"code":1000,"icon":"//cdn.weatherapi.com/weather/64x64/day/113.png","text":"Sunny"},"feelslike_c":33.5,"last_updated":"2026-06-23 19:45"},"forecast":{"forecastday":[{"day":{"uv":7.4,"avgtemp_c":25.4,"condition":{"code":1063,"icon":"//cdn.weatherapi.com/weather/64x64/day/176.png","text":"Patchy rain nearby"},"maxtemp_c":34.1,"mintemp_c":17.4,"avghumidity":60,"maxwind_kph":16.9,"totalsnow_cm":0,"totalprecip_mm":1.04,"daily_chance_of_rain":57,"daily_chance_of_snow":0},"date":"2026-06-23","hour":[{"time":"2026-06-23 00:00","temp_c":18.6,"humidity":72,"wind_kph":10.8,"condition":{"code":1000,"icon":"//cdn.weatherapi.com/weather/64x64/night/113.png","text":"Clear"},"time_epoch":1782169200,"feelslike_c":18.6,"chance_of_rain":7}],"astro":{"sunset":"09:21 PM","moonset":"12:56 AM","sunrise":"04:43 AM","moonrise":"03:11 PM","moon_phase":"Waxing Gibbous","moon_illumination":69},"date_epoch":1782172800}]},"location":{"lat":51.5171,"lon":-0.1062,"name":"London","tz_id":"Europe/London","region":"City of London, Greater London","country":"United Kingdom","localtime":"2026-06-23 19:50","localtime_epoch":1782240635}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.175","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.175/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.175","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.175","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NdY-arPSH-NJnfqEW-mIT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.175","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 multi-day hourly forecast data including temperature, humidity, wind, precipitation, UV index, and astronomical data for a given location","exampleAgentPrompt":"What's the weather like in London right now, and what's the forecast for today — include temperature in Celsius, chance of rain, UV index, and sunrise/sunset times?","exampleUseCases":[{"title":"Outdoor event weather planning","prompt":"I'm organizing a outdoor wedding in Austin, Texas next Saturday. Can you check the hourly weather forecast for that day — I need to know the temperature, chance of rain each hour, wind speed, and whether we should expect any afternoon storms?"},{"title":"UV index and sun safety check","prompt":"My family is heading to Miami Beach tomorrow for a full day outdoors. What's the UV index going to be throughout the day, and when are sunrise and sunset? I want to know when UV exposure will be highest so we can plan shade breaks."},{"title":"Travel packing weather lookup","prompt":"I'm flying to Tokyo in three days and have no idea what to pack. Can you pull the weather forecast for the next few days there — temperatures in both Celsius and Fahrenheit, humidity, rain chances, and any significant wind? I want to know if I need an umbrella or a heavy jacket."}],"resultDescription":"Returns a JSON object with current conditions (temperature in C and F, feels-like, humidity, wind speed, UV index, weather condition with icon, last updated time) plus a daily forecast with hourly breakdowns (temp, humidity, wind, rain chance per hour) and astronomical data (sunrise, sunset, moonrise, moonset, moon phase, illumination) for each forecast day, all tagged with location metadata (city, region, country, lat/lon, timezone).","failureModes":["Invalid or unrecognized location name returns an error or empty result","Missing required query parameters causes a 400-level error","Exceeded rate limit or payment failure returns a 402 Payment Required","Network timeout if WeatherAPI upstream is slow","Historical dates beyond the supported range may return no data"],"whenToPreferThis":"Use this endpoint when you need structured current weather and multi-day forecast data including hourly breakdowns, UV index, precipitation probability, and astronomical data (sunrise/sunset/moon phase) for a named city or coordinates. Prefer this over raw weather lookups when you need the full WeatherAPI response schema with condition codes, icons, and astro data in a single pay-per-call model without a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T10:25:33.042Z","isFirstParty":false}