Ziptastic API Documentation

Reverse Geocoding API

Reverse Geocoding is the process of turning coordinates into a readable locale information.

Ziptastic's API usage for reverse geocoding is as follows

https://zip.getziptastic.com/v3/reverse/<latitude>/<longitude>/<radius in meters>/
Response
[
    {
        "city": "Owosso",
        "geohash": "dpshsfsytw8k",
        "country": "US",
        "county": "Shiawassee",
        "state": "Michigan",
        "state_short": "MI",
        "postal_code": "48867",
        "latitude": 42.9934,
        "longitude": -84.1595,
        "timezone": "America/Detroit"
    }
]

Forward Geocoding API

Forward Geocoding is the process of turning a postal code into a readable locale information.

Ziptastic's API usage for forward geocoding is as follows

https://zip.getziptastic.com/v3/<two letter country code>/<postal code>/
Response
[
    {
        "county": "Shiawassee",
        "city": "Owosso",
        "state": "Michigan",
        "state_short": "MI",
        "geohash": "dpshsfsytw8k",
        "timezone": "America/Detroit",
        "latitude": 42.9934,
        "country": "US",
        "longitude": -84.1595,
        "postal_code": "48867"
    }
]

Official Ziptastic Libraries

Head over to Github to get access to our official libraries!

We have libraries for jQuery, PHP, Python and more coming soon!

You can also find more examples here.