Get address requirements by country

Return the address fields required for a given country, with their labels and validation rules.

Call this before building any address — on a shipment, a customer, or a saved address. Required fields change per country, and not in ways you can guess: 74 countries have no postal code field at all, Guatemala calls the house number streetNumber while every other country calls it number, and Colombia resolves by city_select rather than city. The full table — all 244 destination countries, grouped into the 12 distinct forms they actually use — is in Address Rules by Country. Sending an incomplete address does not fail at save time — it fails later, when the shipment is already paid for.

If the country has no specific form, a default one is returned, so an unusual country still gets a usable structure.

⚠️

The form catalog is not exposed by the API. address_info and billing_info are the two the platform uses, and both are documented here. Any other value answers 422 Invalid data. — the same code as a malformed request, so you cannot tell the two apart. It is a known gap.

Commonly known as the generic form.

No token required. This is a public catalog — you can call it straight from the browser, for example to populate a country or package-type selector in your checkout.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
enum
required

ISO 3166-1 alpha-2 country code. Any destination country works; /country lists all 244. A country with no specific form gets a usable default one back.

string
enum
required

Which form to return. address_info is the shipping address, billing_info the billing variant. These two are the values the platform itself uses; the backing catalog is not exposed by the API, so anything else answers 422 Invalid data.

Allowed:
Responses

429

Rate limit exceeded. Every response carries x-rate-limit-limit, x-rate-limit-remaining and x-rate-limit-reset; read them rather than assuming a fixed number.

Verified headers: x-rate-limit-limit: 300, x-rate-limit-remaining, and x-rate-limit-reset as a Unix timestamp. They are on every response, not only on a 429, so you can slow down before being refused.

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json