The Weather Channel - API

API ID 13117

The Weather Channel API (Unofficial) API for Precise Weather Data

744 ms avg response

API Documentation

Endpoints

Request

The "Health check" endpoint is designed to assess the operational status of an application or service, providing a straightforward mechanism to verify its availability and performance. When accessed, this endpoint typically returns a JSON object indicating the current state of the system, which may include parameters such as response time, uptime, and connectivity status to critical external resources like databases and APIs. This endpoint is essential for monitoring and maintenance purposes, enabling developers and DevOps teams to quickly identify potential issues and ensure that the application remains responsive to user requests; it can be particularly useful for automated health monitoring systems, load balancers, and orchestrators in cloud environments.

Endpoint ID: 26585
GET https://docs.zylalabs.com/api/13117/the+weather+channel+-+api/26585/health+check
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
JSON
{"message":"TWC on the SKY","status":200}
Health check — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13117/the+weather+channel+-+api/26585/health+check' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

The "Search for locations by free-text query" endpoint enables users to discover geographical locations by submitting a flexible, free-text search string. This endpoint processes the input query to match it against a diverse database of locations, which may include cities, landmarks, addresses, and points of interest, and returns a structured response containing relevant details such as location names, coordinates, and additional metadata. This functionality is particularly useful for applications in travel planning, delivery services, and real estate, where users require quick access to location information based on partial or informal queries, enhancing user experience and streamlining access to location-based services.

Endpoint ID: 26586
GET https://docs.zylalabs.com/api/13117/the+weather+channel+-+api/26586/search+for+locations+by+free-text+query
INPUT PARAMETERS

Search for locations by free-text query — Endpoint Features

Object Description
query Required Query string for search

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

query
API EXAMPLE RESPONSE
JSON
{"locations":[{"address":"Faisalabad, Punjab, Pakistan","category":null,"city":"Faisalabad","context":"Punjab, Pakistan","country":"Pakistan","country_code":"PK","district":"Punjab","district_code":null,"feature_id":"place.26804","iana_timezone":"Asia/Karachi","iata_code":"LYP","icao_code":"OPFA","id":"PKPB0164:1:PK","latitude":31.419,"locale":{"locale1":"Faisalabad","locale2":"Faisalabad","locale3":null,"locale4":null},"longitude":73.074,"name":"Faisalabad","neighborhood":null,"place_id":"1e118f97a9e216349f4d5de3ddf9cd18dd957f984cca2c7ef7ef80cb4284603c","postal_code":"38","postal_key":"38:PK","pws_id":null,"type":"city"}]}
Search for locations by free-text query — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13117/the+weather+channel+-+api/26586/search+for+locations+by+free-text+query?query=Faisalabad' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

The "Reverse Geocode a Coordinate Pair to a Location" endpoint allows users to obtain human-readable address information from specified geographic coordinates (latitude and longitude). By sending a request with a coordinate pair, this endpoint processes the data to return structured location details, including components such as street address, city, state, postal code, and country. This functionality is especially useful in applications such as mapping services, location-based promotions, delivery management systems, and travel applications, enabling users to convert precise geographic data into meaningful location information for enhanced user experiences and informed decision-making.

Endpoint ID: 26587
GET https://docs.zylalabs.com/api/13117/the+weather+channel+-+api/26587/reverse+geocode+a+coordinate+pair+to+a+location
INPUT PARAMETERS

Reverse geocode a coordinate pair to a location — Endpoint Features

Object Description
lat Required Latitude of Location
long Required Longitude of Location

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

lat
long
API EXAMPLE RESPONSE
JSON
{"address":null,"category":null,"city":null,"context":null,"country":"Tajikistan","country_code":"TJ","district":"Gorno-Badakhshan Autonomous Region","district_code":null,"feature_id":"region.9438","iana_timezone":"Asia/Dushanbe","iata_code":null,"icao_code":null,"id":"TIXX0025:1:TI","latitude":37.491,"locale":{"locale1":null,"locale2":"Gorno-Badakhshan Autonomous Region","locale3":null,"locale4":null},"longitude":71.549,"name":"Gorno-Badakhshan Autonomous Region","neighborhood":null,"place_id":"a0a17fe64827f01efb938264d12e6ceef35d61f5c2fa4d3f7c9c5836367f790c","postal_code":"7360","postal_key":"7360:TJ","pws_id":"IBADAK2","type":"state"}
Reverse geocode a coordinate pair to a location — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13117/the+weather+channel+-+api/26587/reverse+geocode+a+coordinate+pair+to+a+location?lat=37.38&long=71.73' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

The "Get nearby locations for a given product filter" endpoint enables users to retrieve a list of nearby locations that offer specific products based on defined search criteria. This endpoint processes incoming requests containing parameters such as product type, desired radius, and geographical coordinates (latitude and longitude) to return a curated list of nearby locations, including details such as store names, addresses, contact information, and available product inventory. Potential use cases for this endpoint include enhancing e-commerce platforms to assist users in locating physical stores that sell desired items, improving delivery service applications by identifying nearby retail partners, and aiding mobile apps in suggesting convenient shopping options to users based on their current locations.

Available product_filter are
- airport
- pws
- ski
- observation

Endpoint ID: 26588
GET https://docs.zylalabs.com/api/13117/the+weather+channel+-+api/26588/get+nearby+locations+for+a+given+product+filter
INPUT PARAMETERS

Get nearby locations for a given product filter — Endpoint Features

Object Description
lat Required Latitude of Location
long Required Longitude of Location
product_filter Required

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

lat
long
API EXAMPLE RESPONSE
JSON
{"airport":{"locations":[{"airport_name":"Sheghnan Airport","distance_km":28.6,"distance_miles":17.77,"iata_code":"SGA","icao_code":"OASN","latitude":37.497642,"longitude":71.508484},{"airport_name":"Khorog Airport","distance_km":28.69,"distance_miles":17.83,"iata_code":null,"icao_code":"UTOD","latitude":37.502225,"longitude":71.513336},{"airport_name":"Fayzabad Airport","distance_km":109.15,"distance_miles":67.83,"iata_code":"FBD","icao_code":"OAFZ","latitude":37.122148,"longitude":70.5201},{"airport_name":"Darwaz Airport","distance_km":148.13,"distance_miles":92.05,"iata_code":"DAZ","icao_code":"OADZ","latitude":38.461708,"longitude":70.881608},{"airport_name":"Khwahan Airport","distance_km":149.12,"distance_miles":92.66,"iata_code":"KWH","icao_code":"OAHN","latitude":37.890021,"longitude":70.20383},{"airport_name":"Chitral Airport","distance_km":158.44,"distance_miles":98.46,"iata_code":"CJL","icao_code":"OPCH","latitude":35.886213,"longitude":71.799922},{"airport_name":"Kulob Airport","distance_km":185.49,"distance_miles":115.26,"iata_code":"TJU","icao_code":"UTDK","latitude":37.98809814,"longitude":69.80500031},{"airport_name":"Taleqan Airport","distance_km":204.09,"distance_miles":126.82,"iata_code":"TQN","icao_code":"OATQ","latitude":36.770699,"longitude":69.531998},{"airport_name":"Qurghonteppa Intl Airport","distance_km":259.93,"distance_miles":161.52,"iata_code":"KQT","icao_code":"UTDT","latitude":37.86640167,"longitude":68.86470032},{"airport_name":"Kunduz Airport","distance_km":260.45,"distance_miles":161.84,"iata_code":"UND","icao_code":"OAUZ","latitude":36.6651,"longitude":68.910797}]}}
Get nearby locations for a given product filter — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13117/the+weather+channel+-+api/26588/get+nearby+locations+for+a+given+product+filter?lat=37.31&long=71.73&product_filter=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

The "Get the geographic boundary polygon for a given product filter" endpoint is designed to retrieve a geographical polygon that delineates the spatial boundaries corresponding to specific product criteria selected by the user. This endpoint processes input parameters that define various product filters, such as category, region, or temporal availability, and returns a GeoJSON or polygon format representing the precise geographic area for those products. This functionality is particularly useful for applications in market analysis, environmental studies, or resource management, where understanding the geographic distribution of certain products can aid in decision-making, supply chain optimization, or targeted marketing strategies.

Product FIlters are
- county
- pollen
- postalKey
- zone
- adminDistrict3 (city)
- dma
- adminDistrict (district)
- country

Endpoint ID: 26589
GET https://docs.zylalabs.com/api/13117/the+weather+channel+-+api/26589/get+the+geographic+boundary+polygon+for+a+given+product+filter
INPUT PARAMETERS

Get the geographic boundary polygon for a given product filter — Endpoint Features

Object Description
lat Required Latitude of Location
long Required Longitude of Location
html Required If true, returns a rendered map as HTML instead of a JSON boundary.
product_filter Required

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

lat
long
html
API EXAMPLE RESPONSE
JSON
123
Get the geographic boundary polygon for a given product filter — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13117/the+weather+channel+-+api/26589/get+the+geographic+boundary+polygon+for+a+given+product+filter?lat=Required&long=Required&html=Required&product_filter=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

The "Get Current Weather Conditions" endpoint provides real-time weather data for a specified location, allowing users to retrieve essential meteorological information such as temperature, humidity, wind speed, atmospheric pressure, and weather conditions (e.g., clear, cloudy, rainy). This endpoint serves the purpose of enabling developers to integrate up-to-date weather information into their applications, facilitating a range of use cases from travel itinerary planning and outdoor event organizing to agriculture and energy management. By accepting parameters such as location coordinates or city names, the endpoint streamlines the process of accessing pertinent weather insights, ensuring users can make informed decisions based on the latest atmospheric data.

Endpoint ID: 26590
GET https://docs.zylalabs.com/api/13117/the+weather+channel+-+api/26590/get+current+weather+conditions
INPUT PARAMETERS

Get current weather conditions — Endpoint Features

Object Description
lat Required Latitude of Location
long Required Longitude of Location

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

lat
long
API EXAMPLE RESPONSE
JSON
{"cloud_ceiling":null,"cloud_cover":19,"cloud_cover_phrase":"Partly Cloudy","day":"Wednesday","day_or_night":"N","expiration_time_utc":1783524383,"icon_code":31,"icon_code_extended":3100,"precipitation_1_hour":null,"precipitation_24_hour":null,"precipitation_6_hour":null,"pressure_altimeter":1008.81,"pressure_change":3.05,"pressure_mean_sea_level":1008.8,"pressure_tendency_code":1,"pressure_tendency_trend":"Rising","relative_humidity":54,"snow_1_hour":null,"snow_24_hour":null,"snow_6_hour":null,"sunrise_time_local":"2026-07-08T04:59:47+0500","sunrise_time_utc":1783468787,"sunset_time_local":"2026-07-08T19:36:08+0500","sunset_time_utc":1783521368,"temperature":13,"temperature_change_24_hour":null,"temperature_dew_point":4,"temperature_feels_like":12,"temperature_heat_index":13,"temperature_max_24_hour":18,"temperature_max_since_7am":18,"temperature_min_24_hour":8,"temperature_wet_bulb_globe":49,"temperature_wind_chill":12,"uv_description":"Low","uv_index":null,"valid_time_local":"2026-07-08T20:16:23+0500","valid_time_utc":1783523783,"visibility":16.09,"wind_direction":270,"wind_direction_cardinal":"W","wind_gust":null,"wind_speed":11,"wx_phrase_long":"Clear"}
Get current weather conditions — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13117/the+weather+channel+-+api/26590/get+current+weather+conditions?lat=37.31&long=71.73' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

