# TaxRate US

> TaxRate US is a paid API for AI agents from x402-taxrate.onrender.com, paid per call via x402, $0.03/call, status down (last checked 2026-10-23).

Look up US sales tax rates by ZIP code, state, or address, with economic-nexus reference data at state granularity.

## Facts

- Endpoint: GET https://x402-taxrate.onrender.com/rate?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: down
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/taxrate-us-e1b34da6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ID4jfHkN-XuqSt8TyPRA4

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 taxrate-us-e1b34da6
```

Example prompt: What's the sales tax rate for ZIP code 90210 in California? I need to know if there's also an economic nexus threshold I should be aware of for CA.

## When to prefer this

Choose this endpoint when you need a quick, programmatic US sales tax rate lookup at state granularity for a known ZIP code, state abbreviation, or address string, especially when building e-commerce checkout flows, invoice generation, or compliance tooling. It is well-suited for lightweight per-call lookups ($0.03 USDC) where county/city sub-rate precision is not required. Prefer alternatives if you need sub-state (county or city) tax rate breakdowns, international VAT/GST data, or real-time nexus tracking beyond reference thresholds.

## Known failure modes

- Invalid or non-existent ZIP code returns an error or empty result
- State code mismatch with ZIP code (e.g. TX zip paired with CA state) may return an error or reject the request
- Missing required query parameter (zip, state, or address) may result in an ambiguous or failed lookup
- Free-form address without a recognizable 5-digit ZIP may fail to extract a location
- Service unavailability on the Render.com host may return a 503 or timeout
- Payment failure via x402 protocol returns a 402 Payment Required before any data is returned

## How this service works

US sales-tax rate lookup (state granularity) and economic-nexus reference. Terms of service: GET /terms (free). Not tax advice.

## Output

Returns the sales tax rate for the specified US location (at state granularity), along with economic-nexus reference information for the relevant state. The response includes the applicable rate percentage and nexus threshold data to help businesses understand their tax obligations.

## 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",
     "properties": {
      "zip": {
       "type": "string",
       "description": "5-digit US ZIP code (e.g. 90210)."
      },
      "state": {
       "type": "string",
       "description": "2-letter US state or DC (e.g. TX). Must match the ZIP's state when both are given."
      },
      "address": {
       "type": "string",
       "description": "Free-form address; the service extracts a 5-digit ZIP when one is present."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/taxrate-us-e1b34da6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-taxrate.onrender.com](https://www.zero.xyz/host/x402-taxrate.onrender.com/llms.txt)
