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.

FAILURE 01

Slow

The endpoint answers late. Your agent waits on the signal and misses the fill it was chasing.

FAILURE 02

Stale

Your agent relies on old data. It enters or exits on information the market has already left behind.

FAILURE 03

Down

The endpoint is failing. Your agent pays, gets nothing usable, and is left holding a position with no idea what to do.

A missed fill or a wrong position costs far more than the data call.

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.

1

Call the check first

Your agent sends the target endpoint's URL to /v1/trade-check before it pays.

GET /v1/trade-check?resource=<target-x402-url>
2

Read the verdict

One response says if the endpoint is fresh, fast, live, and free of drift.

stale, liveness, latency, drift
3

Skip what is degraded

If it is slow, stale, or down, your agent routes around it. No paid call, no bad trade.

if (stale || down) skip()

The response, and the fields your agent branches on.

200 OK · application/json/v1/trade-check
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" }
}
stale
Whether the last observation is older than the freshness threshold. The single field most agents branch on.
ageSeconds
How many seconds ago the endpoint was last observed answering. Lower is fresher.
liveness
Success rate, p95 latency, and consecutive failures, so the agent can tell slow and failing apart from healthy.
price · payTo · chain
Drift signals. If the endpoint's price, payment address, or chain changed in the last 24 hours, the agent sees it before paying.
tracked
Whether the endpoint is under active monitoring. Untracked endpoints get a clear signal instead of a false sense of safety.

Cheap insurance, priced per check.

$0.002/check
2000 atomic USDC · per /v1/trade-check call · Base mainnet (eip155:8453)
$0.002 to avoid a trade on a stale data feed.

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 runsMonthly 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.