The "Get 15-minute forecast" endpoint provides users with highly localized, short-term weather predictions for a specified geographic area, typically covering the next 15 minutes. This endpoint processes requests by taking input parameters such as location coordinates (latitude and longitude), and returns data that includes temperature changes, precipitation likelihood, wind speed, and other relevant weather conditions within that brief time frame. Ideal use cases for this endpoint include mobile weather applications, event planning tools, and outdoor activity management, where users need immediate and accurate weather updates to make informed decisions about their immediate environment.

Endpoint ID: 26591
GET https://docs.zylalabs.com/api/13117/the+weather+channel+-+api/26591/get+15-minute+forecast
INPUT PARAMETERS

Get 15-minute forecast — Endpoint Features

Object Description
lat Required Latitude of Location
long Required Longitude of Location
unit Required Unit system for measurements (e.g. 'm' for metric, 'e' for imperial)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

lat
long
unit
API EXAMPLE RESPONSE
JSON
{"forcast_intervals":[{"day":"Wednesday","icon_code":29,"icon_code_extended":2900,"precipitation_chance":1,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":55,"snow_rate":0.0,"temperature":55,"temperature_feels_like":53,"time_local":"2026-07-08T20:30:00+0500","wind_direction":277,"wind_direction_cardinal":"W","wind_speed":7,"wx_phase_long":"Partly Cloudy","wx_phase_short":"P Cloudy","wx_severity":1},{"day":"Wednesday","icon_code":29,"icon_code_extended":2900,"precipitation_chance":1,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":56,"snow_rate":0.0,"temperature":54,"temperature_feels_like":53,"time_local":"2026-07-08T20:45:00+0500","wind_direction":276,"wind_direction_cardinal":"W","wind_speed":7,"wx_phase_long":"Partly Cloudy","wx_phase_short":"P Cloudy","wx_severity":1},{"day":"Wednesday","icon_code":29,"icon_code_extended":2900,"precipitation_chance":1,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":56,"snow_rate":0.0,"temperature":54,"temperature_feels_like":52,"time_local":"2026-07-08T21:00:00+0500","wind_direction":276,"wind_direction_cardinal":"W","wind_speed":6,"wx_phase_long":"Partly Cloudy","wx_phase_short":"P Cloudy","wx_severity":1},{"day":"Wednesday","icon_code":29,"icon_code_extended":2900,"precipitation_chance":1,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":57,"snow_rate":0.0,"temperature":54,"temperature_feels_like":52,"time_local":"2026-07-08T21:15:00+0500","wind_direction":281,"wind_direction_cardinal":"W","wind_speed":6,"wx_phase_long":"Partly Cloudy","wx_phase_short":"P Cloudy","wx_severity":1},{"day":"Wednesday","icon_code":29,"icon_code_extended":2900,"precipitation_chance":1,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":58,"snow_rate":0.0,"temperature":54,"temperature_feels_like":52,"time_local":"2026-07-08T21:30:00+0500","wind_direction":287,"wind_direction_cardinal":"WNW","wind_speed":6,"wx_phase_long":"Partly Cloudy","wx_phase_short":"P Cloudy","wx_severity":1},{"day":"Wednesday","icon_code":29,"icon_code_extended":2900,"precipitation_chance":1,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":59,"snow_rate":0.0,"temperature":53,"temperature_feels_like":51,"time_local":"2026-07-08T21:45:00+0500","wind_direction":293,"wind_direction_cardinal":"WNW","wind_speed":6,"wx_phase_long":"Partly Cloudy","wx_phase_short":"P Cloudy","wx_severity":1},{"day":"Wednesday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":1,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":60,"snow_rate":0.0,"temperature":53,"temperature_feels_like":51,"time_local":"2026-07-08T22:00:00+0500","wind_direction":298,"wind_direction_cardinal":"WNW","wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Wednesday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":1,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":60,"snow_rate":0.0,"temperature":53,"temperature_feels_like":51,"time_local":"2026-07-08T22:15:00+0500","wind_direction":301,"wind_direction_cardinal":"WNW","wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Wednesday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":1,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":60,"snow_rate":0.0,"temperature":53,"temperature_feels_like":51,"time_local":"2026-07-08T22:30:00+0500","wind_direction":303,"wind_direction_cardinal":"WNW","wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Wednesday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":1,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":61,"snow_rate":0.0,"temperature":52,"temperature_feels_like":51,"time_local":"2026-07-08T22:45:00+0500","wind_direction":306,"wind_direction_cardinal":"NW","wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Wednesday","icon_code":33,"icon_code_extended":3300,"precipitation_chance":1,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":61,"snow_rate":0.0,"temperature":52,"temperature_feels_like":50,"time_local":"2026-07-08T23:00:00+0500","wind_direction":309,"wind_direction_cardinal":"NW","wind_speed":6,"wx_phase_long":"Mostly Clear","wx_phase_short":"M Clear","wx_severity":1},{"day":"Wednesday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":1,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":62,"snow_rate":0.0,"temperature":52,"temperature_feels_like":50,"time_local":"2026-07-08T23:15:00+0500","wind_direction":311,"wind_direction_cardinal":"NW","wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Wednesday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":1,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":62,"snow_rate":0.0,"temperature":52,"temperature_feels_like":50,"time_local":"2026-07-08T23:30:00+0500","wind_direction":314,"wind_direction_cardinal":"NW","wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Wednesday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":2,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":63,"snow_rate":0.0,"temperature":51,"temperature_feels_like":49,"time_local":"2026-07-08T23:45:00+0500","wind_direction":316,"wind_direction_cardinal":"NW","wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Thursday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":2,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":63,"snow_rate":0.0,"temperature":51,"temperature_feels_like":49,"time_local":"2026-07-09T00:00:00+0500","wind_direction":319,"wind_direction_cardinal":"NW","wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Thursday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":2,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":64,"snow_rate":0.0,"temperature":51,"temperature_feels_like":49,"time_local":"2026-07-09T00:15:00+0500","wind_direction":323,"wind_direction_cardinal":"NW","wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Thursday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":2,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":65,"snow_rate":0.0,"temperature":51,"temperature_feels_like":48,"time_local":"2026-07-09T00:30:00+0500","wind_direction":327,"wind_direction_cardinal":"NNW","wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Thursday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":2,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":66,"snow_rate":0.0,"temperature":50,"temperature_feels_like":48,"time_local":"2026-07-09T00:45:00+0500","wind_direction":332,"wind_direction_cardinal":"NNW","wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Thursday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":2,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":66,"snow_rate":0.0,"temperature":50,"temperature_feels_like":48,"time_local":"2026-07-09T01:00:00+0500","wind_direction":337,"wind_direction_cardinal":"NNW","wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Thursday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":2,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":67,"snow_rate":0.0,"temperature":50,"temperature_feels_like":48,"time_local":"2026-07-09T01:15:00+0500","wind_direction":335,"wind_direction_cardinal":"NNW","wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Thursday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":2,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":67,"snow_rate":0.0,"temperature":49,"temperature_feels_like":47,"time_local":"2026-07-09T01:30:00+0500","wind_direction":333,"wind_direction_cardinal":"NNW","wind_speed":5,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Thursday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":2,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":68,"snow_rate":0.0,"temperature":49,"temperature_feels_like":47,"time_local":"2026-07-09T01:45:00+0500","wind_direction":331,"wind_direction_cardinal":"NNW","wind_speed":5,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Thursday","icon_code":31,"icon_code_extended":3100,"precipitation_chance":2,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":69,"snow_rate":0.0,"temperature":49,"temperature_feels_like":47,"time_local":"2026-07-09T02:00:00+0500","wind_direction":330,"wind_direction_cardinal":"NNW","wind_speed":5,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1},{"day":"Thursday","icon_code":33,"icon_code_extended":3300,"precipitation_chance":2,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":69,"snow_rate":0.0,"temperature":48,"temperature_feels_like":46,"time_local":"2026-07-09T02:15:00+0500","wind_direction":339,"wind_direction_cardinal":"NNW","wind_speed":5,"wx_phase_long":"Mostly Clear","wx_phase_short":"M Clear","wx_severity":1},{"day":"Thursday","icon_code":33,"icon_code_extended":3300,"precipitation_chance":2,"precipitation_rate":0.0,"precipitation_type":"rain","relative_humidity":69,"snow_rate":0.0,"temperature":48,"temperature_feels_like":46,"time_local":"2026-07-09T02:30:00+0500","wind_direction":349,"wind_direction_cardinal":"N","wind_speed":5,"wx_phase_long":"Mostly Clear","wx_phase_short":"M Clear","wx_severity":1}],"_note":"Response truncated for documentation purposes"}
Get 15-minute forecast — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13117/the+weather+channel+-+api/26591/get+15-minute+forecast?lat=37.31&long=71.73&unit=e' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

The "Get Daily Forecast" endpoint provides users with easy access to comprehensive weather information for a specified location over the next 24 hours. By accepting parameters such as geographic coordinates or city names, this endpoint delivers a JSON response containing detailed data, including temperature, humidity, precipitation probability, wind speed, and significant weather conditions (e.g., sunny, cloudy, rainy). This endpoint is particularly useful for applications that require real-time weather data, such as travel planning apps, agricultural monitoring systems, or any service where understanding daily weather patterns is crucial for decision-making or user engagement.

Endpoint ID: 26592
GET https://docs.zylalabs.com/api/13117/the+weather+channel+-+api/26592/get+daily+forecast
INPUT PARAMETERS

Get daily forecast — Endpoint Features

Object Description
lat Required Latitude of Location
long Required Longitude of Location
unit Required Unit system for measurements (e.g. 'm' for metric, 'e' for imperial)
days Required

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

