Spot-On API Samples

This API provides for XML or JSON responses

......to an exact street address or to a ZIP+4 or ZIP code level. 

The simplest way to view results is to click on one of the sample links below or paste the link into any browser's URL box.

This sample query string will allow for unlimited testing with addresses found within the ZIP codes from 90001 to 90999. If you would like to perform testing outside of that range, request a no-obligation, free trial.

XML Response API - Spot-On

Click on the sample code below to see what a Spot-On™ level result would look like in browser for a street address in Beverly Hills, California. In a practical application you would typically read the results into a XMLHttpRequest object.

https://api.zip2tax.com/TaxRate-USA.xml?AddressLine1=8555%20Beverly%20Blvd.&
City=Los%20Angeles&State=CA&username=sample&password=password

If you have additional address information available, you may specify it for use when the address is incorrect. For example, you might specify the ZIP+4 or ZIP code:
https://api.zip2tax.com/TaxRate-USA.xml?AddressLine1=8555%20Beverly%20Blvd.&City=Los%20Angeles&State=CA&
zip=90210-3303&username=sample&password=password


https://api.zip2tax.com/TaxRate-USA.xml?AddressLine1=8555%20Beverly%20Blvd.&City=Los%20Angeles&State=CA&
zip=90210&username=sample&password=password

JSON Response API - Spot-On

For a JSON response, simply replace .XML with .JSON, as seen below:

https://api.zip2tax.com/TaxRate-USA.json?AddressLine1=8555%20Beverly%20Blvd.&
City=Los%20Angeles&State=CA&username=sample&password=password

If you have additional address information available, you may specify it for use when the address is incorrect. For example, you might specify the ZIP+4 or ZIP code:

https://api.zip2tax.com/TaxRate-USA.json?AddressLine1=8555%20Beverly%20Blvd.&City=Los%20Angeles&State=CA&
zip=90210-3303&username=sample&password=password


https://api.zip2tax.com/TaxRate-USA.json?AddressLine1=8555%20Beverly%20Blvd.&City=Los%20Angeles&State=CA&zip=90210&
username=sample&password=password