Get Tax Rates

**Every request locates the applicable jurisdiction(s) with one of three parameter sets.** Send the parameters from a single set. When parameters from more than one set are present, the most precise set wins: `address`, then `lat`/`lng`, then `postalcode`. **Option 1 (recommended) — `address`.** Geocodes the street address to a single rooftop-level jurisdiction and applies unincorporated-area and special-district adjustments. This is the preferred method and the one to use for calculating tax. **Option 2 (alternative) — `lat` and `lng`.** Resolves the single jurisdiction containing a geographic point. Use it when you already have verified coordinates and want to skip geocoding. Both parameters are required; one on its own is not a coordinate lookup. **Option 3 (general use only, not an accurate rate method) — `postalcode`, plus optional `state` (or `stateCode`), `county`, and `city`.** Returns every rate that overlaps the ZIP, with no door-level accuracy. The optional parameters only narrow that list; they do not resolve a single jurisdiction. Do not use this set to calculate tax on a transaction. A postal-code lookup (no `address` and no `lat`/`lng`) also returns the legacy v5.0-style response body (`version`, `rCode`, `results`) rather than the structured object documented below. Options 1 and 2 are geocoded lookups and require a current plan with geocoding; without it the request returns response code 107. A request that supplies none of the three sets returns response code 104. Walkthroughs with full request and response samples: [By Address](/guides/rest-api/by-address), [By Lat / Lng](/guides/rest-api/by-lat-lng), [By Postal Code](/guides/rest-api/by-postal-code).

Authentication

X-API-KEYstring
API Key authentication via header

Query parameters

keystringOptional10-100 characters

API key that authenticates the request and resolves the account’s plan, entitlements, and rate limits. Supply it either as this query parameter or the X-API-KEY request header. A missing, malformed, or unknown key returns response code 101.

formatenumOptionalDefaults to json

Serialization format of the response body. ‘json’ (default) returns a JSON object; ‘xml’ returns the same data as an XML document.

Allowed values:
countryCodeenumOptionalDefaults to USA

Country of the lookup: ‘USA’ (default), ‘CAN’, or a US territory (ASM, GUM, MNP, PRI, VIR). ‘CAN’ requires the Canadian rates (rate_loc_can) entitlement; otherwise the request returns response code 112. US territories are looked up via the USA path and require no additional entitlement.

postalcodestringOptionalformat: "^[0-9]{5}$"=5 characters

5-digit US ZIP code to look up. When supplied on its own the response may contain rates for multiple overlapping jurisdictions. An invalid format returns response code 104.

addressstringOptional<=100 characters

Street address to geocode to a single rooftop-level jurisdiction. Geocoding requires the geo_enabled entitlement; an incomplete or ungeocodable address returns response code 109.

statestringOptional<=50 characters

State name or two-letter abbreviation. Used with city or postal code to disambiguate the location. An invalid format returns response code 102.

stateCodestringOptionalformat: "^[A-Z]{2}$"=2 characters

Two-letter state code (e.g. CA). Alternative to ‘state’ for supplying the state as a code rather than a name.

citystringOptional<=50 characters
City name used together with state to narrow the lookup when no street address is supplied. An invalid format returns response code 103.
countystringOptional<=50 characters
County name used to refine the lookup when supplied without a street address.
latdoubleOptional-90-90

Latitude of a geographic point. When both lat and lng are supplied the API resolves the single jurisdiction containing that point (coordinate lookup).

lngdoubleOptional-180-180

Longitude of a geographic point. When both lat and lng are supplied the API resolves the single jurisdiction containing that point (coordinate lookup).

adjustmentenumOptionalDefaults to auto

Sourcing/unincorporated-area handling. Defaults to ‘auto’, which applies the appropriate sourcing adjustment on geo (address) lookups in unincorporated areas. The values ‘origin’ and ‘destination’ are accepted but currently do not change the resolved result.

Allowed values:
sat_item_totaldoubleOptional>=0

Single-article item total in dollars, used for Tennessee Single Article Tax (SAT) calculation on TN address lookups. Note: the v6.0 response does not currently return a SAT breakdown object; the SAT detail (satTaxDetail) is available in the v5.0 response.

historicalstringOptionalformat: "^[0-9]{6}$"

Historical period to price the lookup against, formatted YYYYMM (6 digits, e.g. 202401). Returns the rates that were in effect for that month. Requires historical data to be enabled; an invalid format returns response code 111.

taxabilityCodestringOptionalformat: "^[A-Za-z0-9]{1,10}$"
Product Taxability Information Code (TIC). When supplied, the response includes a productDetail object describing the rate rules that apply to that product category in the resolved jurisdiction. Accepts numeric standard TIC codes (e.g., 20010) or alphanumeric override codes (e.g., CIR00001). Requires the product_rates entitlement for standard codes.
addressDetailExtendedbooleanOptionalDefaults to false

When true, returns a full geocoding object in the response broken into address parts (street, city, postal code, etc.). Defaults to false.

shippingExtendedbooleanOptionalDefaults to false
When true, returns a detailed shipping object to help navigate collection complexity. The GENERAL_RULE value will be one of: EXEMPT, EXEMPT_WHEN_SEPARATELY_STATED, ITEM_SPECIFIC, CONDITIONAL, or TAXABLE. For EXEMPT_WHEN_SEPARATELY_STATED, the response includes a boolean flag, and a natural-language description is included for clarity. Defaults to false.

Response

OK
addressDetailobject
Normalized and geocoded address details used for the lookup.
metadataobject

Versioning and response-code metadata for the request.

serviceobject

Whether services/labor are taxable in the resolved jurisdiction.

shippingobject

Whether freight/shipping is taxable in the resolved jurisdiction.

sourcingRulesobject

Sourcing model (origin- vs destination-based) that applies to the resolved location.

baseRateslist of objectsOptional

Component tax rates broken out by jurisdiction level (state/county/city/district) and tax type (sales/use). Sum the relevant components to obtain a combined rate.

productDetailobjectOptional

Product-specific tax rules. Present only when a taxabilityCode is supplied on the request and the account carries the product_rates entitlement.

taxSummarieslist of objectsOptional
Aggregated sales and use tax rates for the location, summarizing the base rate components.

Errors

401
Get Tax Rates V60request Unauthorized Error
403
Get Tax Rates V60request Forbidden Error
405
Get Tax Rates V60request Method Not Allowed Error
422
Get Tax Rates V60request Unprocessable Entity Error
429
Get Tax Rates V60request Too Many Requests Error
500
Get Tax Rates V60request Internal Server Error