Mainnet production endpoint
https://x402.tickerlayer.com- Network
- Base mainnet
- CAIP-2
eip155:8453- Asset
- USDC
x402 · PRODUCTION + SANDBOX
No TickerLayer account. No API key at the gateway. Your agent asks for a REST resource, sees the exact USDC price, authorizes it, and receives validated market data. Build in the isolated sandbox, then point the same integration at Base mainnet.
NETWORK SURFACES
Mainnet is the production destination. Base Sepolia is an independent sandbox for test wallets and test USDC. Readiness below is confirmed only from each gateway's public status response.
https://x402.tickerlayer.comeip155:8453https://x402-testnet.tickerlayer.comeip155:84532A readiness result describes gateway health at the time checked; it is not a promise of uninterrupted availability or a substitute for inspecting the signed 402 requirement before paying.
HOW IT WORKS
The gateway keeps payment logic outside the existing market-data API and settles only after a valid response is prepared.
A normal GET request targets one approved production or sandbox resource.
The 402 response declares the network, asset and exact price.
The client checks the requirement, signs it and retries the same URL.
TickerLayer validates and prepares the response before settlement.
CATALOG EXPLORER
Six repeatable resource types cover the main asset families. Bonds and four market-calendar calls complete the catalog without adding a heavy client-side explorer.
US:AAPL · TR:THYAO/v1/stocks/symbols/v1/stocks/quote/:symbol/v1/stocks/trade/last/:symbol/v1/stocks/snapshot/:symbol/v1/stocks/agg/:symbol/prev/v1/stocks/agg/:symbol/…EURUSD/v1/forex/symbols/v1/forex/quote/:symbol/v1/forex/trade/last/:symbol/v1/forex/snapshot/:symbol/v1/forex/agg/:symbol/prev/v1/forex/agg/:symbol/…BTCUSD/v1/crypto/symbols/v1/crypto/quote/:symbol/v1/crypto/trade/last/:symbol/v1/crypto/snapshot/:symbol/v1/crypto/agg/:symbol/prev/v1/crypto/agg/:symbol/…US500/v1/indices/symbols/v1/indices/quote/:symbol/v1/indices/trade/last/:symbol/v1/indices/snapshot/:symbol/v1/indices/agg/:symbol/prev/v1/indices/agg/:symbol/…SPY/v1/etfs/symbols/v1/etfs/quote/:symbol/v1/etfs/trade/last/:symbol/v1/etfs/snapshot/:symbol/v1/etfs/agg/:symbol/prev/v1/etfs/agg/:symbol/…XAUUSD/v1/commodities/symbols/v1/commodities/quote/:symbol/v1/commodities/trade/last/:symbol/v1/commodities/snapshot/:symbol/v1/commodities/agg/:symbol/prev/v1/commodities/agg/:symbol/…US:10Y · DE:10Y/v1/bond/last/:symbolstatus · sessions/v1/markets/status/v1/markets/status/bulk/v1/markets/sessions/v1/markets/holidaysStock routes require MARKET:SYMBOL. Use US:AAPL, TR:THYAO, DE:BMW, HK:0700, KR:005930, JP:7203, TW:2330 or CN:600036 — never a bare stock ticker.
AGENT INTEGRATION
The cURL examples intentionally return the signed 402 challenge. The Node.js example checks the network and caps a payment at 100,000 atomic units ($0.10 USDC) before the x402 client retries automatically.
curl --include --request GET \
'https://x402.tickerlayer.com/v1/stocks/quote/US:AAPL'Production: use eip155:8453 and a dedicated, limited-funds server-side wallet.
Sandbox: set X402_BASE_URL=https://x402-testnet.tickerlayer.com and X402_NETWORK=eip155:84532 with a test-only wallet.
Never: ship a private key in browser code, logs, source control or a chat message.
DETERMINISTIC PRICING
Amounts use integer micro-USDC inside the gateway. Admin controls can update an endpoint without changing payment precision.
Bulk requests are capped at 25 items and $0.058 USDC. Sandbox amounts use test USDC. Admin overrides appear in each gateway's public /catalog; the 402 payment requirement returned for the exact request remains the authoritative price.
PAYMENT SAFETY
The payment lifecycle is deliberately narrow, cached and operator-controlled.
Bad parameters, upstream failures, invalid JSON and empty data stop before settlement.
The payment identifier and authorization are bound to one canonical request and prepared response.
Per-endpoint rate limits, short caches, bounded concurrency and response caps protect the core API.
Routes can be unpublished or disabled, and mainnet can move from a narrow canary to the full catalog deliberately.
TickerLayer provides derived, indicative, non-exchange-sourced market data for informational and technical use. x402 is a payment and access mechanism, not a broker, exchange or execution venue.
X402 FAQ
Two isolated networks, one focused HTTP catalog and an exact price before every authorization.
x402 is an HTTP payment protocol built around the standard 402 Payment Required response. A client requests a resource, receives an exact payment requirement, authorizes it, and retries the same request with payment proof.
Not for the x402 gateway. The payment authorization replaces account and API-key authentication for the paid resource. The existing MCP and standard REST products continue to use their current API-key model.
Production uses USDC on Base mainnet. A separate sandbox uses test USDC on Base Sepolia, so developers can validate their integration without mixing test payments with production traffic.
The production and sandbox cards on this page read each gateway's public /ready response. Gateway ready means that readiness check passed; launch configured means the service answered but is not ready; status unavailable means no current readiness result could be confirmed.
The gateway validates the route, parameters and returned data before settlement. Malformed, failed, oversized or empty-data responses are not settled.
Payment identifiers are bound to the exact request and authorization. A completed retry for the same request returns the stored response; using the identifier for a different request or authorization is rejected.
No. The x402 surface is intentionally REST-only. Use the existing TickerLayer products and entitlements for ongoing WebSocket workloads.
Stocks, forex, crypto, indices, ETFs and commodities each expose six resource types. Government bond yields and four market-calendar resources complete the 41-resource catalog.
Use MCP for recurring authenticated agent workflows, typed tool discovery and existing plan entitlements. x402 is designed for occasional or autonomous HTTP calls paid per request.
For sustained workloads, predictable quotas or WebSocket access, use a standard TickerLayer plan or contact the team about an enterprise integration.
PRODUCTION + SANDBOX
Start with the Base Sepolia sandbox, verify the 402 requirement and your spending policy, then change the gateway and network together for Base mainnet.