Skip to content

Search the Omeda Knowledge Base

Postal Info Lookup


The Postal Information API returns postal information for a given postal code. The postal data is updated as available from the USPS, and field definitions can be found here:

Base Resource URI

For Production, use:{brandAbbreviation}/postalinfo/*

For Testing, use:{brandAbbreviation}/postalinfo/*
is the abbreviation for the brand to which the data is being posted.

Technical Requirements

The HTTP header must contain the following elements:

a unique id provided to you by Omeda to access your data. The request will fail without a valid id.
a content type supported by this resource. See Supported Content Types for more details. If omitted, the default content type is application/json.

Supported Content Types

There are three content types supported. If omitted, the default content type is application/json.

application/xml, text/xml

JSON is the preferred data exchange format, because it is lightweight and, in most cases, faster to process and utilizes less bandwidth. There are many available open-source JSON libraries available. See for details.

Supported HTTP Methods

There is one HTTP method supported:

See W3C’s POST specs for details.

Field Definition

The following tables describe the data elements that can be included in the POST method to lookup data in the database.

PostalInfo Element

Attribute NameRequired?Description
PostalInforequiredArray element containing one postal code element (see below).

Postal Info Element

Attribute NameRequired?Description
ZipCoderequiredThe zip code for which you are requesting information about. Field definitions found here:

Request Examples

JSON Example

    "PostalInfo": [
            "ZipCode": 60062

Response Examples

Two responses are possible: a successful POST (200 OK Status) or a failed POST (400 Bad Request/403 Forbidden/404 Not Found/405 Method Not Allowed Statuses). See W3C’s Status Codes.

Successful Submission

A successful POST submission will return postal information for the given zip code. This will require parsing to retrieve the information you require.

JSON Example

         "countyFips":"031  ",
         "timeZone":"6 ",
         "cbsaName":"Chicago-Naperville-Joliet IL-IN-WI",
         "msaName":"Chicago-Gary-Kenosha IL-IN-WI CMSA",
         "pmsaName":"Chicago IL PMSA",
         "division":"East North Central",
         "classificationCode":" ",
         "multiCounty":" ",
         "csaname":"Chicago-Naperville-Michigan City, IL-IN-WI",
         "cbsaDivName":"Chicago-Joliet-Naperville, IL",
Table of Contents
Knowledge Base Feedback