Get Tax Rates (v6.0)

Returns tax rates in a new structured format with separate base rates, service/shipping taxability, and tax summaries. Built on v5.0 data but with enhanced organization. Note: postal-code-only lookups (no address or lat/lng) return the legacy v5.0-style response body (version, rCode, results) rather than the structured object documented here.

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 objects

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.

productDetailobject

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

taxSummarieslist of objects
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