Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Getting Started Zip Code API

Overview

These instructions describe how to get started with the Zip Code Api. The examples in this article use Postman. You can get postman here 

  1. Pre-Requisites for Zip Code API
  2. Making a request for a single Zip Code
  3. Evaluating single zip code response
  4. Making a request for Zip Codes in California
  5. Evaluating search response

Pre-Requisites for Zip Code API

Before you start using this API, you have to complete the following:

  1. Register to Metadapi.com
  2. Subscribe to the Zip Code API using any available tier (if you are just trying this API the “free” tier is available).
  3. Get your API Key
  4. Make sure you have Postman installed.

Making a request for a single zip code

To get started, let’s get the Zip Code of the famous US city Beverly Hills 90210. We are interested in all of the details of that zip code.

The Zip Code api host is https://global.metadapi.com/zipc/v1/zipcodes/{zipCode} and the API Key must be included as part of the header. Let’s get the call started in Postman.

First create a new GET request

Enter the request url to get a zip code

https://global.metadapi.com/zipc/v1/zipcodes/90210


Enter the API Key header where the key name is Ocp-Apim-Subscription-Key and the Value is you API key. (get your API key).



This post first appeared on Metadapi, please read the originial post: here

Share the post

Getting Started Zip Code API

×

Subscribe to Metadapi

Get updates delivered right to your inbox!

Thank you for your subscription

×