# fittings US State Sales Tax Rate

> fittings US State Sales Tax Rate is a paid API for AI agents from fittings.sh, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns the state-level sales or use tax rate for a given US state, with optional computed tax amount and total for a provided subtotal.

## Facts

- Endpoint: GET https://fittings.sh/v1/tax/us-state-sales-rate
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fittings-us-state-sales-tax-rate-9cb27bad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZBYrNbgZLGBqPT_7r80B6

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability fittings-us-state-sales-tax-rate-9cb27bad
```

Example prompt: What's the state sales tax rate for California, and how much would I owe in tax on a $349.99 subtotal?

## When to prefer this

Use this endpoint when you need the official state-level sales or use tax rate for a US state, particularly when you need to compute tax on a specific subtotal. Note that this endpoint deliberately excludes county, city, and district rates, so it is best suited for state-only tax lookups or as one component of a broader tax calculation pipeline.

## Known failure modes

- Invalid or unrecognized state name/code returns an error
- Missing required 'state' parameter results in a validation error
- Amount outside 0–1,000,000,000 range may be rejected
- Only state-level rates returned — county, city, and district taxes are excluded, which may lead to underestimates

## How this service works

The state-level sales or use tax rate for a US state, with optional tax and total for a subtotal. Excludes county, city and district rates.

## Output

Returns the state sales tax or use tax rate as a percentage, and when an optional subtotal amount is provided, also returns the computed tax dollar amount and the total (subtotal plus tax).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "state"
     ],
     "properties": {
      "state": {
       "type": "string",
       "description": "State name or two-letter postal code, e.g. CA or California"
      },
      "amount": {
       "type": "number",
       "description": "Optional subtotal to price, 0 to 1000000000"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fittings-us-state-sales-tax-rate-9cb27bad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fittings.sh](https://www.zero.xyz/host/fittings.sh/llms.txt)
