ZIP Code API - Database Interface

This API provides for XML or JSON responses at the ZIP code resolution level. The simpliest way to view results is to click on one of the sample links below or paste the link into any browser's URL box. Just pass in an address, or portion of an address, and leave the username as "sample" and password as "password". The response results will be returned in the appropriate format determined by the URL you have used.

This sample query string will allow for unlimited testing with ZIP codes between 90001 and 90999. If you would like to perform testing outside of that range, please call 866-492-8494 or e-mail us to request a free limited-time account. For subscription information, check out our Database Interface pricing.

XML Response API - ZIP Code

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

JSON Response API - ZIP Code

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

Sample ZIP Code Range

In the sample ZIP code range (90001 - 90999), the following ZIP codes contain multiple tax rates; which can be used to test the return of multiple rows:

  • 90304
  • 90601
  • 90631
Terms of service: At Zip2Tax, your security and confidentiality are our highest priority. We will never share your e-mail address or any other personally identifiable information (PII) with any other person or company. Please review our full privacy policy. License: Please refer to our end user license agreement. Cancellation and Refund Policy: Please refer to our refund policy prior to purchase.
Copyright © 2006-2020 Zip2Tax, LLC. All rights reserved. Zip2Tax™, SalesTax+4™ and Spot-On™ are trademarks of Zip2Tax, LLC.

IP Address:
JavaScript: Fail
loggedd: none

Don't have an account?

Sign up for a free trial here
If you do not have an account, please provide the information below.

Already have an account?
Free trial close Thank You!

Please check your email for your Username and Password.

If you do not receive your email shortly, check your SPAM folder for mail from "" or call us at 1-866-492-8494, Monday - Friday 8am - 5pm EST.
Zip2Tax Password recovery close Password recovery

Please provide your registered email to verify and send password.