NAV Navbar

Introduction

Welcome to the Zip-code.online API! You can use our API to access Zipcode API endpoints, which can get you information on Zipcodes in radius, info about zipcodes, lat and long for zipcodes, and zipcode in a radius from our database.

Authentication

No api key required at this time.

Zipcodes

Zipcode Lookup

HTTP Request

GET https://api.Zip-code.online/v1/lookup/zipcode={zipcode}

Query Parameters

Parameter Description
Zipcode Required to retreive info.

Distance between two zipcodes.

HTTP Request

GET https://api.Zip-code.online/v1/distance/zipcode1={zipcode}&zipcode2=:{zipcode2}

URL Parameters

Parameter Description
Zipcode 1 First Zipcode
Zipcode 2 Second Zipcode

Look up zipcode by City, State.

HTTP Request

GET https://api.Zip-code.online/v1/lookup/name={city},{state}

URL Parameters

Parameter Description
City City
State State

Radius search for all zipcode in a certain distance.

HTTP Request

GET https://api.Zip-code.online/v1//radius/zipcode={zipcode}&distance={distance}

URL Parameters

Parameter Description
Zipcode Zipcode that you want radius from.
Distance Distance in miles from zipcode.