lat
long
unit
API EXAMPLE RESPONSE
JSON
{"forecast_days":[{"day":"Wednesday","day_parts":[{"cloud_cover":null,"day_or_night":null,"icon_code":null,"icon_code_extended":null,"name":null,"narrative":null,"precipitation_chance":null,"precipitation_type":null,"qpf":null,"qpf_ice":null,"qpf_rain":null,"qpf_snow":null,"qualifier_code":null,"qualifier_phrase":null,"relative_humidity":null,"snow_range":null,"temperature":null,"temperature_heat_index":null,"temperature_wind_chill":null,"thunder_category":null,"thunder_index":null,"uv_description":null,"uv_index":null,"wind_direction":null,"wind_direction_cardinal":null,"wind_phrase":null,"wind_speed":null,"wx_phrase_long":null,"wx_phrase_short":null},{"cloud_cover":23,"day_or_night":"N","icon_code":29,"icon_code_extended":2900,"name":"Tonight","narrative":"Partly cloudy. Low 46F. Winds NNW at 5 to 10 mph.","precipitation_chance":5,"precipitation_type":"rain","qpf":0.0,"qpf_ice":0.0,"qpf_rain":0.0,"qpf_snow":0.0,"qualifier_code":null,"qualifier_phrase":null,"relative_humidity":65,"snow_range":"","temperature":46,"temperature_heat_index":55,"temperature_wind_chill":44,"thunder_category":"No thunder","thunder_index":0,"uv_description":"Low","uv_index":0,"wind_direction":339,"wind_direction_cardinal":"NNW","wind_phrase":"Winds NNW at 5 to 10 mph.","wind_speed":7,"wx_phrase_long":"Partly Cloudy","wx_phrase_short":"P Cloudy"}],"expiration_time_utc":1783525592,"moon_phase":"Last Quarter","moon_phase_code":"LQ","moon_phase_day":22,"moonrise_time_local":"","moonrise_time_utc":null,"moonset_time_local":"2026-07-08T13:04:48+0500","moonset_time_utc":1783497888,"narrative":"Partly cloudy. Lows overnight in the mid 40s.","qpf":0.0,"qpf_ice":0.0,"qpf_rain":0.0,"qpf_snow":0.0,"sunrise_time_local":"2026-07-08T04:59:47+0500","sunrise_time_utc":1783468787,"sunset_time_local":"2026-07-08T19:36:08+0500","sunset_time_utc":1783521368,"temperature_max":65,"temperature_min":45,"valid_time_local":"2026-07-08T07:00:00+0500","valid_time_utc":1783476000},{"day":"Thursday","day_parts":[{"cloud_cover":41,"day_or_night":"D","icon_code":30,"icon_code_extended":3000,"name":"Tomorrow","narrative":"Partly cloudy skies. High 67F. Winds NW at 10 to 20 mph.","precipitation_chance":24,"precipitation_type":"rain","qpf":0.0,"qpf_ice":0.0,"qpf_rain":0.0,"qpf_snow":0.0,"qualifier_code":null,"qualifier_phrase":null,"relative_humidity":46,"snow_range":"","temperature":67,"temperature_heat_index":67,"temperature_wind_chill":49,"thunder_category":"No thunder","thunder_index":0,"uv_description":"Very High","uv_index":10,"wind_direction":311,"wind_direction_cardinal":"NW","wind_phrase":"Winds NW at 10 to 20 mph.","wind_speed":13,"wx_phrase_long":"Partly Cloudy","wx_phrase_short":"P Cloudy"},{"cloud_cover":11,"day_or_night":"N","icon_code":31,"icon_code_extended":3100,"name":"Tomorrow night","narrative":"Clear. Low 47F. Winds NNW at 10 to 15 mph.","precipitation_chance":5,"precipitation_type":"rain","qpf":0.0,"qpf_ice":0.0,"qpf_rain":0.0,"qpf_snow":0.0,"qualifier_code":null,"qualifier_phrase":null,"relative_humidity":63,"snow_range":"","temperature":47,"temperature_heat_index":60,"temperature_wind_chill":45,"thunder_category":"No thunder","thunder_index":0,"uv_description":"Low","uv_index":0,"wind_direction":348,"wind_direction_cardinal":"NNW","wind_phrase":"Winds NNW at 10 to 15 mph.","wind_speed":10,"wx_phrase_long":"Clear","wx_phrase_short":"Clear"}],"expiration_time_utc":1783525592,"moon_phase":"Waning Crescent","moon_phase_code":"WNC","moon_phase_day":24,"moonrise_time_local":"2026-07-09T00:00:39+0500","moonrise_time_utc":1783537239,"moonset_time_local":"2026-07-09T14:16:09+0500","moonset_time_utc":1783588569,"narrative":"Mix of sun and clouds. Highs in the upper 60s and lows in the upper 40s.","qpf":0.0,"qpf_ice":0.0,"qpf_rain":0.0,"qpf_snow":0.0,"sunrise_time_local":"2026-07-09T05:00:22+0500","sunrise_time_utc":1783555222,"sunset_time_local":"2026-07-09T19:35:50+0500","sunset_time_utc":1783607750,"temperature_max":67,"temperature_min":46,"valid_time_local":"2026-07-09T07:00:00+0500","valid_time_utc":1783562400},{"day":"Friday","day_parts":[{"cloud_cover":41,"day_or_night":"D","icon_code":30,"icon_code_extended":3000,"name":"Friday","narrative":"Sunshine and clouds mixed. High 67F. Winds NW at 10 to 20 mph.","precipitation_chance":17,"precipitation_type":"rain","qpf":0.0,"qpf_ice":0.0,"qpf_rain":0.0,"qpf_snow":0.0,"qualifier_code":null,"qualifier_phrase":null,"relative_humidity":46,"snow_range":"","temperature":67,"temperature_heat_index":67,"temperature_wind_chill":50,"thunder_category":"No thunder","thunder_index":0,"uv_description":"Very High","uv_index":10,"wind_direction":306,"wind_direction_cardinal":"NW","wind_phrase":"Winds NW at 10 to 20 mph.","wind_speed":13,"wx_phrase_long":"Partly Cloudy","wx_phrase_short":"P Cloudy"},{"cloud_cover":44,"day_or_night":"N","icon_code":29,"icon_code_extended":2900,"name":"Friday night","narrative":"Partly cloudy. Low 49F. Winds NW at 5 to 10 mph.","precipitation_chance":23,"precipitation_type":"rain","qpf":0.0,"qpf_ice":0.0,"qpf_rain":0.0,"qpf_snow":0.0,"qualifier_code":null,"qualifier_phrase":null,"relative_humidity":63,"snow_range":"","temperature":49,"temperature_heat_index":61,"temperature_wind_chill":48,"thunder_category":"No thunder","thunder_index":0,"uv_description":"Low","uv_index":0,"wind_direction":319,"wind_direction_cardinal":"NW","wind_phrase":"Winds NW at 5 to 10 mph.","wind_speed":10,"wx_phrase_long":"Partly Cloudy","wx_phrase_short":"P Cloudy"}],"expiration_time_utc":1783525592,"moon_phase":"Waning Crescent","moon_phase_code":"WNC","moon_phase_day":25,"moonrise_time_local":"2026-07-10T00:34:39+0500","moonrise_time_utc":1783625679,"moonset_time_local":"2026-07-10T15:30:27+0500","moonset_time_utc":1783679427,"narrative":"Times of sun and clouds. Highs in the upper 60s and lows in the upper 40s.","qpf":0.0,"qpf_ice":0.0,"qpf_rain":0.0,"qpf_snow":0.0,"sunrise_time_local":"2026-07-10T05:00:58+0500","sunrise_time_utc":1783641658,"sunset_time_local":"2026-07-10T19:35:29+0500","sunset_time_utc":1783694129,"temperature_max":67,"temperature_min":47,"valid_time_local":"2026-07-10T07:00:00+0500","valid_time_utc":1783648800},{"day":"Saturday","day_parts":[{"cloud_cover":61,"day_or_night":"D","icon_code":39,"icon_code_extended":7103,"name":"Saturday","narrative":"Partly cloudy in the morning. Increasing clouds with periods of showers later in the day. High 61F. Winds WNW at 10 to 15 mph. Chance of rain 40%.","precipitation_chance":41,"precipitation_type":"rain","qpf":0.05,"qpf_ice":0.0,"qpf_rain":0.05,"qpf_snow":0.0,"qualifier_code":null,"qualifier_phrase":null,"relative_humidity":58,"snow_range":"","temperature":61,"temperature_heat_index":61,"temperature_wind_chill":49,"thunder_category":"No thunder","thunder_index":0,"uv_description":"Very High","uv_index":9,"wind_direction":301,"wind_direction_cardinal":"WNW","wind_phrase":"Winds WNW at 10 to 15 mph.","wind_speed":10,"wx_phrase_long":"PM Showers","wx_phrase_short":"PM Showers"},{"cloud_cover":62,"day_or_night":"N","icon_code":45,"icon_code_extended":6100,"name":"Saturday night","narrative":"Rain showers early with clearing later at night. Low 47F. Winds NW at 5 to 10 mph. Chance of rain 50%.","precipitation_chance":47,"precipitation_type":"rain","qpf":0.06,"qpf_ice":0.0,"qpf_rain":0.06,"qpf_snow":0.0,"qualifier_code":null,"qualifier_phrase":null,"relative_humidity":74,"snow_range":"","temperature":47,"temperature_heat_index":56,"temperature_wind_chill":45,"thunder_category":"No thunder","thunder_index":0,"uv_description":"Low","uv_index":0,"wind_direction":310,"wind_direction_cardinal":"NW","wind_phrase":"Winds NW at 5 to 10 mph.","wind_speed":9,"wx_phrase_long":"Showers Early","wx_phrase_short":"Shwrs Early"}],"expiration_time_utc":1783525592,"moon_phase":"Waning Crescent","moon_phase_code":"WNC","moon_phase_day":26,"moonrise_time_local":"2026-07-11T01:16:05+0500","moonrise_time_utc":1783714565,"moonset_time_local":"2026-07-11T16:46:38+0500","moonset_time_utc":1783770398,"narrative":"Showers possible in the afternoon. Highs in the low 60s and lows in the upper 40s.","qpf":0.11,"qpf_ice":0.0,"qpf_rain":0.11,"qpf_snow":0.0,"sunrise_time_local":"2026-07-11T05:01:34+0500","sunrise_time_utc":1783728094,"sunset_time_local":"2026-07-11T19:35:07+0500","sunset_time_utc":1783780507,"temperature_max":61,"temperature_min":49,"valid_time_local":"2026-07-11T07:00:00+0500","valid_time_utc":1783735200}]}
Get daily forecast — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13117/the+weather+channel+-+api/26592/get+daily+forecast?lat=37.31&long=71.73&unit=e&days=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

The "Get hourly forecast" endpoint provides users with precise meteorological predictions for a specified location over the next 48 hours, broken down into hourly segments. This endpoint is designed to deliver essential weather data, including temperature, precipitation, humidity, wind speed, and atmospheric pressure, making it a vital resource for applications that require real-time weather information. Potential use cases include travel planning, outdoor event coordination, agriculture management, and any mobile applications or services that cater to users' needs for up-to-date weather insights to assist in decision-making based on forecasted conditions.

