NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

Sales Tax Calculator API

GET

Calculate sales tax on any US order from a ZIP code.

Sales Tax Calculator is a US sales tax calculation API: send an order amount with a ZIP code or state and get the combined rate, the tax amount and the order total back as JSON. Paid plans split both the rate and the tax amount by state, county, city and special district.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/salestaxcalculator?amount=100
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "amount": 100,
    "taxRate": 0.1025,
    "taxRatePercent": 10.25,
    "taxAmount": 10.25,
    "totalAmount": 110.25,
    "zip": "90210",
    "state": "CA",
    "region": "WEST HOLLYWOOD TOURISM IMPROVEMENT DISTRICT",
    "breakdown": {
      "stateRate": 0.06,
      "countyRate": 0.0025,
      "cityRate": 0.0075,
      "specialRate": 0.0325,
      "stateTax": 6,
      "countyTax": 0.25,
      "cityTax": 0.75,
      "specialTax": 3.25
    }
  }
}

About the Sales Tax Calculator API

Use it at checkout, on invoices or in quotes: send the amount and the ZIP code, and it looks up the current combined rate for that ZIP, applies it, and rounds the tax to the cent. A state code works too and applies the statewide base rate only. For ZIP lookups, paid plans add the region name and a breakdown with each jurisdiction's rate and its share of the tax, the split you need for itemized tax lines. It applies the general sales tax rate to the amount you send; product exemptions, shipping taxability and nexus are left to you.

What people use it for

E-commerce Checkout
Calculate accurate sales tax at checkout based on customer shipping address for tax-compliant transactions
Point of Sale Systems
Integrate real-time tax calculations into POS systems for accurate receipt generation
Invoice Generation
Automatically calculate and add sales tax to invoices based on customer location
Price Quoting
Generate accurate price quotes that include applicable sales tax for any US location

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

How it compares

Side by side with the tools people weigh Sales Tax Calculator against — what each one is better at, in plain terms.

Other ways to use Sales Tax Calculator

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Sales Tax Calculator API.

Read the docs →
How many tax calculations does the Free plan cover?
The Free plan covers 100 tax calculations each month. Because each calculation uses 2 credits, the Starter plan handles up to 100,000 calculations per month, which works out to about $0.30 per 1,000 calculations.
Can I get city and county tax breakdowns on the Free plan?
No, the itemized breakdown requires a paid plan. The Free plan returns the combined rate, the tax amount and the order total. Starter and above add the region name and the breakdown: the state, county, city and special district rates, plus each one's share of the tax in dollars.
Does this calculate tax for locations outside the United States?
No. Sales Tax Calculator only covers US locations. You look up rates with a 5-digit US ZIP code or a 2-letter US state code.
What changes if I send a state code instead of a ZIP code?
You get the state rate only. A ZIP code lookup returns the combined rate for that location, including county, city and special district taxes. If you send both, the ZIP code is used.
Does it handle shipping charges or tax-exempt products?
No. It applies the location's general sales tax rate to the amount you send. If shipping is taxable where you sell, include it in the amount, and leave out anything that is exempt. Product taxability rules, exemption certificates and nexus are not modeled.
Can I use these tax calculations in a live commercial checkout?
Yes, as long as you subscribe to a paid plan. Commercial use across checkouts, point-of-sale systems, and invoicing software requires Starter or higher, and the underlying rate data cannot be resold or redistributed as a standalone dataset.

Ready to build with Sales Tax Calculator? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs