get
https://api.genability.com/rest/public/zipcodes/
Retrieve details for a ZIP code, including city, county, latitude, longitude, and time zone information.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Use this endpoint to retrieve details for a ZIP code, including city, county, latitude, longitude, and time zone information.
When to use this endpoint
Use GET /rest/public/zipcodes/{zipCode} when you need to:
- Retrieve display information for a ZIP code.
- Get location metadata such as city, county, latitude, and longitude.
- Check time zone and daylight saving information for a ZIP code.
- Enrich tariff or location search workflows with ZIP code details.
Path parameter
| Parameter | Type | Description |
|---|---|---|
zipCode | String | ZIP code to retrieve. |
Returned data
The response returns ZIP code metadata in the standard response format, including fields such as:
| Field | Type | Description |
|---|---|---|
zipcode | String | 5-character ZIP code. |
latitude | Integer | Latitude of the ZIP code location. |
longitude | Integer | Longitude of the ZIP code location. |
city | String | Display name of the city containing this ZIP code. |
county | String | Display name of the county containing this ZIP code. |
areaCode | String | Area code or codes for this ZIP code. |
elevation | Integer | Highest point of elevation, in feet, within this ZIP code. |
dayLightSaving | Boolean | Whether this ZIP code observes daylight saving time. |
state | String | Two-character state abbreviation. |
timeZone | Integer | Numeric time zone value. |
