US State Sales Tax
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| Field | Type | Required |
|---|---|---|
state | string | opt |
zipcode | string | opt |
productValue | number | opt |
productCategory | string | opt |
sellerState | string | opt |
marketplace | string | opt |
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
Provide location
Include state code and/or ZIP code in your request. ZIP gives the most accurate rate.
Add product details
Set productCategory for automatic exemption checking (e.g., "groceries", "clothing").
Check nexus
Include sellerState to determine if you have nexus (collection obligation) in the buyer's state.
Marketplace rules
Add marketplace field for marketplace facilitator law compliance.
API Reference
/api/v1/tax/us-sales-tax{
"state": "CA",
"zipcode": "90210",
"productValue": 100,
"productCategory": "clothing"
}{
"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 -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
Calculate state, province, and regional tax rates accurately
Calculate VAT, GST, and sales tax for 240 countries and territories
Manage and apply tax exemption certificates per jurisdiction
Get the full import cost including duties, taxes, fees, and shipping
Automatically check if shipment value falls below duty-free threshold