Back to Features
💰

US State Sales Tax

ActiveTaxFREE

What it does

ZIP-level US sales tax calculation with nexus rules and marketplace facilitator laws. Covers all 50 states, 10,000+ local jurisdictions, and special tax districts. Automatically applies product-specific exemptions for groceries, clothing, prescription medicine, and more.

Required Fields for 100% Accuracy

0 required / 6 total
FieldTypeRequired
statestringopt
zipcodestringopt
productValuenumberopt
productCategorystringopt
sellerStatestringopt
marketplacestringopt

Tips for Best Accuracy

  • zipcode gives the most accurate rate — state-level rate can differ by 2-4% from actual
  • productCategory enables automatic exemption checking (e.g., clothing exempt in PA)
  • sellerState determines if economic nexus applies

Common Mistakes

  • Using only state without zipcode — misses county, city, and special district rates
  • Wrong ZIP format — use XXXXX or XXXXX-XXXX only
  • Not providing productCategory — some states exempt groceries, clothing, or medicine

How to use it

1

Provide location

Include state code and/or ZIP code in your request. ZIP gives the most accurate rate.

2

Add product details

Set productCategory for automatic exemption checking (e.g., "groceries", "clothing").

3

Check nexus

Include sellerState to determine if you have nexus (collection obligation) in the buyer's state.

4

Marketplace rules

Add marketplace field for marketplace facilitator law compliance.

API Reference

POST/api/v1/tax/us-sales-tax
Request
{
  "state": "CA",
  "zipcode": "90210",
  "productValue": 100,
  "productCategory": "clothing"
}
Response
{
  "state": "CA",
  "stateName": "California",
  "zipcode": "90210",
  "combinedRatePercent": 9.5,
  "taxBreakdown": {
    "stateRate": 7.25,
    "countyRate": 1,
    "cityRate": 1.25,
    "specialRate": 0
  },
  "estimatedTax": 9.5,
  "nexus": {
    "hasNexus": true,
    "reason": "economic_nexus"
  }
}
cURL
curl -X POST https://potal.app/api/v1/tax/us-sales-tax \
  -H "X-API-Key: pk_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{"state":"CA","zipcode":"90210","productValue":100}'

Related Features

Having issues?