Zip Code
Description: Provides information about postal codes including location data, demographics, and associated areas.
API Response Structure:
{
"zipCode": {
"code": "10001",
"type": "Standard",
"location": {
"city": "New York",
"state": "NY",
"country": "USA",
"coordinates": {
"latitude": 40.7506,
"longitude": -73.9971
}
}
},
"demographics": {
"population": 21102,
"medianAge": 35,
"medianIncome": "$75,000",
"householdSize": 2.1
},
"areas": {
"neighborhoods": ["Chelsea", "Midtown"],
"nearbyZips": ["10002", "10003"]
},
"services": {
"postOffice": {
"name": "Madison Square Station",
"address": "149 E 23rd St",
"hours": "9 AM - 5 PM"
}
},
"type": "instantAnswers",
"configType": "zipCode"
}
Fields:
-
zipCode
(object): Postal code information-
code
(string): Zip code -
type
(string): Code type -
location
(object): Geographic information
-
-
demographics
(object): Population statistics -
areas
(object): Related areas -
services
(object): Local services -
type
(string): Always "instantAnswers" -
configType
(string): Always "zipCode"