On this page
- Getting access to the USPS address verification API
- What the USPS Addresses API costs per call
- What the USPS address verification API returns
- Limits of the USPS address API: one at a time, quotas and the license
- Code: check an address with USPS’s API or Mailr’s verify API
- USPS’s address API, a CASS service or a mail API’s check
- USPS address verification API questions
Getting access to the USPS address verification API
- An app. Sign in to USPS’s Customer Onboarding Portal with a USPS business account and create an app. Its consumer key and secret are your client id and secret.
- A payment account. The Addresses API bills through an Enterprise Payment Account.
- The license. Sign the Addresses API license in the Business Portal and link your credentials to it. Without it, calls return 403.
- A token. Exchange the client id and secret for an OAuth 2.0 access token (USPS’s example token lasts about eight hours) and send it as a Bearer token.
USPS also runs a test environment at apis-tem.usps.com for building against before you go live.
What the USPS Addresses API costs per call
| Successful calls in a month | Fee |
|---|---|
| 1 to 2,000 | $10 for the month |
| 2,001 to 10,000 | $4.50 per 1,000 |
| 10,001 to 50,000 | $4.25 per 1,000 |
| Over 50,000 | $4.00 per 1,000 |
The month’s total decides the tier, and only successful calls count. These are the fees in USPS’s price list and its Addresses API tech sheet; some older USPS pages from early 2026 still describe the API as free.
What the USPS address verification API returns
The /address endpoint takes one address as query parameters and returns it in USPS’s standard form, with the ZIP+4, plus what USPS knows about the delivery point:
DPVConfirmation: Y, D, S or N, whether USPS delivers to that exact address and unit. What each code means is in CASS-certified address verification.- Flags such as vacant, business, CMRA (a private mailbox) and no-stat. What a CMRA is, and how to mail one, is in CMRA addresses.
- Routing details: the carrier route, delivery point and county.
- Footnotes and warnings describing what was corrected.
Two other endpoints, /city-state and /zipcode, look up a city from a ZIP code and a ZIP code from an address. The response has no latitude or longitude. What the ZIP+4 digits mean is in ZIP+4 lookup.
Limits of the USPS address API: one at a time, quotas and the license
- One address per request. There’s no batch endpoint, so a list is checked one call at a time.
- An hourly quota. USPS doesn’t publish the default. Going over returns 429 with a Retry-After header, and a higher quota is a service request to USPS.
- What the license allows. Updating addresses you already hold, including lists. Not building lists of new or valid addresses, and the delivery-point flags are for your own use in mail delivered by USPS.
- Apps built for other businesses. The license has its own rules for third-party applications in section 2.2. Read them before building the API into a product your customers use.
Code: check an address with USPS’s API or Mailr’s verify API
The USPS call needs a token first, then one request per address. Mailr’s check takes the list in one request:
# 1. Get a token (client credentials from your app in the Customer Onboarding Portal).
curl -s https://apis.usps.com/oauth2/v3/token \
-H "Content-Type: application/json" \
-d '{ "grant_type": "client_credentials", "client_id": "'$USPS_CLIENT_ID'",
"client_secret": "'$USPS_CLIENT_SECRET'", "scope": "addresses" }'
# 2. Check one address with the access_token from step 1.
curl -s -G https://apis.usps.com/addresses/v3/address \
-H "Authorization: Bearer $USPS_TOKEN" \
--data-urlencode "streetAddress=2 elm st" \
--data-urlencode "secondaryAddress=apt 4" \
--data-urlencode "city=tempe" \
--data-urlencode "state=AZ" \
--data-urlencode "ZIPCode=85281"undeliverable in line1 or line2 fails, and every other one passes.USPS’s address API, a CASS service or a mail API’s check
- One address per request
- OAuth 2.0 and a signed license
- $10 a month for up to 2,000 calls
- For mail and packages sent by USPS
- Up to 1,000 addresses per request
- An API key
- 7¢ an address, free with a test key
- Or
"verify": trueon the send itself
- USPS’s own API costs least per address once you’ve signed the license and set up the payment account. It suits checking addresses one at a time as they come in, for mail or packages you send by USPS.
- A CASS-certified service such as Smarty adds what USPS’s API doesn’t: batch lists, address autocomplete on a form, and a plain API key.
- A mail API’s check fits when the reason you’re checking is to mail the list. With Mailr,
POST /v1/addresses/verifytakes up to 1,000 addresses at 7¢ each, and"verify": trueon a send checks every address in the same request, so nothing separate has to run first. That’s more per address than USPS’s fee; what you skip is the license, the token, the quota and the one-at-a-time loop.
People who moved are a different check: an address can be perfectly valid and still belong to someone who left. That’s NCOA.
USPS address verification API questions
Is the USPS address verification API free?
Not anymore. Since August 1, 2026, the Addresses API needs a signed license and an Enterprise Payment Account, and costs $10 a month for up to 2,000 successful calls, then $4.50 to $4.00 per 1,000. Some older USPS pages still say it's free.
What happened to the USPS Web Tools Verify API?
USPS retired the Web Tools APIs on January 25, 2026. Address checks moved to the Addresses API, version 3, which uses OAuth 2.0 and JSON instead of a user ID and XML.
Can I check a whole mailing list with the USPS API?
The license allows updating addresses you already hold, including lists, but the API takes one address per request, so a 10,000-row list is 10,000 calls. It can't be used to build lists of new or valid addresses.
Does the USPS API count as CASS?
USPS's license says it can be used to meet CASS certification requirements for discounted mailings, for 60 days after processing. That matters if you presort mail yourself; mail sent through Mailr is priced per piece, with no CASS paperwork on your side.
How many addresses can I check per request?
One with USPS's API. Up to 1,000 with Mailr's /v1/addresses/verify.