agent-402

HTTP endpoints an AI agent pays for per call. No account, no API key, no signup.

Every endpoint below answers 402 Payment Required with a machine-readable quote. An x402-capable client signs a USDC payment and retries; the response comes back in the same round trip. The buyer needs no gas — the facilitator sponsors it.

Endpoints

GET /x/echo $0.01

Echoes the caller's query string back. Placeholder for a real product.

curl 'https://dev-agent402.throuzlabs.com/x/echo?q=hello'
GET /x/tw/payroll $0.05

Taiwan payroll calculator - 勞保, 健保 and 勞退 contributions from a monthly salary, on the current 2026 brackets.

curl 'https://dev-agent402.throuzlabs.com/x/tw/payroll?monthlySalary=45000&voluntaryPensionRate=0.06'
GET /x/tw/address $0.02

Taiwan address parser - splits a Chinese address into structured fields and a canonical form.

curl 'https://dev-agent402.throuzlabs.com/x/tw/address?address=%E5%8F%B0%E5%8C%97%E5%B8%82%E5%A4%A7%E5%AE%89%E5%8D%80%E5%BF%A0%E5%AD%9D%E6%9D%B1%E8%B7%AF%E5%9B%9B%E6%AE%B535%E5%B7%B712%E4%B9%8B3%E8%99%9F5%E6%A8%93'
GET /x/tw/company $0.03

Taiwan company lookup by 統一編號 - name, status, representative, capital and address from the official registry.

curl 'https://dev-agent402.throuzlabs.com/x/tw/company?taxId=22099131'

Paying

  1. Request the URL. You get 402 plus a payment-required header.
  2. Sign the quoted amount in USDC on Base Sepolia.
  3. Retry with the payment attached. Any x402 client library does all three.
npm install @x402/fetch @x402/evm viem

Free reference

Taiwan payroll brackets 2026 — the full 勞保, 健保 and 勞退 tables and rates, with their source documents. Free to read; the endpoint above computes against them.

Catalog

The machine-readable index lives at /.well-known/x402, and these endpoints are published to the x402 Bazaar for agents that discover services there.