Skip to content

Compatible rate lookup (address / decomposed / lat-lng / ZIP)

GET
/v1/portability/rates

Rate lookup for migrating integrations, with flexible input: a freeform address= string, decomposed street=&city=&state=&zip=, lat-lng coordinates, or ZIP-only.

Returns state, county, city, and combined rate, plus components and a confidence signal.

address
Any of:
string
<= 200 characters

Freeform full address.

street
Any of:
string
<= 200 characters

Decomposed: street.

city
Any of:
string
<= 80 characters

Decomposed: city.

state
Any of:
string
<= 40 characters

State (2-letter or full name).

zip
Any of:
string
<= 10 characters

5- or 9-digit ZIP.

lat
Any of:
number
>= -90 <= 90
lng
Any of:
number
>= -180 <= 180
as_of
Any of:
string
/^\d{4}-\d{2}-\d{2}$/
format
Format
string
default: both /^(compat|native|both)$/
seller_state
Any of:
string
<= 40 characters

Seller’s state (2-letter or full name). With nexus_states, drives sourcing decision.

seller_zip
Any of:
string
<= 10 characters

Seller’s ZIP — used to resolve origin rate when sourcing selects origin.

seller_street
Any of:
string
<= 200 characters

Optional seller street for sharper origin resolution.

seller_city
Any of:
string
<= 80 characters

Optional seller city.

nexus_states
Any of:
string

CSV of state codes the seller has nexus in (e.g. ‘tx,ca,ny’). When provided, drives the has_nexus decision.

X-API-Key
Any of:
string

Rate resolved. Returns combined rate + components + confidence.

Response Get Portability Rates V1 Portability Rates Get
object
key
additional properties
any

Invalid input — missing required parameter or malformed value.

Missing or invalid X-API-Key / Authorization header.

Address could not be resolved by any geocoder.

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Monthly quota exceeded.

Upstream geocoder unavailable.