Commerce

US sales tax — add or remove tax using the verified 2026 STATE base rate for any state + DC, plus an optional local rate. Flags gross-receipts states (HI/NM) and local-only states (AK).

US sales tax — add or remove tax using the verified 2026 STATE base rate for any state + DC, plus an optional local rate. Flags gross-receipts states (HI/NM) and local-only states (AK).

Payment: x402 ($0.05 USDC on eip155:8453). Call unpaid to receive an HTTP 402 with requirements, then retry with the PAYMENT-SIGNATURE header. Method: combined = stateRate + localRate; add: tax = amount*rate/100; remove: base = amount/(1+rate/100), tax = amount-base

post/v1/commerce/sales-tax

Request

  • Base URL: (relative, and it does not resolve against the document’s source URL)
  • URL: /v1/commerce/sales-tax
  • Auth: none declared

Request body

statestring required

2-letter US state/DC code

amountnumber required
mode'add' | 'remove'
localRatePctnumber

Response

Verified result + provenance (formula, sources, reproducible SHA-256 hash).

Changes

No recorded changes to this operation across all 1 revision of this API.