75trust / 100

Rules Us Sales Tax Nexus

by Nero Labs Agent Tools in Markets & finance

x402 APIPassing, checked 11 h ago

Checks which US states a remote seller must register in to collect sales tax (economic nexus). Send sales and order counts per state for the last 12 months or a calendar year, and whether they include marketplace sales (Amazon, Etsy). Returns states over the threshold (must register), close to it (80 percent or more) and under it, with each state's threshold, measurement period, what counts and the revenue department source. Information, not tax advice.

POST
https://x402-agent-tools.nerolabs.workers.dev/rules/us-sales-tax-nexus
Price
$0.003
per call in USDC
Uptime
98.9%
last 30 days
Response time
197 ms
1.0 s slowest 5%
Last check
Passed
11 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://x402-agent-tools.nerolabs.workers.dev/rules/us-sales-tax-nexus

Each call costs $0.003 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://x402-agent-tools.nerolabs.workers.dev/rules/us-sales-tax-nexus
content-type: application/json

{
  "period": "last_12_months",
  "sales_by_state": [
    {
      "sales": 612000,
      "state": "CA",
      "transactions": 3400
    },
    {
      "sales": 90000,
      "state": "TX",
      "transactions": 150
    }
  ]
}

Parameters

ParameterTypeRequiredDescription
datestringNoThe date to check the rules on, YYYY-MM-DD. Defaults to today. Thresholds changed in several states; past dates use the rule then in force.
includes_marketplace_salesbooleanNoTrue (default) if the sales and transactions figures include sales made through marketplace facilitators. Many states exclude those sales when testing a remote seller's threshold.
periodstringNoWhat period the figures cover: last_12_months (default), previous_calendar_year or current_calendar_year (year to date). One of: last_12_months, previous_calendar_year, current_calendar_year.
sales_by_statearray of objectYesOne item per state the seller ships into: {"state":"CA","sales":612000,"transactions":3400}. Optional per item: marketplace_sales and marketplace_transactions (the part made through marketplace facilitators like Amazon), retail_sales (sales excluding sales for resale), taxable_sales (sales excludin…
show_all_statesbooleanNoTrue to also list every sales tax state the seller did not report sales for. Default false.

Example response

The provider's example. We can't check it without paying.

Example response, 53 lines
{
  "_example_note": "Real output, trimmed: long lists cut to their first items and long text shortened.",
  "date": "2026-10-21",
  "disclaimer": "Information, not legal advice. Built from primary government sources (linked per figure); check the source before acting on a close call.",
  "must_register": [
    {
      "depends_on": [
        "Your figures cover the last 12 months; California measures previous or current calendar year (crossing in either counts). Re-run with figure..."
      ],
      "marketplace_sales": "Counted: a marketplace seller must include its marketplace-facilitated sales together with its direct sales.",
      "measurement_period": "previous or current calendar year (crossing in either counts)",
      "name": "California",
      "note": "AB 147 passed 25 April 2019 and applied the $500,000 test to sales from 1 April 2019; district taxes from 25 April 2019. Retailers must also...",
      "percent_of_sales_threshold": 122,
      "percent_of_transaction_threshold": null,
      "register_by": "Register and start collecting straight after the sale that takes total sales over $500,000 (CDTFA example: threshold passed on 6 July, regis...",
      "register_by_date_if_crossed_today": "2026-10-21",
      "result": "Over the threshold on the figures given (SAFE answer): register to collect sales tax.",
      "source": "https://www.cdtfa.ca.gov/industry/wayfair.htm",
      "state": "CA",
      "threshold": "$500,000 in sales",
      "verified_on_primary_source": true,
      "what_counts": "Total combined sales of tangible personal property for delivery in California by the retailer and all related persons, including nontaxable...",
      "your_figures": {
        "period": "last_12_months",
        "sales_counted": 612000,
        "transactions_counted": 3400
      }
    }
  ],
  "under_threshold": [
    {
      "marketplace_sales": "Counted: include all sales, marketplace sales too, even when the marketplace collects (stated as of 1 April 2020).",
      "measurement_period": "any rolling 12 month period",
      "name": "Texas",
      "note": "Remote sellers may use a single local use tax rate instead of each local rate (not available to marketplace providers). To stop, a seller ne...",
      "percent_of_sales_threshold": 18,
      "percent_of_transaction_threshold": null,
      "result": "Under the threshold.",
      "source": "https://comptroller.texas.gov/taxes/sales/remote-sellers.php",
      "state": "TX",
      "threshold": "$500,000 in sales",
      "verified_on_primary_source": true,
      "what_counts": "Total Texas revenue: gross revenue from taxable and nontaxable sales of goods and services into Texas, including separately stated handling,...",
      "your_figures": {
        "period": "last_12_months",
        "sales_counted": 90000,
        "transactions_counted": 150
      }
    }
  ],
  "verdict": "Register in 1 state: CA."
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://x402-agent-tools.nerolabs.workers.dev/rules/us-sales-tax-nexus' \
  -H 'content-type: application/json' \
  --data-raw '{"period":"last_12_months","sales_by_state":[{"sales":612000,"state":"CA","transactions":3400},{"sales":90000,"state":"TX","transactions":150}]}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://x402-agent-tools.nerolabs.workers.dev/rules/us-sales-tax-nexus' \
  -H 'content-type: application/json' \
  --data-raw '{"period":"last_12_months","sales_by_state":[{"sales":612000,"state":"CA","transactions":3400},{"sales":90000,"state":"TX","transactions":150}]}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402-agent-tools.nerolabs.workers.dev%2Frules%2Fus-sales-tax-nexus&method=POST
const res = await pay("https://x402-agent-tools.nerolabs.workers.dev/rules/us-sales-tax-nexus", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "period": "last_12_months",
    "sales_by_state": [
      {
        "sales": 612000,
        "state": "CA",
        "transactions": 3400
      },
      {
        "sales": 90000,
        "state": "TX",
        "transactions": 150
      }
    ]
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://x402-agent-tools.nerolabs.workers.dev/rules/us-sales-tax-nexus",
        json={
            "period": "last_12_months",
            "sales_by_state": [
                {
                    "sales": 612000,
                    "state": "CA",
                    "transactions": 3400,
                },
                {
                    "sales": 90000,
                    "state": "TX",
                    "transactions": 150,
                },
            ],
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
11 h agoPassed40274 ms$0.003
3 days agoTimed out---
4 days agoPassed402110 ms$0.003
5 days agoPassed402197 ms$0.003
5 days agoPassed4021.1 s$0.003
Show 10 older checks
6 days agoPassed402546 ms$0.003
6 days agoPassed402764 ms$0.003
7 days agoPassed402500 ms$0.003
7 days agoPassed402901 ms$0.003
8 days agoPassed402127 ms$0.003
8 days agoPassed402642 ms$0.003
9 days agoPassed402499 ms$0.003
9 days agoPassed402178 ms$0.003
10 days agoPassed402107 ms$0.003
10 days agoPassed402133 ms$0.003

History

22 Oct 2026Payment address changed from 0xbe3942b2519520Ae4F3963273F7D7f0440D67292 to 0xA969a3127DcC74B2989a4b4e45Ae61B81093164A