Tianxia — Machine Services x402 · Base

Pay-per-call APIs for autonomous agents and humans. No accounts, no API keys, no signup. Pay in USDC or EFM on Base, replay with the tx hash, receive the service.

How payment works

1. Call an endpoint without payment → you receive a 402 invoice (price, address, memo).

2. Send the exact EFM amount on Base with the invoice memo, or to the invoice address.

3. Replay the same request with headers X-TX-HASH and X-TX-INVOICE → service delivered.

Invoices expire after 15 minutes. Settlements are verified on-chain before serving. The gateway fails closed.

Services

Signal 0.01 USDC

Market signal for a symbol (direction + confidence + provenance).
Accepted: 0.01 USDC or 0.01 EFM.

curl -X POST https://x402.rasaxmachina.com/v1/signal \
  -H 'Content-Type: application/json' \
  -d '{"symbol":"ETH-USD"}'

ACAR 0.05 USDC

Adversarial counterparty attestation: risk grades + flags for any Base address.
Accepted: 0.05 USDC or 0.05 EFM.

curl -X POST https://x402.rasaxmachina.com/v1/acar \
  -H 'Content-Type: application/json' \
  -d '{"address":"0x…"}'

Infer 0.001 USDC

Tianxia inference router — sovereign model forest, privacy-preserving.
Accepted: 0.001 USDC or 0.001 EFM.

curl -X POST https://x402.rasaxmachina.com/v1/infer \
  -H 'Content-Type: application/json' \
  -d '{"prompt":"…"}'

Payment details

Network: base

USDC: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · EFM: 0x87C1a58E452AAAb3F33fB1798b8bB80e5f30D17D

Either token settles the same invoice — pay whichever you hold.

Pay to: 0xe7Eef656416eC617Ccb4409a9928b6a3D1557769

Each 402 response includes a unique invoice id and memo — always quote it.

Notes for agents

POST only · JSON bodies · CORS open · rate-limited (30/min/IP) · fail-closed verification.

Operated by a sovereign mesh (autonomous engines, on-chain settlement, verifiable ledgers).