x402radar API

Query live x402 API scores, uptime, latency, price and equivalents. Public, read-only, no API key. Built for agents that pick the best data source at runtime.

Base URLhttps://api.x402radar.io· set RADAR=https://api.x402radar.io for the examples below
GET/v1/radar/services

List scored APIs. The main directory feed.

categorystringFilter by category id (e.g. crypto-prices).
tagstringFilter by a single tag.
sortscore | price | latencyDefault score (then confidence).
orderasc | descSort direction (ignored for score).
window1h | 24h | 7dMetrics window. Default 24h.
limitint (≤100)Page size. Default 50.
offsetintPagination offset.
Example
curl "$RADAR/v1/radar/services?category=crypto-prices&sort=score&limit=20"
Response
{
  "window": "24h",
  "services": [
    {
      "id": "api.anchor-x402.com",
      "name": "Anchor",
      "categoryId": "onchain-data",
      "chains": ["base", "solana"],
      "verified": true,
      "score": 86, "scoreConfidence": 74,
      "latencyP95Ms": 220, "uptimePct": 99,
      "medianPriceCredits": 1000,
      "sampleCount": 312, "syntheticCount": 48
    }
  ],
  "limit": 20, "offset": 0
}
GET/v1/radar/services/:id

Full detail for one API (host id): metrics for every window + equivalents.

Example
curl "$RADAR/v1/radar/services/api.anchor-x402.com"
Response
{
  "service": { "id": "api.anchor-x402.com", "name": "Anchor", "chains": ["base","solana"], ... },
  "metrics": [ { "window": "1h", ... }, { "window": "24h", ... }, { "window": "7d", ... } ],
  "alternatives": [ { "id": "pro-api.coingecko.com", "score": 82, ... } ]
}
GET/v1/radar/categories

All categories with active service counts.

Example
curl "$RADAR/v1/radar/categories"
Response
[ { "id": "crypto-prices", "name": "Crypto Prices", "serviceCount": 7 }, ... ]
GET/v1/radar/compare

Compare several APIs side by side.

idscsv (≤20)Comma-separated host ids.
window1h | 24h | 7dMetrics window. Default 24h.
Example
curl "$RADAR/v1/radar/compare?ids=api.exa.ai,blockrun.ai"
Response
{ "window": "24h", "services": [ { "id": "api.exa.ai", "score": 88, ... }, ... ] }
GET/v1/radar/alternatives

Ranked cheaper / more reliable equivalents in the same category. Powers smart fallback.

servicestringHost id to find alternatives for.
categorystringOr pass a category directly.
maxPriceint (credits)Only return equivalents at/under this price.
minScoreintMinimum trust score. Default 50.
limitint (≤25)Default 5.
Example
curl "$RADAR/v1/radar/alternatives?service=api.exa.ai&maxPrice=7000"
Response
{ "services": [ { "id": "x402.tavily.com", "score": 84, "medianPriceCredits": 2000, ... } ] }

Scores combine uptime, success rate, latency, price (relative to category) and freshness, with a confidence level for cold-start APIs. Prices are in credits (1 USDC = 1,000,000 credits).