Don't let your agent trade blind.
x402 Oracle /v1/trade-check shows whether an x402 endpoint is fresh, fast, and live, so your agent skips degraded endpoints before missed fills and wrong positions.
GET https://api.x402oracle.com/v1/trade-check
?resource=<absolute-https-url>
HTTP/1.1 402 Payment Required
x402: unpaid discovery returns inputs + output shape
PAID RETRY returns the trust service
HTTP/1.1 200 OK
{
"resource": "https://api.anchor-x402.com/v1/price/token",
"ageSeconds": 6,
"stale": false,
"tracked": true,
"liveness": {
"successRate": 0.996,
"p95LatencyMs": 211,
"consecutiveFailures": 0
},
"price": { "changed24h": false },
"payTo": { "changed24h": false },
"chain": { "value": "base-mainnet" }
}
Your agent trades blind on degraded data.
Unstable data causes autonomous trading agents to act unpredictably.
Slow
The endpoint answers late. Your agent waits on the signal and misses the fill it was chasing.
Stale
Your agent relies on old data. It enters or exits on information the market has already left behind.
Down
The endpoint is failing. Your agent pays, gets nothing usable, and is left holding a position with no idea what to do.
Cheap insurance before every trade.
Spend $0.002 before your agent trusts an x402 endpoint. /v1/trade-check confirms the endpoint is fresh, fast, and live, so your agent skips it the moment it is slow, stale, or down.
Skip degraded endpoints
Your agent learns an endpoint is slow, stale, or down quickly before it pays or waits, and routes around it instead of trading on it.
Built for the trading loop
One GET request, compact JSON back. It drops into the loop your agent already runs, with no SDK to adopt.
Cheaper than the fill it saves
$0.002 a call. One avoided trade on stale data covers thousands of checks.
Catches silent drift
If the endpoint's price, payTo, or chain changed in the last 24 hours, your agent sees it before it commits.
How your agent uses the check.
Call the check first
Your agent sends the target endpoint's URL to /v1/trade-check before it pays.
Read the verdict
One response says if the endpoint is fresh, fast, live, and free of drift.
Skip what is degraded
If it is slow, stale, or down, your agent routes around it. No paid call, no bad trade.
The response, and the fields your agent branches on.
unpaid call -> 402 with inputs + output schema paid retry -> 200 trust service { "resource": "https://api.anchor-x402.com/v1/price/token", "ageSeconds": 6, "stale": false, "tracked": true, "liveness": { "successRate": 0.996, "p95LatencyMs": 211, "consecutiveFailures": 0 }, "price": { "changed24h": false }, "payTo": { "changed24h": false }, "chain": { "value": "base-mainnet" } }
Cheap insurance, priced per check.
The product wins the moment your agent skips one degraded endpoint that would have cost a missed fill or a wrong position.
| If your agent runs | Monthly spend |
|---|---|
| 500 checks per month | $1.00 |
| 10,000 checks per month | $20.00 |
| 100,000 checks per month | $200.00 |
Stop your agent trading on bad data.
Copy this prompt into your agent so it skips slow, stale, or down endpoints before it trades.
x402 Oracle