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.

Cartoon graphic of earth

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 easypost

client = easypost.EasyPostClient("EASYPOST_API_KEY")

address = client.address.create(
    verify=True,
    street1="000 unknown street",
    city="Not A City",
    state="ZZ",
    zip="00001",
    country="US",
    email="test@example.com",
    phone="5555555555",
)

print(address)
{
  "id": "adr_3a98ffc7bafa11eeb8fcac1f6bc539ae",
  "object": "Address",
  "created_at": "2024-01-24T20:50:38+00:00",
  "updated_at": "2024-01-24T20:50:38+00:00",
  "name": null,
  "company": "EasyPost",
  "street1": "000 unknown street",
  "street2": null,
  "city": "Not A City",
  "state": "ZZ",
  "zip": "00001",
  "country": "US",
  "phone": "5555555555",
  "email": "test@example.com",
  "mode": "test",
  "carrier_facility": null,
  "residential": null,
  "federal_tax_id": null,
  "state_tax_id": null,
  "verifications": {
    "zip4": {
      "success": false,
      "errors": [
        {
          "code": "E.ADDRESS.NOT_FOUND",
          "field": "address",
          "message": "Address not found",
          "suggestion": null
        }
      ],
      "details": null
    },
    "delivery": {
      "success": false,
      "errors": [
        {
          "code": "E.ADDRESS.NOT_FOUND",
          "field": "address",
          "message": "Address not found",
          "suggestion": null
        }
      ],
      "details": {}
    }
  }
}

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.

Graphic of shapes

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.

Graphic of shapes

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.

Graphic of shapes

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.