Ensure deliverability with an address validation API

Up to 20% of packages struggle to get delivered due to errors in address validation. Typos, missing suite numbers, and incorrect postal codes all make address validation difficult. Our Address Verification API provides your customers with the best purchase experience by validating addresses and ensuring deliverability.

The shipping infrastructure of ecommerce

Wish logo
Infinite Discs logo
Everything But The House logo
Snack Crate logo
Sticker Mule logo
Atoms logo
Vanishing INC logo
Ritual logo
Teespring logo
Shiek logo
BackerKit logo
Qualia logo

Ship better with EasyPost's Address Verification API

Free with each label purchase

Once integrated with our Shipping API, you have full access to our CASS-Certified address validation API.

Verify addresses worldwide

Our Address Verification API accurately verifies addresses in over 240 countries and territories.

Technology you can trust

EasyPost's fast response time, robust infrastructure, and reliable uptime make our solution dependable.

How it works

Submit an address

Provide full destination address: unit, street, city, state, zip, and country.

EasyPost validates the address

Our Address Verification API reviews the address, correcting or flagging it using our worldwide database.

Ship with confidence

Have peace of mind knowing that your package is headed for a valid destination.

Add address verification seamlessly

# Import the EasyPost client.
import easypost

# Setup the client with your API key.
easypost.api_key = '259DA788-39A3-439E-BA1E-BC541B8BA520'

# Create and verify an address.
easypost.Address.create(
    verify=true,
    street1='417 Montgomery Street',
    street2='FL 5',
    city='San Francisco',
    state='CA',
    zip='94104',
    country='US',
    company='EasyPost'
)
{
  id: 'adr_3eb87ded5a824fd5bde6f6c977c33a30',
  object: 'Address',
  created_at: '2017-05-08T19:31:54Z',
  updated_at: '2017-05-08T19:31:54Z',
  mode: 'test',
  name: null,
  company: 'EASYPOST',
  street1: '417 MONTGOMERY ST STE 500',
  street2: '',
  city: 'SAN FRANCISCO',
  state: 'CA',
  zip: '94104-1100',
  country: 'US',
  phone: '4151234567',
  email: null,
  carrier_facility: null,
  residential: false,
  federal_tax_id: null,
  state_tax_id: null,
  verifications: {
    delivery: {
      success: true,
      errors: [],
      details: {
        longitude: -122.40288,
        latitude: 37.79298,
        time_zone: 'America/Los_Angeles',
      },
    },
  },
}

Address verification for every carrier

USPS logo
UPS logo
FedEx logo
DHL logo
Passport logo
Purolator logo
Canada Post logo
OnTrac logo
GLS logo
DPD logo
Royal Mail logo

Reduce data entry errors and increase deliverability

Now that over 50% of internet traffic is via mobile devices, people are making purchases from their phones more than ever, but auto-correct functionality isn't always your friend. Using an address validation API helps your customers provide their address accurately to ensure they don't miss a delivery and you don't have to issue a refund.

Improve the user experience

With the growing world of ecommerce and countless competitors in any given market, you need to ensure that your customers are having a quality experience from the start of their buyer's journey, all the way to checkout. An address validation API makes the checkout experience efficient and enjoyable for your customers.

Save time

Using an address validation API automates the address verification processes so you and your support team can stop wasting time on fixing rejected labels, tracking down lost or undelivered packages, and dealing with upset customers.

Getting started is quick and easy

Take a look at our documentation and start building with one of our helper libraries (Python, PHP, Ruby, Node.js, Java, and more). Avoid month-long integrations and start verifying addresses in minutes with EasyPost.