Find an endpoint
Base-USDC payment is available across this storefront. Some routes also accept Solana. Use only the network, token and transfer scheme in that route’s
accepts array.
If you do not know which service fits your task, the Router can recommend one. Its fee is separate from the service you buy.
For endpoint choices, example requests and result-reading rules, start with a task guide:
- SEC filings and company fundamentals: statements, report cards, Form 4 transactions and Form 144 proposed sales.
- Tokenized stock data: token identity, sampled buy prices, underlying stock movers, and an AI-written movers report refreshed around US market hours (
/stock-movers-report, $0.01). - Web search and cited answers: source retrieval, quick answers and longer research responses.
Read LP rates and position context
For Robinhood Chain (4663), POST /lp-pool-apr returns Uniswap fee APR,
incentive APR and total pool APR for 0.001 USDC on Base.
POST /lp-intelligence returns the range, asset mix and plain-language advice
for a direct Uniswap v3 or hookless v4 position for 0.02 USDC on Base. Use
each route’s current challenge and request schema.
APR values are percentage points: 34.05 means 34.05%. Each figure carries
its source and age. An out-of-range position can display the pool’s APR while
earning no swap fees itself.
Both reads return assessment, a check of the pool’s identity, tokens and hook.
Its recommendation.status is ELIGIBLE_FOR_COMPARISON, REQUIRES_REVIEW,
BLOCKED or UNAVAILABLE.
Inspect the challenge
This request is free:402 Payment Required, with base64 JSON in PAYMENT-REQUIRED and payment details in the response body. Decode the header before paying:
payTo), network, asset, amount and validity. Amounts use the asset’s smallest unit: 1000 in 6-decimal USDC is 0.001 USDC. The challenge is the price for that call; a copied price table can lag.
Read supported extensions from this response too. Signed offers, payment identifiers and sign-in-with-x re-access are route-specific. Cached data routes are pay-per-call and do not advertise SIWX; only use a re-access window where the live challenge offers one. A Permit2 payment requires the corresponding allowance; it is not permission to pay with an arbitrary token absent from accepts.
Make a paid request
The following example buys one/crypto-news response using USDC on Base. It refuses a challenge above 0.001 USDC. Review the actual recipient first, and load X402_PRIVATE_KEY through your local secret configuration. Never put a key in source code or an agent conversation.
request.mjs and run with node request.mjs:
PAYMENT-SIGNATURE. Keep axios’s default validateStatus: accepting 402 as success prevents the interceptor from running. This example pays for one call. Give an automated loop its own total budget.
An EIP-3009 Base-USDC service payment needs USDC but no Base ETH in the payment wallet. Paying for a read grants no authority to trade.
Read the result
Check the HTTP status and body, and keep the full result, the original request and the receipt headers.
A value is measured data;
null means the field applies but its value is unavailable; an absent field makes no claim. For example, an uncached route has no snapshot age.
On EVM routes, PAYMENT-RESPONSE can carry an EIP-712 otto-content-receipt that binds content, request and payment.
Handle failures
The MCP guide documents its same-authorization replay path. Unknown execution status is not a failed trade and does not justify a replacement transaction.
Router refunds cover the bounded feedback program for qualifying purchases. It is not a blanket refund on every API failure. For unresolved delivery, contact support with the request and receipt, never the wallet key.
/top-ten is now part of /crypto-news.