API Overview
This API provides current weather information for US cities, including temperature, wind speed, visibility, precipitation, and other weather details based on ZIP codes.
Live Weather Information
Retrieve current temperature, description, wind speed, and more for US zip codes.
Detailed Data
Includes additional data such as precipitation, wind chill, heat index, visibility, and more.
Frequent updates
Weather is updated hourly 24x7.
City | State | Temp (°F) | Temp (°C) | Weather | Wind (MPH) | Wind Direction | Humidity (%) | Visibility (Miles) | Precipitation Last Hour | Wind Chill | Heat Index |
---|---|---|---|---|---|---|---|---|---|---|---|
Buffalo | NY | 31 | -0.6 | Cloudy | 22 | W | 63 | 10 | 0 | 21 | NA |
Sonoma | CA | 29.0 | -1.7 | Fair | 3.5 | NE | 100 | 10 | 0 | 27 | NA |
Whitefish | MT | 41.0 | 5.0 | Mostly Cloudy | 8.1 | SSW | 62 | 7 | 0 | 27 | NA |
Honolulu | HI | 76.0 | 24.4 | Partly Cloudy | 18.4 | E | 56 | 12 | 4 | NA | 83 |
Bartlesville | OK | 45.0 | 7.2 | Fair | 7 | N | 61 | 10 | 16 | 38 | NA |
How to Use
API Endpoint
https://api.interzoid.com/getweatherzipcode
Sample Request
https://api.interzoid.com/getweatherzipcode?license=[your-api-license-key]&zip=14201
Sample Response
{"City":"Buffalo","State":"NY","TempF":"31","TempC":"-0.6","Weather":"Cloudy","WindMPH":"22","WindDir":"W","RelativeHumidity":"63","VisibilityMiles":"10","PrecipitationLastHour":"0","WindChill":"21","HeatIndex":"NA","Code":"Success","Credits":"20063378"}
cURL Example
curl --header "x-api-key: [license-key]" "https://api.interzoid.com/getweatherzipcode?zip=43210"
Additional Information
Optional OpenAPI Specification
An OpenAPI Specification (OAS) is a standardized format for describing the structure, endpoints, and functionality of a RESTful API in a machine-readable format.
It is a blueprint for developers and enables integration by defining request and response schemas, authentication methods, and available operations.
YAML JSON