{"uid":"cap_Gb1XR2T8QYcRHnrCRAE_2","slug":"x402toll-com-us-sales-tax-calculator-dfcf779a","name":"x402toll.com US Sales Tax Calculator","description":"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).","url":"https://x402toll.com/v1/commerce/sales-tax","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["add","remove"],"type":"string","default":"add"},"state":{"type":"string","description":"2-letter US state/DC code"},"amount":{"type":"number"},"localRatePct":{"type":"number","default":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dzJmb60UZTw-E8syyFJJP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Adds or removes US sales tax from a dollar amount using verified 2026 state base rates for any US state or DC, with optional local rate support and flags for gross-receipts and local-only states.","exampleAgentPrompt":"I'm selling a $79.99 item to a customer in Texas — can you add the 2026 state sales tax plus a 2% local rate to get the final price they should pay?","exampleUseCases":null,"resultDescription":"Returns the tax-adjusted total amount, the tax amount applied, the effective combined tax rate, the verified 2026 state base rate, and flags indicating whether the state uses a gross-receipts tax model (HI, NM) or relies solely on local rates (AK).","failureModes":["Invalid or missing state code returns a 400 error","Amount is zero or negative — API may reject or return zero tax","Unsupported state code (non-US territory) returns an error","localRatePct provided as a negative number may cause unexpected results","Network timeout or payment failure returns a 402 or 5xx response"],"whenToPreferThis":"Use this endpoint when you need accurate, up-to-date 2026 US state sales tax calculations for e-commerce checkout, invoice generation, or price display — especially when you need to handle edge cases like Hawaii/New Mexico gross-receipts taxes or Alaska's local-only tax structure. Prefer this over generic tax APIs when you need to both add AND remove tax (e.g., back-calculating pre-tax amounts from tax-inclusive prices).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:32:01.216Z","isFirstParty":false}