What ZIP code am I in?
Find the ZIP code where you are right now. One click asks your browser for your position and returns the ZIP of the nearest US address and the town it belongs to.
Free for a few lookups a minute on a shared key. Need more? Get a free key for 10,000 a month, or run a whole file through the spreadsheet geocoder.
How it works
A ZIP code is a set of mail delivery routes, not an area on a map: neighbours can be in different ZIPs, and some ZIPs are a single building or a block of PO boxes. So the answer is not "the ZIP whose shape you are standing in". It is the ZIP on the nearest address point (National Address Database or OpenAddresses), or on the nearest street segment (TIGER) when no address point is close. That is the ZIP to write on an envelope addressed to where you are.
In your code
curl "https://api.geocode.net/v1/reverse?lat=39.1582&lng=-75.5247" -H "X-API-Key: YOUR_KEY"
{ "results": [ { "formatted": "1 W Loockerman ST, Dover, DE 19904",
"components": { "city": "Dover", "state": "DE", "zip": "19904" } } ] }
Notes
- Census statistics use ZCTAs (ZIP Code Tabulation Areas), areas drawn from ZIP codes. Add
fields=censusto get the ZCTA as well; it usually matches the ZIP, but not always. - ZIP+4 needs USPS data that cannot be redistributed, so it is not offered.
- Nothing is requested until you click, and the position is not stored.
Ready to geocode for real?
10,000 free lookups a month, every append included, no card.
Where am I, one question per page.
What is my address?
Find the street address where you are right now.
GET /v1/reverse?fields=censusWhat county am I in?
Find the county you are in right now.
GET /v1/reverse?fields=cdWhat congressional district am I in?
Find your congressional district from where you are.
GET /v1/reverse?fields=statelegWhat legislative district am I in?
Find your state senate and state house districts from where you are.
GET /v1/reverse?fields=schoolWhat school district am I in?
Find your school district from where you are.
GET /v1/reverse?fields=censusWhat census tract am I in?
Find the census tract and block group you are in.
GET /v1/reverse?fields=timezoneWhat time zone am I in?
Find your time zone: the IANA zone name, the current UTC offset and abbreviation, and whether daylight saving is observed.