Endpoint ID: 26593
GET https://docs.zylalabs.com/api/13117/the+weather+channel+-+api/26593/get+hourly+forecast
INPUT PARAMETERS

Get hourly forecast — Endpoint Features

Object Description
lat Required Latitude of Location
long Required Longitude of Location
unit Required Unit system for measurements (e.g. 'm' for metric, 'e' for imperial)
duration Required

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

lat
long
unit
API EXAMPLE RESPONSE
JSON
{"forecast_hours":[{"ceiling":99999,"cloud_cover":32,"conditional_probability_freezing_rain":0,"conditional_probability_rain":100,"conditional_probability_sleet":0,"conditional_probability_snow":0,"conditional_probability_thunder":3,"day":"Wednesday","day_or_night":"N","expiration_time_utc":1783524383,"icon_code":29,"icon_code_extended":2900,"precipitation_chance":1,"precipitation_type":"rain","pressureMeanSeaLevel":29.81,"pressure_altimeter":30.54,"qpf":0.0,"qpf_ice":0.0,"qpf_rain":0.0,"qpf_snow":0.0,"qualifier_set":[],"relative_humidity":56,"scattered_cloud_base_height":6500,"temperature":54.2,"temperature_dew_point":39.0,"temperature_feels_like":52.4,"temperature_wet_bulb_globe":48.8,"temperature_wind_chill":52.4,"uv_description":"Low","uv_index":0,"valid_time_local":"2026-07-08T21:00:00+0500","valid_time_utc":1783526400,"visibility":10.0,"wind_direction":276,"wind_direction_cardinal":"W","wind_gust":null,"wind_speed":6,"wx_phase_long":"Partly Cloudy","wx_phase_short":"P Cloudy","wx_severity":1,"wx_string":null},{"ceiling":99999,"cloud_cover":18,"conditional_probability_freezing_rain":0,"conditional_probability_rain":100,"conditional_probability_sleet":0,"conditional_probability_snow":0,"conditional_probability_thunder":3,"day":"Wednesday","day_or_night":"N","expiration_time_utc":1783524383,"icon_code":31,"icon_code_extended":3100,"precipitation_chance":1,"precipitation_type":"rain","pressureMeanSeaLevel":29.84,"pressure_altimeter":30.55,"qpf":0.0,"qpf_ice":0.0,"qpf_rain":0.0,"qpf_snow":0.0,"qualifier_set":[],"relative_humidity":60,"scattered_cloud_base_height":99999,"temperature":53.1,"temperature_dew_point":39.4,"temperature_feels_like":51.2,"temperature_wet_bulb_globe":48.2,"temperature_wind_chill":51.2,"uv_description":"Low","uv_index":0,"valid_time_local":"2026-07-08T22:00:00+0500","valid_time_utc":1783530000,"visibility":10.0,"wind_direction":298,"wind_direction_cardinal":"WNW","wind_gust":null,"wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1,"wx_string":null},{"ceiling":99999,"cloud_cover":19,"conditional_probability_freezing_rain":0,"conditional_probability_rain":100,"conditional_probability_sleet":0,"conditional_probability_snow":0,"conditional_probability_thunder":3,"day":"Wednesday","day_or_night":"N","expiration_time_utc":1783524383,"icon_code":31,"icon_code_extended":3100,"precipitation_chance":2,"precipitation_type":"rain","pressureMeanSeaLevel":29.86,"pressure_altimeter":30.54,"qpf":0.0,"qpf_ice":0.0,"qpf_rain":0.0,"qpf_snow":0.0,"qualifier_set":[],"relative_humidity":61,"scattered_cloud_base_height":99999,"temperature":52.2,"temperature_dew_point":39.2,"temperature_feels_like":50.3,"temperature_wet_bulb_globe":47.6,"temperature_wind_chill":50.3,"uv_description":"Low","uv_index":0,"valid_time_local":"2026-07-08T23:00:00+0500","valid_time_utc":1783533600,"visibility":10.0,"wind_direction":309,"wind_direction_cardinal":"NW","wind_gust":null,"wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1,"wx_string":null},{"ceiling":99999,"cloud_cover":17,"conditional_probability_freezing_rain":0,"conditional_probability_rain":100,"conditional_probability_sleet":0,"conditional_probability_snow":0,"conditional_probability_thunder":3,"day":"Thursday","day_or_night":"N","expiration_time_utc":1783524383,"icon_code":31,"icon_code_extended":3100,"precipitation_chance":2,"precipitation_type":"rain","pressureMeanSeaLevel":29.88,"pressure_altimeter":30.54,"qpf":0.0,"qpf_ice":0.0,"qpf_rain":0.0,"qpf_snow":0.0,"qualifier_set":[],"relative_humidity":63,"scattered_cloud_base_height":99999,"temperature":51.1,"temperature_dew_point":39.1,"temperature_feels_like":49.0,"temperature_wet_bulb_globe":46.9,"temperature_wind_chill":49.0,"uv_description":"Low","uv_index":0,"valid_time_local":"2026-07-09T00:00:00+0500","valid_time_utc":1783537200,"visibility":10.0,"wind_direction":319,"wind_direction_cardinal":"NW","wind_gust":null,"wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1,"wx_string":null},{"ceiling":99999,"cloud_cover":18,"conditional_probability_freezing_rain":0,"conditional_probability_rain":100,"conditional_probability_sleet":0,"conditional_probability_snow":0,"conditional_probability_thunder":3,"day":"Thursday","day_or_night":"N","expiration_time_utc":1783524383,"icon_code":31,"icon_code_extended":3100,"precipitation_chance":2,"precipitation_type":"rain","pressureMeanSeaLevel":29.88,"pressure_altimeter":30.53,"qpf":0.0,"qpf_ice":0.0,"qpf_rain":0.0,"qpf_snow":0.0,"qualifier_set":[],"relative_humidity":66,"scattered_cloud_base_height":99999,"temperature":50.0,"temperature_dew_point":39.3,"temperature_feels_like":47.9,"temperature_wet_bulb_globe":46.3,"temperature_wind_chill":47.9,"uv_description":"Low","uv_index":0,"valid_time_local":"2026-07-09T01:00:00+0500","valid_time_utc":1783540800,"visibility":10.0,"wind_direction":337,"wind_direction_cardinal":"NNW","wind_gust":null,"wind_speed":6,"wx_phase_long":"Clear","wx_phase_short":"Clear","wx_severity":1,"wx_string":null},{"ceiling":99999,"cloud_cover":20,"conditional_probability_freezing_rain":0,"conditional_probability_rain":95,"conditional_probability_sleet":0,"conditional_probability_snow":5,"conditional_probability_thunder":3,"day":"Thursday","day_or_night":"N","expiration_time_utc":1783524383,"icon_code":33,"icon_code_extended":3300,"precipitation_chance":2,"precipitation_type":"rain","pressureMeanSeaLevel":29.88,"pressure_altimeter":30.53,"qpf":0.0,"qpf_ice":0.0,"qpf_rain":0.0,"qpf_snow":0.0,"qualifier_set":[],"relative_humidity":69,"scattered_cloud_base_height":99999,"temperature":48.7,"temperature_dew_point":38.9,"temperature_feels_like":46.6,"temperature_wet_bulb_globe":48.7,"temperature_wind_chill":46.6,"uv_description":"Low","uv_index":0,"valid_time_local":"2026-07-09T02:00:00+0500","valid_time_utc":1783544400,"visibility":10.0,"wind_direction":330,"wind_direction_cardinal":"NNW","wind_gust":null,"wind_speed":5,"wx_phase_long":"Mostly Clear","wx_phase_short":"M Clear","wx_severity":1,"wx_string":null}]}
Get hourly forecast — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13117/the+weather+channel+-+api/26593/get+hourly+forecast?lat=37.31&long=71.73&unit=e&duration=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

The "When will it rain" endpoint provides precise and timely weather information by predicting rainfall events for a specified location and date range. It leverages meteorological data analytics to analyze atmospheric conditions, generating forecasts that detail the likelihood, intensity, and expected duration of rain. This endpoint is particularly useful for outdoor planners, event coordinators, and farmers who need to make informed decisions based on upcoming weather conditions, thereby optimizing activities such as irrigation, event scheduling, and risk management for weather-related disruptions.

Endpoint ID: 26594
GET https://docs.zylalabs.com/api/13117/the+weather+channel+-+api/26594/when+will+it+rain
INPUT PARAMETERS

When will it rain — Endpoint Features

Object Description
lat Required Latitude of Location
long Required Longitude of Location

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

lat
long
API EXAMPLE RESPONSE
JSON
{"expire_time_utc":1783524415,"fcst_valid":1783522800,"fcst_valid_local":"2026-07-08T20:00:00+0500","forecast_class":"fod_short_range_wwir","overall_type":0,"phrase":"Expect dry conditions for the next 6 hours.","phrase_template":"Expect dry conditions for the next 6 hours.","precipitation_day":null,"precipitation_time_12hr":null,"precipitation_time_24hr":null,"precipitation_time_iso":null,"terse_phrase":"Dry conditions for the next 6 hours.","terse_phrase_template":"Dry conditions for the next 6 hours.","time_zone_abbreviation":"+05"}
When will it rain — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13117/the+weather+channel+-+api/26594/when+will+it+rain?lat=37.31&long=71.73' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

The "Get 30-day historical daily summary" endpoint provides users with a comprehensive overview of daily metrics aggregated over the past 30 days. This endpoint is designed to return data such as daily averages, totals, or counts of specific metrics (e.g., sales, user activity, temperature, etc.), allowing users to track trends, analyze performance, and make data-driven decisions. Ideal use cases include monitoring business performance, evaluating the effectiveness of marketing campaigns, or assessing environmental changes, enabling stakeholders to gain insights into historical data patterns and inform future strategies.

Endpoint ID: 26595
GET https://docs.zylalabs.com/api/13117/the+weather+channel+-+api/26595/get+30-day+historical+daily+summary
INPUT PARAMETERS

Get 30-day historical daily summary — Endpoint Features

Object Description
lat Required Latitude of Location
long Required Longitude of Location
unit Required Unit system for measurements (e.g. 'm' for metric, 'e' for imperial)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

lat
long
unit
API EXAMPLE RESPONSE
JSON
{"days":[{"day":"Wednesday","icon_code_day":39,"icon_code_day_extended":6103,"icon_code_night":null,"icon_code_night_extended":null,"precipitation":0,"rain":0,"snow":0,"temperature_max":65,"temperature_min":null,"time_local":"2026-07-08T07:00:00+0500","time_utc":1783476000,"wx_phase_day_long":"AM Showers","wx_phase_night_long":null},{"day":"Tuesday","icon_code_day":30,"icon_code_day_extended":3000,"icon_code_night":29,"icon_code_night_extended":2900,"precipitation":0,"rain":0,"snow":0,"temperature_max":67,"temperature_min":45,"time_local":"2026-07-07T07:00:00+0500","time_utc":1783389600,"wx_phase_day_long":"Partly Cloudy","wx_phase_night_long":"Partly Cloudy"},{"day":"Monday","icon_code_day":39,"icon_code_day_extended":7103,"icon_code_night":29,"icon_code_night_extended":2900,"precipitation":0,"rain":0,"snow":0,"temperature_max":68,"temperature_min":47,"time_local":"2026-07-06T07:00:00+0500","time_utc":1783303200,"wx_phase_day_long":"PM Showers","wx_phase_night_long":"Partly Cloudy"},{"day":"Sunday","icon_code_day":34,"icon_code_day_extended":3400,"icon_code_night":29,"icon_code_night_extended":2900,"precipitation":0,"rain":0,"snow":0,"temperature_max":70,"temperature_min":47,"time_local":"2026-07-05T07:00:00+0500","time_utc":1783216800,"wx_phase_day_long":"Mostly Sunny","wx_phase_night_long":"Partly Cloudy"},{"day":"Saturday","icon_code_day":11,"icon_code_day_extended":6304,"icon_code_night":31,"icon_code_night_extended":3100,"precipitation":0.05,"rain":0.05,"snow":0,"temperature_max":64,"temperature_min":43,"time_local":"2026-07-04T07:00:00+0500","time_utc":1783130400,"wx_phase_day_long":"AM Light Rain","wx_phase_night_long":"Clear"},{"day":"Friday","icon_code_day":11,"icon_code_day_extended":6304,"icon_code_night":11,"icon_code_night_extended":7301,"precipitation":0.03,"rain":0.03,"snow":0,"temperature_max":67,"temperature_min":46,"time_local":"2026-07-03T07:00:00+0500","time_utc":1783044000,"wx_phase_day_long":"AM Light Rain","wx_phase_night_long":"Light Rain Late"},{"day":"Thursday","icon_code_day":39,"icon_code_day_extended":6103,"icon_code_night":11,"icon_code_night_extended":1100,"precipitation":0.04,"rain":0.04,"snow":0,"temperature_max":69,"temperature_min":48,"time_local":"2026-07-02T07:00:00+0500","time_utc":1782957600,"wx_phase_day_long":"AM Showers","wx_phase_night_long":"Showers"},{"day":"Wednesday","icon_code_day":30,"icon_code_day_extended":3000,"icon_code_night":31,"icon_code_night_extended":3100,"precipitation":0,"rain":0,"snow":0,"temperature_max":71,"temperature_min":48,"time_local":"2026-07-01T07:00:00+0500","time_utc":1782871200,"wx_phase_day_long":"Partly Cloudy","wx_phase_night_long":"Clear"},{"day":"Tuesday","icon_code_day":32,"icon_code_day_extended":3200,"icon_code_night":33,"icon_code_night_extended":3300,"precipitation":0,"rain":0,"snow":0,"temperature_max":73,"temperature_min":48,"time_local":"2026-06-30T07:00:00+0500","time_utc":1782784800,"wx_phase_day_long":"Sunny","wx_phase_night_long":"Mostly Clear"},{"day":"Monday","icon_code_day":34,"icon_code_day_extended":3400,"icon_code_night":31,"icon_code_night_extended":3100,"precipitation":0,"rain":0,"snow":0,"temperature_max":71,"temperature_min":48,"time_local":"2026-06-29T07:00:00+0500","time_utc":1782698400,"wx_phase_day_long":"Mostly Sunny","wx_phase_night_long":"Clear"},{"day":"Sunday","icon_code_day":11,"icon_code_day_extended":1100,"icon_code_night":29,"icon_code_night_extended":2900,"precipitation":0,"rain":0,"snow":0,"temperature_max":62,"temperature_min":46,"time_local":"2026-06-28T07:00:00+0500","time_utc":1782612000,"wx_phase_day_long":"Showers","wx_phase_night_long":"Partly Cloudy"},{"day":"Saturday","icon_code_day":39,"icon_code_day_extended":7103,"icon_code_night":29,"icon_code_night_extended":2900,"precipitation":0.01,"rain":0.01,"snow":0,"temperature_max":65,"temperature_min":46,"time_local":"2026-06-27T07:00:00+0500","time_utc":1782525600,"wx_phase_day_long":"PM Showers","wx_phase_night_long":"Partly Cloudy"},{"day":"Friday","icon_code_day":39,"icon_code_day_extended":7103,"icon_code_night":31,"icon_code_night_extended":3100,"precipitation":0.01,"rain":0.01,"snow":0,"temperature_max":69,"temperature_min":47,"time_local":"2026-06-26T07:00:00+0500","time_utc":1782439200,"wx_phase_day_long":"PM Showers","wx_phase_night_long":"Clear"},{"day":"Thursday","icon_code_day":34,"icon_code_day_extended":3400,"icon_code_night":31,"icon_code_night_extended":3100,"precipitation":0,"rain":0,"snow":0,"temperature_max":67,"temperature_min":46,"time_local":"2026-06-25T07:00:00+0500","time_utc":1782352800,"wx_phase_day_long":"Mostly Sunny","wx_phase_night_long":"Clear"},{"day":"Wednesday","icon_code_day":11,"icon_code_day_extended":7304,"icon_code_night":29,"icon_code_night_extended":2900,"precipitation":0.02,"rain":0.02,"snow":0,"temperature_max":63,"temperature_min":43,"time_local":"2026-06-24T07:00:00+0500","time_utc":1782266400,"wx_phase_day_long":"PM Light Rain","wx_phase_night_long":"Partly Cloudy"},{"day":"Tuesday","icon_code_day":11,"icon_code_day_extended":7304,"icon_code_night":29,"icon_code_night_extended":2900,"precipitation":0.01,"rain":0.01,"snow":0,"temperature_max":63,"temperature_min":44,"time_local":"2026-06-23T07:00:00+0500","time_utc":1782180000,"wx_phase_day_long":"PM Light Rain","wx_phase_night_long":"Partly Cloudy"},{"day":"Monday","icon_code_day":11,"icon_code_day_extended":1201,"icon_code_night":11,"icon_code_night_extended":6301,"precipitation":0.08,"rain":0.08,"snow":0,"temperature_max":59,"temperature_min":43,"time_local":"2026-06-22T07:00:00+0500","time_utc":1782093600,"wx_phase_day_long":"Light Rain","wx_phase_night_long":"Light Rain Early"},{"day":"Sunday","icon_code_day":12,"icon_code_day_extended":1200,"icon_code_night":26,"icon_code_night_extended":2600,"precipitation":0.08,"rain":0.08,"snow":0,"temperature_max":59,"temperature_min":42,"time_local":"2026-06-21T07:00:00+0500","time_utc":1782007200,"wx_phase_day_long":"Rain","wx_phase_night_long":"Cloudy"},{"day":"Saturday","icon_code_day":12,"icon_code_day_extended":1200,"icon_code_night":12,"icon_code_night_extended":6300,"precipitation":0.07,"rain":0.07,"snow":0,"temperature_max":60,"temperature_min":42,"time_local":"2026-06-20T07:00:00+0500","time_utc":1781920800,"wx_phase_day_long":"Rain","wx_phase_night_long":"Rain Early"},{"day":"Friday","icon_code_day":11,"icon_code_day_extended":1201,"icon_code_night":11,"icon_code_night_extended":6301,"precipitation":0.05,"rain":0.05,"snow":0,"temperature_max":57,"temperature_min":42,"time_local":"2026-06-19T07:00:00+0500","time_utc":1781834400,"wx_phase_day_long":"Light Rain","wx_phase_night_long":"Light Rain Early"},{"day":"Thursday","icon_code_day":12,"icon_code_day_extended":1200,"icon_code_night":12,"icon_code_night_extended":6300,"precipitation":0.12,"rain":0.12,"snow":0,"temperature_max":59,"temperature_min":42,"time_local":"2026-06-18T07:00:00+0500","time_utc":1781748000,"wx_phase_day_long":"Rain","wx_phase_night_long":"Rain Early"},{"day":"Wednesday","icon_code_day":11,"icon_code_day_extended":1100,"icon_code_night":11,"icon_code_night_extended":6301,"precipitation":0.07,"rain":0.07,"snow":0,"temperature_max":61,"temperature_min":42,"time_local":"2026-06-17T07:00:00+0500","time_utc":1781661600,"wx_phase_day_long":"Showers","wx_phase_night_long":"Light Rain Early"},{"day":"Tuesday","icon_code_day":39,"icon_code_day_extended":7103,"icon_code_night":29,"icon_code_night_extended":2900,"precipitation":0,"rain":0,"snow":0,"temperature_max":64,"temperature_min":43,"time_local":"2026-06-16T07:00:00+0500","time_utc":1781575200,"wx_phase_day_long":"PM Showers","wx_phase_night_long":"Partly Cloudy"},{"day":"Monday","icon_code_day":39,"icon_code_day_extended":7103,"icon_code_night":31,"icon_code_night_extended":3100,"precipitation":0,"rain":0,"snow":0,"temperature_max":63,"temperature_min":43,"time_local":"2026-06-15T07:00:00+0500","time_utc":1781488800,"wx_phase_day_long":"PM Showers","wx_phase_night_long":"Clear"},{"day":"Sunday","icon_code_day":39,"icon_code_day_extended":7103,"icon_code_night":31,"icon_code_night_extended":3100,"precipitation":0.01,"rain":0.01,"snow":0,"temperature_max":63,"temperature_min":42,"time_local":"2026-06-14T07:00:00+0500","time_utc":1781402400,"wx_phase_day_long":"PM Showers","wx_phase_night_long":"Clear"},{"day":"Saturday","icon_code_day":39,"icon_code_day_extended":7103,"icon_code_night":45,"icon_code_night_extended":6100,"precipitation":0.01,"rain":0.01,"snow":0,"temperature_max":62,"temperature_min":40,"time_local":"2026-06-13T07:00:00+0500","time_utc":1781316000,"wx_phase_day_long":"PM Showers","wx_phase_night_long":"Showers Early"},{"day":"Friday","icon_code_day":11,"icon_code_day_extended":1100,"icon_code_night":45,"icon_code_night_extended":6100,"precipitation":0.01,"rain":0.01,"snow":0,"temperature_max":60,"temperature_min":39,"time_local":"2026-06-12T07:00:00+0500","time_utc":1781229600,"wx_phase_day_long":"Showers","wx_phase_night_long":"Showers Early"},{"day":"Thursday","icon_code_day":11,"icon_code_day_extended":1201,"icon_code_night":11,"icon_code_night_extended":6301,"precipitation":0.04,"rain":0.04,"snow":0,"temperature_max":58,"temperature_min":40,"time_local":"2026-06-11T07:00:00+0500","time_utc":1781143200,"wx_phase_day_long":"Light Rain","wx_phase_night_long":"Light Rain Early"},{"day":"Wednesday","icon_code_day":11,"icon_code_day_extended":7304,"icon_code_night":12,"icon_code_night_extended":6300,"precipitation":0.05,"rain":0.05,"snow":0,"temperature_max":61,"temperature_min":40,"time_local":"2026-06-10T07:00:00+0500","time_utc":1781056800,"wx_phase_day_long":"PM Light Rain","wx_phase_night_long":"Rain Early"},{"day":"Tuesday","icon_code_day":11,"icon_code_day_extended":1100,"icon_code_night":29,"icon_code_night_extended":2900,"precipitation":0.02,"rain":0.02,"snow":0,"temperature_max":61,"temperature_min":40,"time_local":"2026-06-09T07:00:00+0500","time_utc":1780970400,"wx_phase_day_long":"Showers","wx_phase_night_long":"Partly Cloudy"}]}
Get 30-day historical daily summary — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13117/the+weather+channel+-+api/26595/get+30-day+historical+daily+summary?lat=37.31&long=71.73&unit=e' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

The "Get 1-day historical hourly summary" endpoint retrieves detailed hourly data for a specified day, providing insights into metrics such as temperature, humidity, and other relevant environmental parameters recorded throughout that day. This endpoint is designed for applications that require analysis of historical trends or patterns in environmental data, enabling users to understand fluctuations within a specific 24-hour period. Potential use cases include weather forecasting, climate research, energy consumption analysis, and agriculture planning, where users can leverage the hourly summaries to make informed decisions based on past environmental conditions.

Endpoint ID: 26596
GET https://docs.zylalabs.com/api/13117/the+weather+channel+-+api/26596/get+1-day+historical+hourly+summary
INPUT PARAMETERS

Get 1-day historical hourly summary — Endpoint Features

Object Description
lat Required Latitude of Location
long Required Longitude of Location
unit Required Unit system for measurements (e.g. 'm' for metric, 'e' for imperial)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

lat
long
unit
API EXAMPLE RESPONSE
JSON
{"hours":[{"cloud_ceiling":null,"day":"Wednesday","day_or_night":"N","expiration_time_utc":1783609200,"icon_code":31,"icon_code_extended":3100,"precipitation":0,"pressure_altimeter":29.78,"pressure_change":0.08,"pressure_mean_sea_level":1008.5,"pressure_tendency_code":1,"pressure_tendency_trend":"Rising","relative_humidity":53,"snow":0,"sunrise_time_local":"2026-07-08T04:59:41+0500","sunrise_time_utc":1783468781,"sunset_time_local":"2026-07-08T19:36:09+0500","sunset_time_utc":1783521369,"temperature":56,"temperature_change_24_hour":0,"temperature_dew_point":39,"temperature_feels_like":54,"temperature_heat_index":56,"temperature_max_24_hour":64,"temperature_max_since_7am":64,"temperature_min_24_hour":46,"temperature_wind_chill":54,"uv_description":"Low","uv_index":0,"valid_time_local":"2026-07-08T20:00:00+0500","valid_time_utc":1783522800,"visibility":10,"wind_direction":270,"wind_direction_cardinal":"W","wind_gust":null,"wind_speed":8,"wx_phrase_long":"Clear"},{"cloud_ceiling":null,"day":"Wednesday","day_or_night":"D","expiration_time_utc":1783605600,"icon_code":34,"icon_code_extended":3400,"precipitation":0,"pressure_altimeter":29.75,"pressure_change":0.06,"pressure_mean_sea_level":1007.4,"pressure_tendency_code":1,"pressure_tendency_trend":"Rising","relative_humidity":47,"snow":0,"sunrise_time_local":"2026-07-08T04:59:41+0500","sunrise_time_utc":1783468781,"sunset_time_local":"2026-07-08T19:36:09+0500","sunset_time_utc":1783521369,"temperature":58,"temperature_change_24_hour":0,"temperature_dew_point":38,"temperature_feels_like":56,"temperature_heat_index":58,"temperature_max_24_hour":64,"temperature_max_since_7am":64,"temperature_min_24_hour":46,"temperature_wind_chill":56,"uv_description":"Low","uv_index":0,"valid_time_local":"2026-07-08T19:00:00+0500","valid_time_utc":1783519200,"visibility":10,"wind_direction":280,"wind_direction_cardinal":"W","wind_gust":19,"wind_speed":9,"wx_phrase_long":"Fair"},{"cloud_ceiling":null,"day":"Wednesday","day_or_night":"D","expiration_time_utc":1783602000,"icon_code":30,"icon_code_extended":3000,"precipitation":0,"pressure_altimeter":29.72,"pressure_change":0.03,"pressure_mean_sea_level":1006.4,"pressure_tendency_code":1,"pressure_tendency_trend":"Rising","relative_humidity":41,"snow":0,"sunrise_time_local":"2026-07-08T04:59:41+0500","sunrise_time_utc":1783468781,"sunset_time_local":"2026-07-08T19:36:09+0500","sunset_time_utc":1783521369,"temperature":63,"temperature_change_24_hour":0,"temperature_dew_point":38,"temperature_feels_like":62,"temperature_heat_index":63,"temperature_max_24_hour":64,"temperature_max_since_7am":64,"temperature_min_24_hour":46,"temperature_wind_chill":62,"uv_description":"Low","uv_index":1,"valid_time_local":"2026-07-08T18:00:00+0500","valid_time_utc":1783515600,"visibility":10,"wind_direction":280,"wind_direction_cardinal":"W","wind_gust":21,"wind_speed":11,"wx_phrase_long":"Partly Cloudy"},{"cloud_ceiling":16400,"day":"Wednesday","day_or_night":"D","expiration_time_utc":1783598400,"icon_code":28,"icon_code_extended":2800,"precipitation":0,"pressure_altimeter":29.7,"pressure_change":-0.01,"pressure_mean_sea_level":1005.8,"pressure_tendency_code":2,"pressure_tendency_trend":"Falling","relative_humidity":44,"snow":0,"sunrise_time_local":"2026-07-08T04:59:41+0500","sunrise_time_utc":1783468781,"sunset_time_local":"2026-07-08T19:36:09+0500","sunset_time_utc":1783521369,"temperature":60,"temperature_change_24_hour":-1,"temperature_dew_point":38,"temperature_feels_like":58,"temperature_heat_index":60,"temperature_max_24_hour":64,"temperature_max_since_7am":64,"temperature_min_24_hour":46,"temperature_wind_chill":58,"uv_description":"Low","uv_index":1,"valid_time_local":"2026-07-08T17:00:00+0500","valid_time_utc":1783512000,"visibility":10,"wind_direction":280,"wind_direction_cardinal":"W","wind_gust":23,"wind_speed":12,"wx_phrase_long":"Mostly Cloudy"},{"cloud_ceiling":16400,"day":"Wednesday","day_or_night":"D","expiration_time_utc":1783594800,"icon_code":28,"icon_code_extended":2800,"precipitation":0,"pressure_altimeter":29.69,"pressure_change":-0.04,"pressure_mean_sea_level":1005.4,"pressure_tendency_code":2,"pressure_tendency_trend":"Falling","relative_humidity":41,"snow":0,"sunrise_time_local":"2026-07-08T04:59:41+0500","sunrise_time_utc":1783468781,"sunset_time_local":"2026-07-08T19:36:09+0500","sunset_time_utc":1783521369,"temperature":61,"temperature_change_24_hour":-1,"temperature_dew_point":37,"temperature_feels_like":60,"temperature_heat_index":61,"temperature_max_24_hour":64,"temperature_max_since_7am":64,"temperature_min_24_hour":46,"temperature_wind_chill":59,"uv_description":"Moderate","uv_index":3,"valid_time_local":"2026-07-08T16:00:00+0500","valid_time_utc":1783508400,"visibility":10,"wind_direction":290,"wind_direction_cardinal":"WNW","wind_gust":23,"wind_speed":11,"wx_phrase_long":"Mostly Cloudy"},{"cloud_ceiling":null,"day":"Wednesday","day_or_night":"D","expiration_time_utc":1783591200,"icon_code":30,"icon_code_extended":3000,"precipitation":0,"pressure_altimeter":29.69,"pressure_change":-0.07,"pressure_mean_sea_level":1005.4,"pressure_tendency_code":2,"pressure_tendency_trend":"Falling","relative_humidity":38,"snow":0,"sunrise_time_local":"2026-07-08T04:59:41+0500","sunrise_time_utc":1783468781,"sunset_time_local":"2026-07-08T19:36:09+0500","sunset_time_utc":1783521369,"temperature":64,"temperature_change_24_hour":-1,"temperature_dew_point":38,"temperature_feels_like":65,"temperature_heat_index":64,"temperature_max_24_hour":65,"temperature_max_since_7am":64,"temperature_min_24_hour":46,"temperature_wind_chill":64,"uv_description":"High","uv_index":6,"valid_time_local":"2026-07-08T15:00:00+0500","valid_time_utc":1783504800,"visibility":10,"wind_direction":290,"wind_direction_cardinal":"WNW","wind_gust":17,"wind_speed":8,"wx_phrase_long":"Partly Cloudy"},{"cloud_ceiling":null,"day":"Wednesday","day_or_night":"D","expiration_time_utc":1783587600,"icon_code":30,"icon_code_extended":3000,"precipitation":0,"pressure_altimeter":29.7,"pressure_change":-0.09,"pressure_mean_sea_level":1005.9,"pressure_tendency_code":2,"pressure_tendency_trend":"Falling","relative_humidity":40,"snow":0,"sunrise_time_local":"2026-07-08T04:59:41+0500","sunrise_time_utc":1783468781,"sunset_time_local":"2026-07-08T19:36:09+0500","sunset_time_utc":1783521369,"temperature":61,"temperature_change_24_hour":0,"temperature_dew_point":37,"temperature_feels_like":60,"temperature_heat_index":61,"temperature_max_24_hour":65,"temperature_max_since_7am":62,"temperature_min_24_hour":46,"temperature_wind_chill":60,"uv_description":"Very High","uv_index":8,"valid_time_local":"2026-07-08T14:00:00+0500","valid_time_utc":1783501200,"visibility":10,"wind_direction":300,"wind_direction_cardinal":"WNW","wind_gust":19,"wind_speed":9,"wx_phrase_long":"Partly Cloudy"},{"cloud_ceiling":null,"day":"Wednesday","day_or_night":"D","expiration_time_utc":1783584000,"icon_code":30,"icon_code_extended":3000,"precipitation":0,"pressure_altimeter":29.72,"pressure_change":-0.09,"pressure_mean_sea_level":1006.6,"pressure_tendency_code":2,"pressure_tendency_trend":"Falling","relative_humidity":44,"snow":0,"sunrise_time_local":"2026-07-08T04:59:41+0500","sunrise_time_utc":1783468781,"sunset_time_local":"2026-07-08T19:36:09+0500","sunset_time_utc":1783521369,"temperature":60,"temperature_change_24_hour":0,"temperature_dew_point":38,"temperature_feels_like":59,"temperature_heat_index":60,"temperature_max_24_hour":65,"temperature_max_since_7am":62,"temperature_min_24_hour":46,"temperature_wind_chill":58,"uv_description":"Very High","uv_index":10,"valid_time_local":"2026-07-08T13:00:00+0500","valid_time_utc":1783497600,"visibility":10,"wind_direction":290,"wind_direction_cardinal":"WNW","wind_gust":19,"wind_speed":9,"wx_phrase_long":"Partly Cloudy"},{"cloud_ceiling":null,"day":"Wednesday","day_or_night":"D","expiration_time_utc":1783580400,"icon_code":30,"icon_code_extended":3000,"precipitation":0,"pressure_altimeter":29.75,"pressure_change":-0.09,"pressure_mean_sea_level":1007.5,"pressure_tendency_code":2,"pressure_tendency_trend":"Falling","relative_humidity":44,"snow":0,"sunrise_time_local":"2026-07-08T04:59:41+0500","sunrise_time_utc":1783468781,"sunset_time_local":"2026-07-08T19:36:09+0500","sunset_time_utc":1783521369,"temperature":62,"temperature_change_24_hour":0,"temperature_dew_point":40,"temperature_feels_like":62,"temperature_heat_index":62,"temperature_max_24_hour":65,"temperature_max_since_7am":62,"temperature_min_24_hour":46,"temperature_wind_chill":62,"uv_description":"Very High","uv_index":10,"valid_time_local":"2026-07-08T12:00:00+0500","valid_time_utc":1783494000,"visibility":10,"wind_direction":290,"wind_direction_cardinal":"WNW","wind_gust":null,"wind_speed":7,"wx_phrase_long":"Partly Cloudy"},{"cloud_ceiling":null,"day":"Wednesday","day_or_night":"D","expiration_time_utc":1783576800,"icon_code":11,"icon_code_extended":1100,"precipitation":0,"pressure_altimeter":29.79,"pressure_change":-0.08,"pressure_mean_sea_level":1008.7,"pressure_tendency_code":2,"pressure_tendency_trend":"Falling","relative_humidity":52,"snow":0,"sunrise_time_local":"2026-07-08T04:59:41+0500","sunrise_time_utc":1783468781,"sunset_time_local":"2026-07-08T19:36:09+0500","sunset_time_utc":1783521369,"temperature":58,"temperature_change_24_hour":0,"temperature_dew_point":40,"temperature_feels_like":57,"temperature_heat_index":58,"temperature_max_24_hour":65,"temperature_max_since_7am":58,"temperature_min_24_hour":46,"temperature_wind_chill":56,"uv_description":"Very High","uv_index":9,"valid_time_local":"2026-07-08T11:00:00+0500","valid_time_utc":1783490400,"visibility":7,"wind_direction":290,"wind_direction_cardinal":"WNW","wind_gust":16,"wind_speed":8,"wx_phrase_long":"Rain Shower"},{"cloud_ceiling":null,"day":"Wednesday","day_or_night":"D","expiration_time_utc":1783573200,"icon_code":30,"icon_code_extended":3000,"precipitation":0,"pressure_altimeter":29.81,"pressure_change":-0.09}],"_note":"Response truncated for documentation purposes"}
Get 1-day historical hourly summary — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13117/the+weather+channel+-+api/26596/get+1-day+historical+hourly+summary?lat=37.31&long=71.73&unit=e' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

The "Get Current Air Quality Index" endpoint provides users with real-time data regarding the air quality in a specified location, measured by the Air Quality Index (AQI) scale. This endpoint retrieves information on various pollutants such as PM2.5, PM10, CO, SO2, NO2, and ozone levels, along with corresponding health advisories, ensuring users can assess environmental conditions related to air quality. Use cases for this endpoint include enabling mobile applications for outdoor activity planning, informing residents of urban areas about pollution levels to promote public health, and supporting research initiatives focused on environmental health and climate change.

Endpoint ID: 26597
GET https://docs.zylalabs.com/api/13117/the+weather+channel+-+api/26597/get+current+air+quality+index
INPUT PARAMETERS

Get current Air Quality Index — Endpoint Features

Object Description
lat Required Latitude of Location
long Required Longitude of Location

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

lat
long
API EXAMPLE RESPONSE
JSON
{"category":"Moderate","category_index":2,"category_index_color":"FFFF24","disclaimer":"Neither the European Commission nor ECMWF is responsible for any use of this information.","expire_time_utc":1783526446,"index":90,"latitude":37.32,"longitude":71.72,"messages":[{"text":"Air quality is acceptable; however, for some pollutants there may be a moderate health concern for a very small number of people who are unusually sensitive to air pollution.","title":"General"},{"text":"Consider reducing prolonged or heavy exertion. Watch for symptoms such as coughing or shortness of breath. These are signs to take it easier.","title":"Sensitive Groups"}],"pollutants":[{"amount":100.0,"category":"Good","category_index":1,"index":1,"name":"CO","phrase":"Carbon Monoxide","unit":"\u00b5g/m3"},{"amount":1.06,"category":"Good","category_index":1,"index":1,"name":"NO2","phrase":"Nitrogen Dioxide","unit":"\u00b5g/m3"},{"amount":78.46,"category":"Moderate","category_index":2,"index":90,"name":"O3","phrase":"Ozone","unit":"\u00b5g/m3"},{"amount":12.86,"category":"Good","category_index":1,"index":12,"name":"PM10","phrase":"Particulate matter less than 10 microns","unit":"\u00b5g/m3"},{"amount":4.66,"category":"Good","category_index":1,"index":27,"name":"PM2.5","phrase":"Particulate matter less than 2.5 microns","unit":"\u00b5g/m3"},{"amount":1.0,"category":"Good","category_index":1,"index":1,"name":"SO2","phrase":"Sulfur Dioxide","unit":"\u00b5g/m3"}],"primary_pollutant":"O3","source":"Contains Copernicus Atmosphere Monitoring Service information 2026 and/or modified Copernicus Atmosphere Monitoring Service information 2026. May also contain SILAM information and/or modified SILAM information from the Finnish Meteorological Institute, made available via https://en.ilmatieteenlaitos.fi/open-data-licence"}
Get current Air Quality Index — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13117/the+weather+channel+-+api/26597/get+current+air+quality+index?lat=37.31&long=71.73' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

The "Get Air Quality Index Forecast" endpoint provides users with detailed predictions of air quality levels over a specified time frame. This API endpoint retrieves real-time and forecasted data on various air pollutants, such as PM2.5, PM10, NO2, SO2, and CO, translating them into an Air Quality Index (AQI) that categorizes overall air quality into levels ranging from good to hazardous. The primary purpose of this endpoint is to inform individuals, environmental agencies, and health organizations about expected air quality conditions, allowing for proactive measures to be taken for vulnerable populations. Use cases include planning outdoor activities, alerting communities during pollution spikes, and guiding policy decisions related to environmental health and regulations.

Endpoint ID: 26598
GET https://docs.zylalabs.com/api/13117/the+weather+channel+-+api/26598/get+air+quality+index+forecast
INPUT PARAMETERS

Get Air Quality Index forecast — Endpoint Features

Object Description
lat Required Latitude of Location
long Required Longitude of Location
hours Required Forecast horizon in hours , 12, 24, 48, 72

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

lat
long
hours
API EXAMPLE RESPONSE
JSON
{"hours":[{"category":"Moderate","category_index":2,"category_index_color":"FFFF24","disclaimer":"Neither the European Commission nor ECMWF is responsible for any use of this information.","expire_time_utc":1783526478,"index":90,"latitude":37.32,"longitude":71.72,"messages":[{"text":"Air quality is acceptable; however, for some pollutants there may be a moderate health concern for a very small number of people who are unusually sensitive to air pollution.","title":"General"},{"text":"Consider reducing prolonged or heavy exertion. Watch for symptoms such as coughing or shortness of breath. These are signs to take it easier.","title":"Sensitive Groups"}],"pollutants":[{"amount":100.0,"category":"Good","category_index":1,"index":1,"name":"CO","phrase":"Carbon Monoxide","unit":"\u00b5g/m3"},{"amount":1.06,"category":"Good","category_index":1,"index":1,"name":"NO2","phrase":"Nitrogen Dioxide","unit":"\u00b5g/m3"},{"amount":78.46,"category":"Moderate","category_index":2,"index":90,"name":"O3","phrase":"Ozone","unit":"\u00b5g/m3"},{"amount":12.86,"category":"Good","category_index":1,"index":12,"name":"PM10","phrase":"Particulate matter less than 10 microns","unit":"\u00b5g/m3"},{"amount":4.66,"category":"Good","category_index":1,"index":27,"name":"PM2.5","phrase":"Particulate matter less than 2.5 microns","unit":"\u00b5g/m3"},{"amount":1.0,"category":"Good","category_index":1,"index":1,"name":"SO2","phrase":"Sulfur Dioxide","unit":"\u00b5g/m3"}],"primary_pollutant":"O3","source":"Contains Copernicus Atmosphere Monitoring Service information 2026 and/or modified Copernicus Atmosphere Monitoring Service information 2026. May also contain SILAM information and/or modified SILAM information from the Finnish Meteorological Institute, made available via https://en.ilmatieteenlaitos.fi/open-data-licence"},{"category":"Moderate","category_index":2,"category_index_color":"FFFF24","disclaimer":"Neither the European Commission nor ECMWF is responsible for any use of this information.","expire_time_utc":1783526478,"index":87,"latitude":37.32,"longitude":71.72,"messages":[{"text":"Air quality is acceptable; however, for some pollutants there may be a moderate health concern for a very small number of people who are unusually sensitive to air pollution.","title":"General"},{"text":"Consider reducing prolonged or heavy exertion. Watch for symptoms such as coughing or shortness of breath. These are signs to take it easier.","title":"Sensitive Groups"}],"pollutants":[{"amount":100.0,"category":"Good","category_index":1,"index":1,"name":"CO","phrase":"Carbon Monoxide","unit":"\u00b5g/m3"},{"amount":1.42,"category":"Good","category_index":1,"index":1,"name":"NO2","phrase":"Nitrogen Dioxide","unit":"\u00b5g/m3"},{"amount":77.25,"category":"Moderate","category_index":2,"index":87,"name":"O3","phrase":"Ozone","unit":"\u00b5g/m3"},{"amount":13.07,"category":"Good","category_index":1,"index":12,"name":"PM10","phrase":"Particulate matter less than 10 microns","unit":"\u00b5g/m3"},{"amount":4.35,"category":"Good","category_index":1,"index":26,"name":"PM2.5","phrase":"Particulate matter less than 2.5 microns","unit":"\u00b5g/m3"},{"amount":1.0,"category":"Good","category_index":1,"index":1,"name":"SO2","phrase":"Sulfur Dioxide","unit":"\u00b5g/m3"}],"primary_pollutant":"O3","source":"Contains Copernicus Atmosphere Monitoring Service information 2026 and/or modified Copernicus Atmosphere Monitoring Service information 2026. May also contain SILAM information and/or modified SILAM information from the Finnish Meteorological Institute, made available via https://en.ilmatieteenlaitos.fi/open-data-licence"},{"category":"Moderate","category_index":2,"category_index_color":"FFFF24","disclaimer":"Neither the European Commission nor ECMWF is responsible for any use of this information.","expire_time_utc":1783526478,"index":80,"latitude":37.32,"longitude":71.72,"messages":[{"text":"Air quality is acceptable; however, for some pollutants there may be a moderate health concern for a very small number of people who are unusually sensitive to air pollution.","title":"General"},{"text":"Consider reducing prolonged or heavy exertion. Watch for symptoms such as coughing or shortness of breath. These are signs to take it easier.","title":"Sensitive Groups"}],"pollutants":[{"amount":100.0,"category":"Good","category_index":1,"index":1,"name":"CO","phrase":"Carbon Monoxide","unit":"\u00b5g/m3"},{"amount":1.78,"category":"Good","category_index":1,"index":1,"name":"NO2","phrase":"Nitrogen Dioxide","unit":"\u00b5g/m3"},{"amount":76.06,"category":"Moderate","category_index":2,"index":80,"name":"O3","phrase":"Ozone","unit":"\u00b5g/m3"},{"amount":13.19,"category":"Good","category_index":1,"index":12,"name":"PM10","phrase":"Particulate matter less than 10 microns","unit":"\u00b5g/m3"},{"amount":4.19,"category":"Good","category_index":1,"index":24,"name":"PM2.5","phrase":"Particulate matter less than 2.5 microns","unit":"\u00b5g/m3"},{"amount":1.0,"category":"Good","category_index":1,"index":1,"name":"SO2","phrase":"Sulfur Dioxide","unit":"\u00b5g/m3"}],"primary_pollutant":"O3","source":"Contains Copernicus Atmosphere Monitoring Service information 2026 and/or modified Copernicus Atmosphere Monitoring Service information 2026. May also contain SILAM information and/or modified SILAM information from the Finnish Meteorological Institute, made available via https://en.ilmatieteenlaitos.fi/open-data-licence"},{"category":"Moderate","category_index":2,"category_index_color":"FFFF24","disclaimer":"Neither the European Commission nor ECMWF is responsible for any use of this information.","expire_time_utc":1783526478,"index":74,"latitude":37.32,"longitude":71.72,"messages":[{"text":"Air quality is acceptable; however, for some pollutants there may be a moderate health concern for a very small number of people who are unusually sensitive to air pollution.","title":"General"},{"text":"Consider reducing prolonged or heavy exertion. Watch for symptoms such as coughing or shortness of breath. These are signs to take it easier.","title":"Sensitive Groups"}],"pollutants":[{"amount":100.0,"category":"Good","category_index":1,"index":1,"name":"CO","phrase":"Carbon Monoxide","unit":"\u00b5g/m3"},{"amount":2.17,"category":"Good","category_index":1,"index":1,"name":"NO2","phrase":"Nitrogen Dioxide","unit":"\u00b5g/m3"},{"amount":74.91,"category":"Moderate","category_index":2,"index":74,"name":"O3","phrase":"Ozone","unit":"\u00b5g/m3"},{"amount":13.31,"category":"Good","category_index":1,"index":12,"name":"PM10","phrase":"Particulate matter less than 10 microns","unit":"\u00b5g/m3"},{"amount":4.12,"category":"Good","category_index":1,"index":23,"name":"PM2.5","phrase":"Particulate matter less than 2.5 microns","unit":"\u00b5g/m3"},{"amount":1.0,"category":"Good","category_index":1,"index":1,"name":"SO2","phrase":"Sulfur Dioxide","unit":"\u00b5g/m3"}],"primary_pollutant":"O3","source":"Contains Copernicus Atmosphere Monitoring Service information 2026 and/or modified Copernicus Atmosphere Monitoring Service information 2026. May also contain SILAM information and/or modified SILAM information from the Finnish Meteorological Institute, made available via https://en.ilmatieteenlaitos.fi/open-data-licence"},{"category":"Moderate","category_index":2,"category_index_color":"FFFF24","disclaimer":"Neither the European Commission nor ECMWF is responsible for any use of this information.","expire_time_utc":1783526478,"index":67,"latitude":37.32,"longitude":71.72,"messages":[{"text":"Air quality is acceptable; however, for some pollutants there may be a moderate health concern for a very small number of people who are unusually sensitive to air pollution.","title":"General"},{"text":"Consider reducing prolonged or heavy exertion. Watch for symptoms such as coughing or shortness of breath. These are signs to take it easier.","title":"Sensitive Groups"}],"pollutants":[{"amount":100.0,"category":"Good","category_index":1,"index":1,"name":"CO","phrase":"Carbon Monoxide","unit":"\u00b5g/m3"},{"amount":2.64,"category":"Good","category_index":1,"index":2,"name":"NO2","phrase":"Nitrogen Dioxide","unit":"\u00b5g/m3"},{"amount":73.84,"category":"Moderate","category_index":2,"index":67,"name":"O3","phrase":"Ozone","unit":"\u00b5g/m3"},{"amount":13.41,"category":"Good","category_index":1,"index":12,"name":"PM10","phrase":"Particulate matter less than 10 microns","unit":"\u00b5g/m3"},{"amount":4.01,"category":"Good","category_index":1,"index":23,"name":"PM2.5","phrase":"Particulate matter less than 2.5 microns","unit":"\u00b5g/m3"},{"amount":1.0,"category":"Good","category_index":1,"index":1,"name":"SO2","phrase":"Sulfur Dioxide","unit":"\u00b5g/m3"}],"primary_pollutant":"O3","source":"Contains Copernicus Atmosphere Monitoring Service information 2026 and/or modified Copernicus Atmosphere Monitoring Service information 2026. May also contain SILAM information and/or modified SILAM information from the Finnish Meteorological Institute, made available via https://en.ilmatieteenlaitos.fi/open-data-licence"},{"category":"Moderate","category_index":2,"category_index_color":"FFFF24","disclaimer":"Neither the European Commission nor ECMWF is responsible for any use of this information.","expire_time_utc":1783526478,"index":61,"latitude":37.32,"longitude":71.72,"messages":[{"text":"Air quality is acceptable; however, for some pollutants there may be a moderate health concern for a very small number of people who are unusually sensitive to air pollution.","title":"General"},{"text":"Consider reducing prolonged or heavy exertion. Watch for symptoms such as coughing or shortness of breath. These are signs to take it easier.","title":"Sensitive Groups"}],"pollutants":[{"amount":100.0,"category":"Good","category_index":1,"index":1,"name":"CO","phrase":"Carbon Monoxide","unit":"\u00b5g/m3"},{"amount":3.19,"category":"Good","category_index":1,"index":2,"name":"NO2","phrase":"Nitrogen Dioxide","unit":"\u00b5g/m3"}]}],"_note":"Response truncated for documentation purposes"}
Get Air Quality Index forecast — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13117/the+weather+channel+-+api/26598/get+air+quality+index+forecast?lat=37.31&long=71.73&hours=12' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the The Weather Channel - API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

(Save 2 months with annual billing 🎉)

🚀 Enterprise Plan

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring
zeiss-logo amazon-logo zoom-logo decathlon-logo

Trusted by leading companies

Overview

The Weather Channel API (Unofficial)

Available Features

Current Weather

Get real-time weather conditions for any supported location, including temperature, humidity, wind information, visibility, and weather conditions.

Daily Forecast

Retrieve multi-day weather forecasts with detailed information such as highs and lows, precipitation chances, and forecast narratives.

Hourly Forecast

Access hour-by-hour forecast data to help plan activities and monitor changing weather conditions throughout the day.

15-Minute Forecast

Get high-frequency short-term forecast updates for more accurate local weather tracking.

When Will It Rain?

Receive precipitation outlooks and estimated timing for upcoming rainfall events.

Weather Boundaries

Access regional weather-related boundary information for supported products and environmental datasets.

Air Quality Index

Get the Air Quality Index for the a specific locations with Forecast

Historical Data

Get the Historical Weather Data for the a specific locations

Supported Units

  • Metric
  • Imperial

Response Format

All responses are returned in JSON format.

Use Cases

  • Weather applications
  • Travel planning
  • Outdoor activity planning
  • Logistics and delivery services
  • Agriculture and farming
  • Environmental monitoring
  • Smart home and IoT integrations

Coming Soon

The API is actively being expanded. Additional weather products and forecast datasets will be added in future updates

New endpoints and features will be released regularly.

The Weather Channel - API FAQs

Each endpoint returns specific weather-related data. For example, the "Get Current Weather Conditions" endpoint provides real-time metrics like temperature and humidity, while the "Get Daily Forecast" endpoint offers multi-day forecasts including highs, lows, and precipitation chances.

Key fields vary by endpoint. For instance, the "Get Current Weather Conditions" includes fields like temperature, humidity, and wind speed, while the "Get Air Quality Index" features pollutant levels and health advisories.

Parameters differ by endpoint. For example, the "Get Current Weather Conditions" accepts location coordinates or city names, while the "Get 15-Minute Forecast" requires latitude and longitude for precise short-term predictions.

Response data is structured in JSON format. Each endpoint's response contains relevant fields organized into objects or arrays, making it easy to parse. For example, the "Get Daily Forecast" returns an array of forecast days, each with detailed weather metrics.

The API sources its data from various meteorological services and environmental monitoring systems. This ensures a comprehensive and accurate representation of weather conditions and air quality metrics.

Typical use cases include travel planning, outdoor event scheduling, and agricultural management. For instance, the "When Will It Rain" endpoint is particularly useful for event coordinators needing to anticipate rainfall.

Users can customize requests by specifying parameters such as location, date range, and product filters. For example, when using the "Get nearby locations," users can define the product type and search radius to refine results.

Users can leverage the returned data for informed decision-making. For example, the "Get Hourly Forecast" provides detailed hourly weather predictions, allowing users to plan activities based on expected conditions like temperature and precipitation.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs