API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
address
Fields
first_linestring
required
The first line of the street address.
Example
JFK Airport Terminal 4countrystring
required
Country code (ISO 3166-1 alpha-2)
Pattern
^[A-Z]{2}$ · Example UScitystring
required
The city of the location.
Example
New Yorksecond_linestring
The second line of the street address, if applicable.
state_provincestring
The code for the state or province ISO 3166-2 (e.g., "CA", "FL").
Pattern
^[A-Z0-9]{1,3}$ · Example CAExample
{
"first_line": "JFK Airport Terminal 4",
"second_line": "string",
"country": "US",
"city": "New York",
"state_province": "CA"
}