Optimize Your E-commerce Calculations with Zip2Tax Sales & Use Tax Rates.
Optimize Your E-commerce Calculations with Zip2Tax Sales & Use Tax Rates.
An API endpoint is a point at which an API -- the code that allows two software programs to communicate with each other -- connects with the server.
There are 2 end points. Both endpoints receive GET requests.
GET | https://api.zip2tax.com/taxrate-usa.xml?username={username}&password={password}[&addressline1={addressLine1}][&city={city}&state={state}][&zip={zip}] |
GET | https://api.zip2tax.com/taxrate-usa.json?username={username}&password={password}[&addressline1={addressLine1}][&city={city}&state={state}][&zip={zip}] |
Input Field | Type | Description |
---|---|---|
username | String | Client-assigned name for allowing access to the API. Max length: 10 Occurrence: Required |
password | String | Client-assigned password for allowing access to the API. Max length: 100 Occurrence: Required |
addressline1 | String | Client-defined street address for query. Recommended format: house number and street not separated by a comma. Max length: 255 Occurrence: Optional (for ZIP and SalesTax+4® levels) Occurrence: Required (for Spot-On® level) |
city | String | Client-defined city for query. Max length: 255 Occurrence: Optional (for ZIP and SalesTax+4® levels) Occurrence: Required (for Spot-On® level) |
state | String | Client-defined State for query. Recommended format: 2-letter USPS code Max length: 2 Occurrence: Optional (for ZIP and SalesTax+4® levels) Occurrence: Required (for Spot-On® level) |
zip | String | Client-defined Zip code for query. Recommended format: Client-defined ZIP code for query, per USPS standard. Max length: 10 Occurrence: Required (for ZIP and SalesTax+4® levels) Occurrence: Optional (for Spot-On® level) |
USPS = United States Postal Service www.usps.com