{"openapi":"3.1.0","jsonSchemaDialect":"https://spec.openapis.org/oas/3.1/dialect/base","info":{"title":"CLOB Radar API","version":"1.0.0","summary":"Impersonal 9,336-pool Polymarket CLOB liquidity-reward telemetry, x402 v2 Base USDC micropayments & non-custodial Builder attribution.","description":"Impersonal market telemetry only. Not personalized investment advice, individualized trading signals, or trade execution. Published under 15 U.S.C. § 80b-2(a)(11)(D) (Lowe v. SEC, 472 U.S. 181) and 17 CFR § 4.14(a)(9). Zero customer private-key custody; AWS eu-west-2 and Cloudflare LHR edge PoPs are excluded.","contact":{"name":"CLOB Radar","url":"https://clobradar.com/"},"license":{"name":"CC BY-NC 4.0 (Impersonal Telemetry Schema) / Commercial SaaS & x402 Override","url":"https://clobradar.com/#pricing"}},"servers":[{"url":"https://api.clobradar.com","description":"Primary Production API Gateway"},{"url":"https://clobradar.com","description":"Primary Web & API Origin"}],"tags":[{"name":"Telemetry","description":"Read-only impersonal 9,336-pool CLOB reward telemetry"},{"name":"x402","description":"HTTP 402 machine-to-machine Base/Polygon USDC payments"},{"name":"Builder","description":"Non-custodial Polymarket Builder Code attribution & header signing"},{"name":"Billing & Compliance","description":"Creem/Whop SaaS subscriptions & TrustMRR readiness"}],"paths":{"/health":{"get":{"operationId":"getHealth","tags":["Billing & Compliance"],"summary":"Service health, safe-harbor mode, and region policy check","responses":{"200":{"description":"Healthy edge service metadata","content":{"application/json":{"schema":{"type":"object","required":["ok","service","safe_harbor","region_policy","region_compliant","schema_version"],"properties":{"ok":{"type":"boolean","const":true},"service":{"type":"string","example":"clob-yield-radar"},"safe_harbor":{"type":"string","example":"impersonal_telemetry_only"},"region_policy":{"type":"string","example":"exclude_eu_west_2"},"region_compliant":{"type":"boolean"},"colo":{"type":["string","null"]},"schema_version":{"type":"string","example":"1.0.0"}}}}}}}}},"/.well-known/x402.json":{"get":{"operationId":"getX402Catalog","tags":["x402"],"summary":"Machine-readable x402 v2 payment discovery catalog","description":"Returns accepted Base (eip155:8453) and Polygon (eip155:137) USDC payment metadata ($0.03 / 30000 atomic units).","responses":{"200":{"description":"x402 v2 discovery catalog JSON","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402CatalogResponse"}}}}}}},"/api/x402/catalog":{"get":{"operationId":"getX402CatalogAlias","tags":["x402"],"summary":"Alias for /.well-known/x402.json discovery catalog","responses":{"200":{"description":"x402 v2 discovery catalog JSON","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402CatalogResponse"}}}}}}},"/api/v1/telemetry/summary":{"get":{"operationId":"getTelemetrySummary","tags":["Telemetry"],"summary":"Free public universe summary and top 3 delayed preview pools","description":"Returns full-universe reward market aggregates refreshed every 15 minutes at the Cloudflare edge, plus a 3-row delayed preview slice.","responses":{"200":{"description":"Public universe summary and 3-row delayed preview","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelemetrySummaryResponse"}}}}}}},"/api/x402/yield-radar":{"get":{"operationId":"getYieldRadarSnapshot","tags":["Telemetry","x402"],"summary":"Full 41-field impersonal CLOB liquidity-reward telemetry feed","description":"Gated by x402 v2 Base Mainnet USDC ($0.03 = 30000 atomic units on eip155:8453 / 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 or eip155:137 / 0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359 paid to 0x534DBB599BE24e73E7e78a3faAe3a96eB6ad6928) OR an active Creem/Whop SaaS Bearer entitlement.","security":[{"X402PaymentSignature":[]},{"BearerAuth":[]}],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum pool rows returned (1 to 500, default 50).","schema":{"type":"integer","minimum":1,"maximum":500,"default":50}},{"name":"min_daily_usd","in":"query","required":false,"description":"Minimum estimated daily reward USD filter.","schema":{"type":"number","minimum":0}},{"name":"min_shield_usdc","in":"query","required":false,"description":"Minimum FIFO queue shield depth in USDC.","schema":{"type":"number","minimum":0}},{"name":"two_sided_only","in":"query","required":false,"description":"Set true or 1 to return only two-sided 3p band-eligible pools.","schema":{"type":"boolean","default":false}},{"name":"fee_type","in":"query","required":false,"description":"Canonical fee regime filter (zero_fees, fee_free, maker_rebate_crypto, maker_rebate_v2, sports_fee, sports_fees_v3).","schema":{"type":"string"}},{"name":"cluster","in":"query","required":false,"description":"Exact semantic cluster filter (e.g. CLUSTER:ORNN_GPU, CLUSTER:FOMC_RATES).","schema":{"type":"string"}}],"responses":{"200":{"description":"Filtered YieldRadarSnapshot telemetry payload","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded JSON settlement receipt when unlocked via x402 payment.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/YieldRadarSnapshot"}}}},"401":{"description":"Missing or invalid SaaS Bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment Required — x402 v2 Base/Polygon USDC payment challenge","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON x402 v2 payment challenge.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequiredChallenge"}}}},"403":{"description":"Revoked SaaS Bearer entitlement","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/builder/attribution-spec":{"get":{"operationId":"getBuilderAttributionSpec","tags":["Builder"],"summary":"Non-custodial Polymarket Builder Code schema, fee bounds & region policy","responses":{"200":{"description":"Builder Code attribution specification","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/polymarket/sign":{"post":{"operationId":"signPolymarketBuilderHeaders","tags":["Builder"],"summary":"Non-custodial RemoteBuilderConfig HMAC header signer","description":"Returns ONLY POLY_BUILDER_API_KEY, POLY_BUILDER_TIMESTAMP, POLY_BUILDER_PASSPHRASE, and POLY_BUILDER_SIGNATURE for an active SaaS subscriber. Rejects any custodial key/seed/mnemonic field with HTTP 400 and rejects AWS eu-west-2 / Cloudflare LHR PoPs with HTTP 403.","security":[{"BearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolymarketSignRequest"}}}},"responses":{"200":{"description":"Builder HMAC attribution headers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolymarketSignResponse"}}}},"400":{"description":"Malformed request or NON_CUSTODIAL_VIOLATION (private key/seed/mnemonic rejected)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid Bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Revoked entitlement or PROHIBITED_REGION_EU_WEST_2 (AWS eu-west-2 / Cloudflare LHR)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/public/trustmrr-readiness":{"get":{"operationId":"getTrustMrrReadiness","tags":["Billing & Compliance"],"summary":"Non-PII TrustMRR Verified MRR & Escrow.com APA readiness manifest","responses":{"200":{"description":"TrustMRR readiness JSON manifest","content":{"application/json":{"schema":{"type":"object"}}}}}}}},"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"cyr_live_*","description":"Creem or Whop SaaS subscriber token (Starter $79, Pro $89, Quant Desk $99)."},"X402PaymentSignature":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"Base64-encoded x402 v2 EIP-3009 Base/Polygon USDC payment authorization."}},"schemas":{"UniverseSummary":{"type":"object","required":["total_reward_markets","total_daily_pool_usd","pages_scanned","active_filtered_count","fee_type_counts","rewards_min_size_dist"],"properties":{"total_reward_markets":{"type":"integer","minimum":0},"total_daily_pool_usd":{"type":"number","minimum":0},"pages_scanned":{"type":"integer","minimum":0},"active_filtered_count":{"type":"integer","minimum":0},"fee_type_counts":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"rewards_min_size_dist":{"type":"object","additionalProperties":{"type":"integer","minimum":0}}}},"PoolTelemetry":{"type":"object","required":["condition_id","token_id","event_slug","market_slug","title","outcome","hours_to_end","level_idx","level_tag","bid_price","midpoint","shares","notional_usdc","shield_usdc","higher_level_usdc","same_level_ext_usdc","est_daily_usd","pool_daily_usd","rewards_min_size","rewards_max_spread_c","q_mkt","dist","rank_score","tick_size","min_order_size","fee_type","fee_rate","rebate_rate","taker_only","rebate_bonus","vol_24h_usdc","jumps_2c_7d","jumps_5c_7d","max_1h_jump_7d","range_24h","range_7d","two_sided_eligible","opp_token_id","opp_shield_usdc","two_sided_est_daily_usd","semantic_cluster"],"properties":{"condition_id":{"type":"string"},"token_id":{"type":"string"},"event_slug":{"type":"string"},"market_slug":{"type":"string"},"title":{"type":"string"},"outcome":{"type":"string"},"hours_to_end":{"type":"number"},"level_idx":{"type":"integer"},"level_tag":{"type":"string"},"bid_price":{"type":"number"},"midpoint":{"type":"number"},"shares":{"type":"number"},"notional_usdc":{"type":"number"},"shield_usdc":{"type":"number"},"higher_level_usdc":{"type":"number"},"same_level_ext_usdc":{"type":"number"},"est_daily_usd":{"type":"number"},"pool_daily_usd":{"type":"number"},"rewards_min_size":{"type":"number"},"rewards_max_spread_c":{"type":"number"},"q_mkt":{"type":"number"},"dist":{"type":"number"},"rank_score":{"type":"number"},"tick_size":{"type":"number"},"min_order_size":{"type":"number"},"fee_type":{"type":"string"},"fee_rate":{"type":"number"},"rebate_rate":{"type":"number"},"taker_only":{"type":"boolean"},"rebate_bonus":{"type":"number"},"vol_24h_usdc":{"type":"number"},"jumps_2c_7d":{"type":"integer"},"jumps_5c_7d":{"type":"integer"},"max_1h_jump_7d":{"type":"number"},"range_24h":{"type":"number"},"range_7d":{"type":"number"},"two_sided_eligible":{"type":"boolean"},"opp_token_id":{"type":["string","null"]},"opp_shield_usdc":{"type":"number"},"two_sided_est_daily_usd":{"type":"number"},"semantic_cluster":{"type":"string"}}},"TelemetrySummaryResponse":{"type":"object","required":["schema_version","disclaimer","captured_ts","captured_iso","delayed","preview_limit","universe","preview_pools"],"properties":{"schema_version":{"type":"string","example":"1.0.0"},"disclaimer":{"type":"string"},"captured_ts":{"type":"integer"},"captured_iso":{"type":"string","format":"date-time"},"delayed":{"type":"boolean","const":true},"preview_limit":{"type":"integer","const":3},"universe":{"$ref":"#/components/schemas/UniverseSummary"},"preview_pools":{"type":"array","maxItems":3,"items":{"type":"object"}}}},"YieldRadarSnapshot":{"type":"object","required":["schema_version","disclaimer","captured_ts","captured_iso","universe","pools"],"properties":{"schema_version":{"type":"string","example":"1.0.0"},"disclaimer":{"type":"string"},"captured_ts":{"type":"integer"},"captured_iso":{"type":"string","format":"date-time"},"universe":{"$ref":"#/components/schemas/UniverseSummary"},"pools":{"type":"array","items":{"$ref":"#/components/schemas/PoolTelemetry"}}}},"X402CatalogResponse":{"type":"object","required":["x402Version","service","safeHarbor","payTo","priceUsdc","amountAtomic","networks","endpoints"],"properties":{"x402Version":{"type":"integer","const":2},"service":{"type":"string"},"safeHarbor":{"type":"string"},"disclaimer":{"type":"string"},"payTo":{"type":"string"},"priceUsdc":{"type":"string","example":"0.03"},"amountAtomic":{"type":"string","example":"30000"},"networks":{"type":"array","items":{"type":"string"}},"assets":{"type":"object"},"endpoints":{"type":"array","items":{"type":"object"}}}},"PaymentRequiredChallenge":{"type":"object","required":["x402Version","error","resource","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"error":{"type":"string","example":"Payment Required"},"resource":{"type":"object"},"accepts":{"type":"array","items":{"type":"object"}}}},"PolymarketSignRequest":{"type":"object","required":["method","path"],"properties":{"method":{"type":"string","enum":["GET","POST","DELETE","PUT","PATCH"]},"path":{"type":"string","example":"/order"},"body":{"type":["string","object"],"description":"Serialized JSON order request body (never contains private keys)."}}},"PolymarketSignResponse":{"type":"object","required":["POLY_BUILDER_API_KEY","POLY_BUILDER_TIMESTAMP","POLY_BUILDER_PASSPHRASE","POLY_BUILDER_SIGNATURE"],"properties":{"POLY_BUILDER_API_KEY":{"type":"string"},"POLY_BUILDER_TIMESTAMP":{"type":"string"},"POLY_BUILDER_PASSPHRASE":{"type":"string"},"POLY_BUILDER_SIGNATURE":{"type":"string"}}},"ErrorResponse":{"type":"object","required":["ok","error"],"properties":{"ok":{"type":"boolean","const":false},"code":{"type":"string"},"error":{"type":"string"}}}}}}