Build on read-only reward telemetry.
Every endpoint, header and status code behind CLOB Radar: a free public summary, a $0.25 x402 pay-per-call snapshot that AI agents can buy without an account, zero-PII subscriber keys minted via direct on-chain USDC (Base / Polygon) or Creem / Whop checkout, and a non-custodial header signer for Polymarket builder attribution. The canonical API origin is https://api.clobradar.com.
Impersonal market telemetry only. Not personalized investment advice, individualized trading signals or trade execution. CLOB Radar never receives, stores or asks for wallet keys, and it never places orders.
Quickstart
The API is plain HTTPS and JSON. Three access levels exist, and every one of them is read-only:
- Public.
GET /api/v1/telemetry/summaryneeds no credentials and is refreshed every 15 minutes. - Pay per call.
GET /api/x402/top-pools($0.03 USDC / 30,000 atomic for top-25 compact pools) andGET /api/x402/yield-radar($0.25 USDC / 250,000 atomic for the full 41-field snapshot) answer unpaid requests with HTTP 402 and an x402 v2 challenge (includingextensions.bazaar). - Subscriber. An
Authorization: Bearer cyr_live_…key from a 7-day Sprint Pass ($15), LP Starter ($39/mo), Bot / Pro LP ($99/mo), Builder Pro ($249/mo), or Quant Desk ($599/mo) unlocks snapshots without per-call payment.
# 1. Free summary: universe census, rank bands, three delayed exemplars
curl -s https://api.clobradar.com/api/v1/telemetry/summary
# 2. Paid snapshot without credentials: inspect the 402 challenge
curl -i https://api.clobradar.com/api/x402/yield-radar
# 3. Paid snapshot with a subscriber key
curl -s "https://api.clobradar.com/api/x402/yield-radar?limit=100" \
-H "Authorization: Bearer $CLOBRADAR_KEY"
| Header | Value |
|---|---|
Access-Control-Allow-Origin | * |
Access-Control-Allow-Methods | GET,POST,OPTIONS |
Access-Control-Allow-Headers | Authorization,PAYMENT-SIGNATURE,X-PAYMENT,x-payment-tx,x-payment-chain-id,Content-Type |
Access-Control-Expose-Headers | PAYMENT-REQUIRED,PAYMENT-RESPONSE |
Browser agents can therefore read the payment headers directly. OPTIONS preflights return 204 with a 24-hour max age.
Discovery files
Agents and crawlers can find everything from these machine-readable files. The OpenAPI document is version 3.1.0 and covers health, the x402 catalog, telemetry summary and lenses, the snapshot, key claim and rotation, the builder spec and signer, and the transparency manifest.
| URL | Contents |
|---|---|
api.clobradar.com/openapi.json | OpenAPI 3.1.0 specification with BearerAuth and X402PaymentSignature security schemes. |
api.clobradar.com/.well-known/openapi.json | The same document at the well-known alias. |
api.clobradar.com/.well-known/x402.json | x402 v2 payment catalog. Also served at /api/x402/catalog. |
clobradar.com/llms.txt | Concise plain-text summary of surfaces and pricing for language models. |
clobradar.com/llms-full.txt | Complete single-file LLM integration spec, schemas, x402 payload structure and builder rules. |
clobradar.com/feed.xml | Live Atom 1.0 feed (also at /rss.xml) of top-ranked Polymarket reward pools from the latest 15-minute edge refresh. |
clobradar.com/robots.txt | Crawl rules, with pointers to the sitemap, OpenAPI, llms-full.txt, feed and x402 catalog. |
clobradar.com/sitemap.xml | Canonical pages: overview, Explorer, methodology, developer reference, llms.txt, llms-full.txt and feed.xml. |
api.clobradar.com/health | Liveness, safe-harbor mode and region-policy check. |
x402 catalog fields
| Field | Value |
|---|---|
x402Version | 2 |
service, safeHarbor, disclaimer | Service name, impersonal_telemetry_only and the telemetry disclaimer. |
payTo | Recipient address, or an empty string when no safe address is configured (see fail-closed payTo). |
payToConfigured | true only when payTo is a valid, non-zero, non-burn address. |
priceUsdc / amountAtomic | "0.25" / "250000" (USDC has 6 decimals). |
networks | ["eip155:8453", "eip155:137"] (Base, Polygon). |
assets | base: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913; polygon: 0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359. |
endpoints[] | path, url, method, priceUsdc, amountAtomic, network, asset, payTo, extra ({"name":"USD Coin","version":"2"}), description. |
curl -s https://api.clobradar.com/.well-known/x402.json
Telemetry summary
GET/api/v1/telemetry/summarypublic, no credentials
Full-universe aggregates for the latest delayed snapshot plus three exemplar pools and their orderbook lenses. Without filters, preview_pools are the first three rows of the delayed snapshot. With any filter, the exemplars are the first three matches; on snapshots larger than ten pools they are drawn from rank four onward.
Query parameters
| Parameter | Values | Effect |
|---|---|---|
fee_family | all, crypto, sports, politics, finance, entertainment, tech, none, other, zero | Restricts exemplars to one fee-regime family. zero (also zero_fees, fee_free) is an alias for none; all means no restriction. |
paired | 1, 0, true, false | When true, only pools eligible for two-sided quoting. |
q | text, at most 80 characters | Case-insensitive substring match on title, market slug, event slug and semantic cluster. |
sort | est_daily_usd, pool_daily_usd, shield_usdc, jumps_5c_7d | Reorders matches. The first three sort descending; jumps_5c_7d sorts ascending (calmer first). Ties keep rank order. |
An invalid value returns 400 with {"ok":false,"code":"INVALID_FILTER","error":"…"}. Responses carry a weak ETag; send it back as If-None-Match to receive 304 Not Modified until the snapshot or filter changes. Browsers revalidate automatically; the header is not in the CORS expose list.
Response fields
| Field | Meaning |
|---|---|
ok, service, safe_harbor | true, the service name and impersonal_telemetry_only. |
schema_version, disclaimer | Snapshot schema version and the impersonal-telemetry disclaimer. |
captured_ts, captured_iso | Capture time of the snapshot (Unix seconds and ISO 8601). |
delayed, preview_limit | Always true and 3. |
universe | total_reward_markets, total_daily_pool_usd, pages_scanned, active_filtered_count, fee_type_counts, rewards_min_size_dist. |
preview_pools | Up to three exemplars with 33 public fields (the snapshot fields minus token ids, level index, share and notional size, tick and minimum order size). |
scored_count | Number of scored pools in the full snapshot. |
locked_count | scored_count minus the previews shown. |
matched_scored_count | Pools matching the filter (equals scored_count when unfiltered). |
filter_applied | true when any filter parameter was non-empty. |
rank_bands | Per band: label, rank_start, rank_end, pool_count, daily_pool_usd_sum, median_est_daily_usd, paired_count. |
universe_histograms | daily_pool_usd, max_spread_cents and midpoint histograms, fee_regime_rollup, fee_regime_scored_market_n, universe_fee_sample_n. |
preview_lenses | Orderbook lens per exemplar, keyed by condition_id (same shape as lenses). |
freshness | captured_iso, age_seconds, cadence_seconds (900), is_fixture_fallback. |
curl -s "https://api.clobradar.com/api/v1/telemetry/summary?fee_family=sports&paired=1&sort=shield_usdc"
# Conditional request: 304 until the snapshot changes
curl -s -o /dev/null -w "%{http_code}\n" \
-H 'If-None-Match: W/"…"' \
https://api.clobradar.com/api/v1/telemetry/summary
const url = new URL("https://api.clobradar.com/api/v1/telemetry/summary");
url.searchParams.set("q", "election");
url.searchParams.set("sort", "est_daily_usd");
const res = await fetch(url);
const data = await res.json();
if (!data.ok) throw new Error(`${data.code}: ${data.error}`);
console.log(data.captured_iso, data.freshness.age_seconds, "s old");
console.log(data.matched_scored_count, "of", data.scored_count, "pools match");
for (const pool of data.preview_pools) {
console.log(pool.market_slug, pool.est_daily_usd, pool.shield_usdc);
}
import requests
r = requests.get(
"https://api.clobradar.com/api/v1/telemetry/summary",
params={"fee_family": "crypto", "paired": "1"},
timeout=10,
)
r.raise_for_status()
data = r.json()
print(data["captured_iso"], data["scored_count"], data["matched_scored_count"])
for band in data["rank_bands"]:
print(band["label"], band["pool_count"], band["median_est_daily_usd"])
x402 payments
Three telemetry endpoints accept x402 v2 payments, so an agent with a USDC wallet can buy responses with no account, no key and no checkout: GET /api/x402/top-pools costs $0.03 (30000 atomic units) for compact top-25 uncrowded pools, while GET /api/x402/yield-radar and GET /api/v1/telemetry/lenses cost $0.25 (250000 atomic units) on Base (eip155:8453, contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) or Polygon (eip155:137, contract 0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359). Every HTTP 402 challenge also emits a top-level extensions.bazaar discovery block (input/output examples plus JSON Schema Draft 2020-12) for automatic indexing in Coinbase x402 Bazaar and x402scan.
Agent flow
- Request.
GET /api/x402/yield-radar(or/api/v1/telemetry/lenses) with no payment header. - Read the challenge. The response is
402. ItsPAYMENT-REQUIREDheader is base64 JSON withx402Version: 2,error,resource(url,description,mimeType),accepts[]andextensions.bazaar. Each accepts entry hasscheme: "exact",network,maxAmountRequiredandamount(both"250000"),asset,payTo,maxTimeoutSeconds(120) andextra: {"name":"USD Coin","version":"2"}. The JSON body repeats the challenge. - Sign locally. Pick one entry and sign an EIP-3009
transferWithAuthorizationforamounttopayTo, using the EIP-712 domain fromextra, the chain id ofnetworkandassetas the verifying contract. The signature is produced by the agent's own wallet; nothing secret is sent to CLOB Radar. - Retry with proof. Send the same request with
PAYMENT-SIGNATUREset to base64 JSON{"x402Version":2,"accepted":{…the entry…},"payload":{"signature":"0x…","authorization":{"from","to","value","validAfter","validBefore","nonce"}}}.X-PAYMENTis accepted as an alias. The server checks network, asset, recipient, amount and EIP-712 domain, then verifies and settles through the x402 facilitator. - Receive data.
200with the JSON payload and aPAYMENT-RESPONSEheader: base64 JSON{"success":true,"transaction","network","payer","method":"facilitator"}. A rejected proof returns402again, withPAYMENT-RESPONSEand asettlement.errorReasonin the body.
# Decode the challenge (macOS: base64 -D)
curl -s -D - -o /dev/null https://api.clobradar.com/api/x402/yield-radar \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 -d
// `wallet` is the agent's own viem WalletClient (hardware, KMS or local signer).
const url = "https://api.clobradar.com/api/x402/yield-radar?limit=100";
const first = await fetch(url);
if (first.status !== 402) throw new Error(`expected 402, got ${first.status}`);
const challenge = JSON.parse(atob(first.headers.get("PAYMENT-REQUIRED")));
const req = challenge.accepts.find((a) => a.network === "eip155:8453");
if (!req.payTo) throw new Error("payTo not configured: do not pay");
const hex = (bytes) => "0x" + [...bytes].map((b) => b.toString(16).padStart(2, "0")).join("");
const authorization = {
from: wallet.account.address,
to: req.payTo,
value: req.amount, // "250000" = $0.25 USDC
validAfter: "0",
validBefore: String(Math.floor(Date.now() / 1000) + req.maxTimeoutSeconds),
nonce: hex(crypto.getRandomValues(new Uint8Array(32))),
};
const signature = await wallet.signTypedData({
domain: { name: req.extra.name, version: req.extra.version, chainId: 8453, verifyingContract: req.asset },
types: {
TransferWithAuthorization: [
{ name: "from", type: "address" },
{ name: "to", type: "address" },
{ name: "value", type: "uint256" },
{ name: "validAfter", type: "uint256" },
{ name: "validBefore", type: "uint256" },
{ name: "nonce", type: "bytes32" },
],
},
primaryType: "TransferWithAuthorization",
message: {
...authorization,
value: BigInt(authorization.value),
validAfter: 0n,
validBefore: BigInt(authorization.validBefore),
},
});
const proof = btoa(JSON.stringify({ x402Version: 2, accepted: req, payload: { signature, authorization } }));
const paid = await fetch(url, { headers: { "PAYMENT-SIGNATURE": proof } });
if (!paid.ok) throw new Error(`payment rejected: ${paid.status}`);
const receipt = JSON.parse(atob(paid.headers.get("PAYMENT-RESPONSE")));
const snapshot = await paid.json();
console.log(receipt.transaction, snapshot.pools.length);
Wallet path: pay first, then present the transaction
A person with an ordinary wallet can send at least 250000 atomic units (0.25 USDC) to payTo on Base or Polygon, then present the transaction hash. The server fetches the receipt over RPC, requires status 0x1, sums USDC Transfer logs to payTo, and records the hash so it can be used only once (replay protection, kept for 30 days). Set x-payment-chain-id: 137 for a Polygon transfer; the default is 8453.
curl -s -D - "https://api.clobradar.com/api/x402/yield-radar?limit=500" \
-H "x-payment-tx: 0x<64-hex transaction hash>" \
-H "x-payment-chain-id: 8453"
Fail-closed payTo. The recipient comes only from server configuration. If no safe address is configured, the catalog and every challenge advertise payTo: "" and payToConfigured: false; the zero address and the conventional burn address are never advertised. In that state every paid request returns 402 with errorReason: "pay_to_not_configured" and nothing is verified or settled. Agents should refuse to sign when payTo is empty and should never pay an address that is not in the live challenge.
Full snapshot
GET/api/x402/yield-radarBearer key (any plan) or x402 payment
Every scored pool in the latest snapshot, in rank order, with all 41 fields. A Bearer key is used when no payment header is present; any payment header switches the request to x402 verification.
| Parameter | Values | Effect |
|---|---|---|
limit | integer, clamped to 1–500; default 50 | Maximum rows returned after filtering. |
min_daily_usd | number | Keeps pools with est_daily_usd at or above the value. |
min_shield_usdc | number | Keeps pools with shield_usdc at or above the value. |
two_sided_only | true or 1 | Keeps pools where two_sided_eligible is true. |
fee_type | raw fee type | Matches the fee group: fee_free = zero_fees; maker_rebate_v2 = maker_rebate_crypto; sports_fees and sports_fees_v3 = sports_fee. |
cluster | text | Exact, case-insensitive match on semantic_cluster. |
Malformed numeric values are ignored rather than rejected. The response has schema_version, disclaimer, captured_ts, captured_iso, universe and pools[].
The 41 pool fields
| Group | Fields |
|---|---|
| Identity | condition_id, token_id, event_slug, market_slug, title, outcome |
| Timing | hours_to_end |
| Quote level | level_idx, level_tag, bid_price, midpoint, dist, tick_size, min_order_size |
| Size | shares, notional_usdc |
| Queue depth | shield_usdc, higher_level_usdc, same_level_ext_usdc |
| Reward model | est_daily_usd, pool_daily_usd, rewards_min_size, rewards_max_spread_c, q_mkt, rank_score |
| Fees | fee_type, fee_rate, rebate_rate, taker_only (boolean), rebate_bonus |
| Volume and moves | vol_24h_usdc, jumps_2c_7d, jumps_5c_7d, max_1h_jump_7d, range_24h, range_7d |
| Two-sided | two_sided_eligible (boolean), opp_token_id (string or null), opp_shield_usdc, two_sided_est_daily_usd |
| Classification | semantic_cluster |
Unmarked fields are strings (identity, level_tag, fee_type, semantic_cluster) or numbers. Methodology for each modeled figure is on the methodology page.
curl -s "https://api.clobradar.com/api/x402/yield-radar?limit=200&min_daily_usd=5&two_sided_only=1" \
-H "Authorization: Bearer $CLOBRADAR_KEY"
import os
import requests
r = requests.get(
"https://api.clobradar.com/api/x402/yield-radar",
params={"limit": 500, "fee_type": "sports_fee", "min_shield_usdc": 0},
headers={"Authorization": f"Bearer {os.environ['CLOBRADAR_KEY']}"},
timeout=20,
)
if r.status_code == 402:
raise SystemExit("no valid key or payment: see PAYMENT-REQUIRED header")
r.raise_for_status()
snap = r.json()
print(snap["captured_iso"], len(snap["pools"]), "pools")
Orderbook lenses
GET/api/v1/telemetry/lensesPro or Desk Bearer key, or x402 payment
Depth ladders for the top 60 ranked markets (five levels a side) and a rolling 24-hour history of universe totals. A Starter key receives 403 PRO_TIER_REQUIRED; a request with no credentials receives 401 AUTH_REQUIRED. The x402 flow is identical to the snapshot, at the same $0.25.
| Field | Meaning |
|---|---|
ok, disclaimer, captured_iso, scored_count | Envelope for the snapshot the lenses belong to. |
lens_source | cron (live ladders) or snapshot_fallback. |
access_via | subscription or x402. |
orderbook_lenses | Object keyed by condition_id. Each lens: condition_id, token_id, outcome, tick_size, midpoint, bids and asks as [price, size] pairs, size_unit and synthetic. |
size_unit / synthetic | shares for real CLOB ladders; usdc_notional with synthetic: true for a one-level lens derived from the snapshot. |
history_ring | Up to 96 points (24 hours at 15 minutes): captured_iso, total_reward_markets, total_daily_pool_usd, scored_count, top_est_daily_usd, median_est_daily_usd. |
curl -s https://api.clobradar.com/api/v1/telemetry/lenses \
-H "Authorization: Bearer $CLOBRADAR_KEY"
{
"ok": true,
"lens_source": "cron",
"access_via": "subscription",
"orderbook_lenses": {
"0xabc…": {
"condition_id": "0xabc…",
"token_id": "…",
"outcome": "Yes",
"tick_size": 0.01,
"midpoint": 0.425,
"bids": [[0.42, 1500], [0.41, 3200]],
"asks": [[0.43, 900], [0.44, 2750]],
"size_unit": "shares",
"synthetic": false
}
},
"history_ring": [
{ "captured_iso": "…", "total_reward_markets": 0, "total_daily_pool_usd": 0,
"scored_count": 0, "top_est_daily_usd": 0, "median_est_daily_usd": 0 }
]
}
Billing and keys
Subscriber keys are issued either instantly via Direct on-chain USDC (Base 8453 or Polygon 137, zero KYC, live 24/7) or via Creem / Whop as merchant of record for card billing. In both flows CLOB Radar collects zero personal data: direct USDC mints and returns your cyr_live_… key in the verification response, while MoR card checkouts deliver keys through a one-time browser claim where only the SHA-256 hash of a local claim_nonce ever leaves the device before payment.
POST/api/billing/onchain-subscribepublic, zero-KYC on-chain receipt
Verifies a confirmed USDC transfer on Base (8453) or Polygon (137) to the configured payTo address and immediately mints an active cyr_live_… subscriber key. Send {"tx_hash","chain_id":8453|137,"plan":"sprint"|"lp_starter"|"starter"|"pro"|"desk","interval":"7d"|"month"|"year"}. Sprint Pass ($15) grants 7 days; monthly transfers ($39/$99/$249/$599) grant 30 days; annual transfers (10× monthly, 2 months free) grant 365 days. Transaction hashes are replay-protected across both onchain-subscribe and x402 for 365 days. Inspect live rail readiness at GET /api/billing/status.
curl -s -X POST https://api.clobradar.com/api/billing/onchain-subscribe \
-H "Content-Type: application/json" \
-d '{"tx_hash":"0x<64-hex transaction hash>","chain_id":8453,"plan":"pro","interval":"month"}'
Zero-PII MoR card claim flow
- Make a nonce. Generate a random
claim_nonce(16 to 256 characters) and keep it in the browser. Computeclaim_token_hash= SHA-256 of the nonce as 64 hex characters. - Start checkout.
POST /api/billing/checkoutwith{"provider":"creem"|"whop","plan":"starter"|"pro"|"desk","success_url"?,"claim_token_hash"?}. The response hasok,provider,checkout_id,checkout_url,plan,price_usd,intervaland, when a hash was sent,claim_id(clm_+ 24 hex). Keepclaim_idbeside the nonce. - Pay. Redirect to
checkout_url. The provider's webhook mints the key server-side and parks it againstclaim_id. A pending claim lives for 24 hours. - Claim.
POST /api/billing/claim-keywith{"claim_id","claim_nonce"}.202 {"status":"pending"}means the payment has not landed yet; poll again.200 {"ok":true,"status":"ready","api_key","plan","capabilities"}returns the key exactly once, then deletes it. A ready key that is not claimed within 30 minutes expires. - Store the key. Save
cyr_live_…in your own secret store. Only its hash is kept server-side; it cannot be shown again.
const API = "https://api.clobradar.com";
const hex = (buf) => [...new Uint8Array(buf)].map((b) => b.toString(16).padStart(2, "0")).join("");
// 1. Nonce stays in the browser; only its SHA-256 is sent.
const claimNonce = hex(crypto.getRandomValues(new Uint8Array(32)));
const claimTokenHash = hex(await crypto.subtle.digest("SHA-256", new TextEncoder().encode(claimNonce)));
// 2. Checkout.
const res = await fetch(`${API}/api/billing/checkout`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ provider: "creem", plan: "pro", claim_token_hash: claimTokenHash }),
});
const checkout = await res.json();
sessionStorage.setItem("clobradar-claim", JSON.stringify({ claim_id: checkout.claim_id, claim_nonce: claimNonce }));
location.assign(checkout.checkout_url);
// 3. After returning from checkout: poll until the key is ready.
async function claimKey() {
const claim = JSON.parse(sessionStorage.getItem("clobradar-claim"));
for (let attempt = 0; attempt < 60; attempt++) {
const r = await fetch(`${API}/api/billing/claim-key`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(claim),
});
if (r.status === 202) { await new Promise((done) => setTimeout(done, 5000)); continue; }
const out = await r.json();
if (r.ok && out.status === "ready") { sessionStorage.removeItem("clobradar-claim"); return out.api_key; }
throw new Error(out.code);
}
}
curl -s -X POST https://api.clobradar.com/api/billing/claim-key \
-H "Content-Type: application/json" \
-d '{"claim_id":"clm_0123456789abcdef01234567","claim_nonce":"<the nonce you kept>"}'
GET/api/billing/entitlementBearer key
Returns ok, active, provider, tier, status, key_prefix (first 17 characters), subscription_id, expires_at_ms (for fixed-term direct USDC plans), rate_limit_per_min and capabilities. A missing or unknown key returns 401; a revoked or expired key returns 403 with active: false and status.
curl -s https://api.clobradar.com/api/billing/entitlement \
-H "Authorization: Bearer $CLOBRADAR_KEY"
POST/api/billing/rotate-keyDesk Bearer key
Mints a new key on the same subscription and revokes the presented one immediately. Returns {"ok":true,"api_key","plan":"desk","capabilities"}. Starter and Pro keys receive 403 DESK_TIER_REQUIRED.
curl -s -X POST https://api.clobradar.com/api/billing/rotate-key \
-H "Authorization: Bearer $CLOBRADAR_KEY"
Plan capabilities
| Capability | starter | pro | desk |
|---|---|---|---|
| Price per month (annual 10×) | $99 ($990/yr) | $249 ($2,490/yr) | $599 ($5,990/yr) |
rate_limit_per_min | 60 | 180 | 600 |
daily_request_allowance | 1,500 | 10,000 | 50,000 |
full_snapshot | yes | yes | yes |
orderbook_lenses | no | yes | yes |
history_24h | no | yes | yes |
slot_simulator | yes | yes | yes |
bulk_export | no | no | yes |
key_rotation | no | no | yes |
pro_forma_invoice | no | no | yes |
Builder attribution
Builders who route their own Polymarket CLOB orders can attribute them with a builder code without handing anything custodial to CLOB Radar. Your client builds the order, sets the bytes32 builder field of the EIP-712 order struct, and signs it with your own wallet. Only the HMAC request headers come from CLOB Radar; the order goes straight from your client to clob.polymarket.com.
GET/api/builder/attribution-specpublic
Returns non_custodial: true, custody_accepted: false, builder_code_hex, fee tiers (unverified and verified, both capped at 50 bps maker and 100 bps taker), order_struct (version: "CLOB_V2", builder_field: "bytes32 builder", hex_length: 66, zero default), remote_signer, client_signing_instructions and region_policy.
POST/api/polymarket/signBearer key (any active plan)
Body {"method","path","body"?}. method is one of GET, POST, DELETE, PUT, PATCH; path must start with / and contain no .., whitespace or leading //; body is a string (signed byte-for-byte) or a JSON value (signed as JSON.stringify), at most 64 KB in total. The response contains only four headers:
| Header | Value |
|---|---|
POLY_BUILDER_API_KEY | Builder API key identifier. |
POLY_BUILDER_TIMESTAMP | Unix timestamp used in the signature (seconds). |
POLY_BUILDER_PASSPHRASE | Builder passphrase. |
POLY_BUILDER_SIGNATURE | HMAC-SHA256 over timestamp + METHOD + path + body, URL-safe base64 with padding. |
Custodial fields (private keys, seed phrases, mnemonics) are rejected with HTTP 400 and code NON_CUSTODIAL_VIOLATION, wherever they appear in the request body. Send the exact body string you will post to the CLOB so the signature matches.
RemoteBuilderConfig
Polymarket's client SDKs accept a remote builder configuration: point it at the sign endpoint with your cyr_live_… key as the token, and the SDK fetches the four headers for each order request. The shape below follows the builder-signing SDK; check the option names for your SDK version.
import { BuilderConfig } from "@polymarket/builder-signing-sdk";
// The SDK POSTs {method, path, body} here and attaches the returned POLY_BUILDER_* headers.
const builderConfig = new BuilderConfig({
remoteBuilderConfig: {
url: "https://api.clobradar.com/api/polymarket/sign",
token: process.env.CLOBRADAR_KEY,
},
});
// Pass builderConfig to your ClobClient. Orders are still built and signed by
// your own wallet, with the bytes32 builder field set, and posted directly to the CLOB.
curl -s -X POST https://api.clobradar.com/api/polymarket/sign \
-H "Authorization: Bearer $CLOBRADAR_KEY" \
-H "Content-Type: application/json" \
-d '{"method":"POST","path":"/order","body":"{\"order\":{}}"}'
# {
# "POLY_BUILDER_API_KEY": "…",
# "POLY_BUILDER_TIMESTAMP": "…",
# "POLY_BUILDER_PASSPHRASE": "…",
# "POLY_BUILDER_SIGNATURE": "…"
# }
Try the signer
Sends one request from your browser to https://api.clobradar.com/api/polymarket/sign with an empty body and shows the result.
Region policy
Builder signing follows Polymarket's builder-code region rule: AWS eu-west-2 (London) is excluded, and the nearest permitted EU region is eu-west-1 (Ireland). Run any companion compute that requests builder headers in eu-west-1 or outside Europe.
| Signal | Result at /api/polymarket/sign |
|---|---|
Deployment region, or a request header x-deployment-region / x-cloud-region, containing eu-west-2 | 403 PROHIBITED_REGION_EU_WEST_2 with recommended_eu_region: "eu-west-1" |
Request arriving at the Cloudflare LHR edge | 403 PROHIBITED_REGION_EU_WEST_2 (prohibited_region_detected: "LHR (eu-west-2)") |
| Any other region | Signed normally |
GET /health reports ok, service, safe_harbor, region_policy (exclude_eu_west_2), region_compliant, colo and schema_version. Read-only telemetry endpoints are not region-restricted.
curl -s https://api.clobradar.com/health
Remote MCP & Daily Digest
Connect Claude, Cursor, Windsurf, or any Model Context Protocol host directly to CLOB Radar with zero local installation via the stateless Streamable HTTP MCP endpoint (com.clobradar/clobradar).
POST/mcpMCP 2025-03-26 Streamable HTTP · 7 read-only tools
Exposes get_telemetry_summary, get_daily_digest, get_x402_catalog, get_builder_attribution_spec (free), get_top_pools ($0.03 x402 or Bearer key), get_yield_radar ($0.25 x402 or Bearer key), and get_telemetry_lenses ($0.25 x402 or Pro/Desk Bearer key).
{
"mcpServers": {
"clobradar": {
"url": "https://api.clobradar.com/mcp"
}
}
}
GET/api/v1/telemetry/daily-digestpublic
Returns the Top-3 low-jump, thick-shield Polymarket liquidity-reward pools from the live 15-minute snapshot alongside pre-formatted Discord, Bluesky, and X telemetry briefs.
Transparency
GET/api/public/trustmrr-readinesspublic
A static, read-only manifest describing how revenue is verified on TrustMRR. It contains no customer data: pii_collected: false and zero_customer_pii: true. Other top-level fields are platform, service, onboarding_fee_usd, revenue_sync (aggregate metrics only: mrr_usd, gross_revenue_30d_usd, active_subscriptions_count, churn_rate_30d), terms_sec_14_compliance (no paid placements), exit_readiness and safe_harbor.
curl -s https://api.clobradar.com/api/public/trustmrr-readiness
Errors
Errors are JSON with ok: false, a human-readable error and, in most cases, a stable code. Subscriber-key failures carry the reason in error: missing_or_invalid_bearer_token (no cyr_live_ Bearer header, 401), an unknown-key reason (401) or entitlement_revoked (403).
| Status | Code | Where and why |
|---|---|---|
| 400 | INVALID_FILTER | Summary: bad fee_family, paired, q or sort. |
| 400 | INVALID_JSON, INVALID_REQUEST | POST bodies that are not a JSON object. |
| 400 | UNSUPPORTED_PROVIDER, PROVIDER_DISQUALIFIED | Checkout: provider must be creem or whop. |
| 400 | INVALID_PLAN, INVALID_SUCCESS_URL | Checkout: plan not one of starter, pro, desk; success_url not http(s). |
| 400 | INVALID_CLAIM_ID, INVALID_CLAIM_NONCE_FORMAT | Claim: malformed claim_id, or nonce outside 16 to 256 characters. |
| 400 | NON_CUSTODIAL_VIOLATION | Sign: a custodial field was present; rejected_field names its path. |
| 400 | INVALID_METHOD, INVALID_PATH, INVALID_BODY | Sign: unsupported method, unsafe path, or a body that is not a string or JSON value. |
| 401 | AUTH_REQUIRED | Lenses: no Bearer key and no payment proof. |
| 401 | UNAUTHORIZED | Lenses and rotate-key: missing, unknown or (for rotate-key) revoked key. |
| 402 | x402 challenge | Snapshot or lenses without a valid payment. With a rejected proof, settlement.errorReason explains why, for example pay_to_not_configured, tx_hash_already_used, receipt_reverted, insufficient_usdc_transfer:…, invalid_tx_hash_format, unsupported_chain_id, unsupported_network, invalid_asset, invalid_pay_to, insufficient_amount. |
| 403 | PRO_TIER_REQUIRED | Lenses with a Starter key. |
| 403 | DESK_TIER_REQUIRED | Rotate-key with a Starter or Pro key. |
| 403 | INVALID_CLAIM_NONCE | Claim: the nonce does not hash to the stored claim_token_hash. |
| 403 | PROHIBITED_REGION_EU_WEST_2 | Sign: request from eu-west-2 or the LHR edge. |
| 403 | entitlement_revoked / entitlement_expired | Any Bearer endpoint with a revoked, lapsed or expired fixed-term USDC key (rotate-key reports it as 401). |
| 404 | CLAIM_NOT_FOUND_OR_CONSUMED | Claim: unknown, expired or already redeemed. |
| 404 | none | Unknown route: {"ok":false,"error":"Not found","path"}. |
| 413 | none | Body over the limit (16 KB checkout, 4 KB claim, 64 KB sign). |
| 502 | CREEM_UPSTREAM_ERROR, CREEM_INVALID_RESPONSE, CREEM_NETWORK_ERROR, WHOP_UPSTREAM_ERROR, WHOP_INVALID_RESPONSE, WHOP_NETWORK_ERROR | Checkout: the merchant of record failed or was unreachable. |
| 503 | CREEM_NOT_CONFIGURED, WHOP_NOT_CONFIGURED, CLAIM_STORE_UNAVAILABLE, ENTITLEMENT_STORE_UNAVAILABLE, BUILDER_CREDENTIALS_NOT_CONFIGURED | A dependency is not configured on this deployment. |
| 500 | none | Unhandled error: {"ok":false,"error":"Internal server error"}. |