{"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 Polymarket CLOB liquidity-reward telemetry across all active reward markets (~8,800+ pools), 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 Team","url":"https://clobradar.com/","email":"team@clobradar.com"},"license":{"name":"Commercial Telemetry License (CLOB Radar SaaS & x402)","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 Polymarket CLOB reward telemetry across all active reward markets"},{"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.25 / 250000 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. Without filter parameters preview_pools is always the top 3 scored pools. With any of fee_family/paired/q/sort, up to 3 filtered exemplars are returned (drawn from global rank 4+ when more than 10 pools are scored). Adds aggregate-only scored_count, locked_count, rank_bands, universe_histograms, preview_lenses and freshness fields. Supports weak ETag / If-None-Match revalidation.","parameters":[{"name":"fee_family","in":"query","required":false,"schema":{"type":"string","enum":["all","crypto","sports","politics","finance","entertainment","tech","none","zero","other"]},"description":"Normalized fee-regime family filter (zero is an alias of none)."},{"name":"paired","in":"query","required":false,"schema":{"type":"string","enum":["1","0","true","false"]},"description":"When 1/true, only two-sided eligible pools are considered."},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":80},"description":"Case-insensitive substring match on title, slugs, or semantic cluster."},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["est_daily_usd","pool_daily_usd","shield_usdc","jumps_5c_7d"]},"description":"Exemplar ordering. est_daily_usd/pool_daily_usd/shield_usdc sort descending, jumps_5c_7d ascending; missing values sort last."},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"},"description":"Weak ETag from a previous response; returns 304 when unchanged."}],"responses":{"200":{"description":"Public universe summary and 3-row delayed preview","headers":{"ETag":{"schema":{"type":"string"},"description":"Weak validator for If-None-Match."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelemetrySummaryResponse"}}}},"304":{"description":"Not modified (If-None-Match matched the current weak ETag)."},"400":{"description":"Invalid filter parameter","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/telemetry/daily-digest":{"get":{"operationId":"getTelemetryDailyDigest","tags":["Telemetry"],"summary":"Daily Top-3 low-jump, thick-shield Polymarket reward pools digest","description":"Free ($0) objective read-only digest selecting the top 3 distinct low-jump (jumps_5c_7d <= 3), thick-shield (shield_usdc >= 500) Polymarket CLOB liquidity-reward pools with pre-formatted Discord, Bluesky, and X summaries. Impersonal market telemetry only.","responses":{"200":{"description":"Daily Top-3 low-jump digest and shareable copy","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/mcp":{"post":{"operationId":"invokeRemoteMcp","tags":["Telemetry"],"summary":"Remote Streamable HTTP MCP endpoint (com.clobradar/clobradar)","description":"Stateless Model Context Protocol (MCP 2025-03-26 / 2024-11-05) Streamable HTTP JSON-RPC 2.0 endpoint exposing 7 read-only tools: get_telemetry_summary, get_daily_digest, get_x402_catalog, get_builder_attribution_spec, get_top_pools ($0.03 x402), get_yield_radar ($0.25 x402), and get_telemetry_lenses ($0.25 x402).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"JSON-RPC 2.0 MCP response","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"JSON-RPC notification accepted"},"405":{"description":"Stateless Streamable HTTP endpoint accepts POST only"}}}},"/api/v1/telemetry/lenses":{"get":{"operationId":"getTelemetryLenses","tags":["Telemetry"],"summary":"Orderbook depth lenses (top 60 markets, 5 levels) and 24h snapshot history ring","description":"Requires a Builder Pro ($249/mo) or Quant Desk ($599/mo) Bearer key, or an x402 v2 PAYMENT-SIGNATURE proof ($0.25 USDC). Sprint/LP Starter/Starter keys receive 403 PRO_TIER_REQUIRED; anonymous requests receive HTTP 402 with PAYMENT-REQUIRED & Bazaar schema.","security":[{"BearerAuth":[]},{"X402PaymentSignature":[]}],"responses":{"200":{"description":"Orderbook lenses and history ring","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelemetryLensesResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"x402 proof present but verification/settlement failed (PAYMENT-REQUIRED / PAYMENT-RESPONSE headers)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequiredChallenge"}}}},"403":{"description":"Starter tier (PRO_TIER_REQUIRED) or revoked entitlement","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/billing/claim-key":{"post":{"operationId":"claimCheckoutKey","tags":["Billing & Compliance"],"summary":"Zero-PII one-time API key claim after checkout","description":"The client generates a random claim_nonce, sends SHA-256(claim_nonce) as claim_token_hash to /api/billing/checkout, and later redeems claim_id + claim_nonce here. Returns 202 while payment is pending and 200 exactly once when ready (the key is burned on read).","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["claim_id","claim_nonce"],"properties":{"claim_id":{"type":"string","pattern":"^clm_[0-9a-f]{24}$"},"claim_nonce":{"type":"string","minLength":16,"maxLength":256}}}}}},"responses":{"200":{"description":"Key ready (one-time delivery)","content":{"application/json":{"schema":{"type":"object","required":["ok","status","api_key","plan","capabilities"],"properties":{"ok":{"type":"boolean","const":true},"status":{"type":"string","const":"ready"},"api_key":{"type":"string","pattern":"^cyr_live_"},"plan":{"type":"string","enum":["sprint","lp_starter","starter","pro","desk"]},"capabilities":{"$ref":"#/components/schemas/PlanCapabilities"}}}}}},"202":{"description":"Checkout not yet confirmed by the payment provider webhook","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":true},"status":{"type":"string","const":"pending"},"claim_id":{"type":"string"},"plan":{"type":"string"}}}}}},"400":{"description":"Malformed claim_id or claim_nonce","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"INVALID_CLAIM_NONCE","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"CLAIM_NOT_FOUND_OR_CONSUMED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/billing/rotate-key":{"post":{"operationId":"rotateEntitlementKey","tags":["Billing & Compliance"],"summary":"Quant Desk self-serve API key rotation","description":"Mints a new cyr_live_ key for the same subscription and revokes the presented key. Requires Quant Desk ($599/mo).","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"Rotated key","content":{"application/json":{"schema":{"type":"object","required":["ok","api_key","plan","capabilities"],"properties":{"ok":{"type":"boolean","const":true},"api_key":{"type":"string","pattern":"^cyr_live_"},"plan":{"type":"string","const":"desk"},"capabilities":{"$ref":"#/components/schemas/PlanCapabilities"}}}}}},"401":{"description":"Missing, invalid, or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"DESK_TIER_REQUIRED","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/billing/onchain-subscribe":{"post":{"operationId":"createOnchainSubscription","tags":["Billing & Compliance","x402"],"summary":"Zero-KYC direct Base/Polygon USDC subscription pass (instant cyr_live_* API key)","description":"Verifies an on-chain Base (eip155:8453) or Polygon (eip155:137) USDC Transfer to 0xfA1C050f407c5f0da7242086CeCE8c3045fC1306 matching sprint ($15 / 7d), lp_starter ($39/mo or $390/yr), starter ($99/mo or $990/yr), pro ($249/mo or $2,490/yr), or desk ($599/mo or $5,990/yr), records 365-day replay protection, and immediately mints a 7-day, 30-day, or 365-day cyr_live_* Bearer key.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["plan","tx_hash"],"properties":{"plan":{"type":"string","enum":["sprint","lp_starter","starter","pro","desk"]},"tx_hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"chain_id":{"oneOf":[{"type":"integer","enum":[8453,137]},{"type":"string","enum":["8453","137","base","polygon","eip155:8453","eip155:137"]}],"default":8453},"interval":{"type":"string","enum":["7d","month","year"],"default":"month"}}}}}},"responses":{"200":{"description":"Verified USDC receipt and newly provisioned 30-day or 365-day API key","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid plan, tx_hash, chain_id, or interval","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"On-chain transfer missing, reverted, or below required USDC amount","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Transaction hash already redeemed (replay rejected)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/billing/status":{"get":{"operationId":"getBillingStatus","tags":["Billing & Compliance"],"summary":"Non-secret configuration status for payment rails (onchain_usdc, x402, creem, whop)","responses":{"200":{"description":"Boolean configuration state for each billing rail","content":{"application/json":{"schema":{"type":"object","required":["ok","rails"],"properties":{"ok":{"type":"boolean","const":true},"rails":{"type":"object","required":["onchain_usdc","x402","creem","whop"],"properties":{"onchain_usdc":{"type":"object","required":["configured"],"properties":{"configured":{"type":"boolean"}}},"x402":{"type":"object","required":["configured"],"properties":{"configured":{"type":"boolean"}}},"creem":{"type":"object","required":["configured"],"properties":{"configured":{"type":"boolean"}}},"whop":{"type":"object","required":["configured"],"properties":{"configured":{"type":"boolean"}}}}}}}}}}}}},"/api/billing/checkout":{"post":{"operationId":"createBillingCheckout","tags":["Billing & Compliance"],"summary":"Create a Merchant-of-Record subscription checkout session (Creem or Whop)","description":"Creates a zero-PII checkout for sprint ($15/7d), lp_starter ($39/mo), starter ($99/mo), pro ($249/mo), or desk ($599/mo). Pass an optional 64-hex SHA-256 claim_token_hash to receive a claim_id for one-time browser key redemption at POST /api/billing/claim-key.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["provider","plan"],"properties":{"provider":{"type":"string","enum":["creem","whop"]},"plan":{"type":"string","enum":["sprint","lp_starter","starter","pro","desk"]},"success_url":{"type":"string","format":"uri"},"claim_token_hash":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}}}}},"responses":{"200":{"description":"Checkout session URL and optional one-time claim_id","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid provider, plan, or success_url","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/billing/entitlement":{"get":{"operationId":"getBillingEntitlement","tags":["Billing & Compliance"],"summary":"Verify an active cyr_live_* Bearer key and inspect plan capabilities","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"Active subscription status and tiered PlanCapabilities","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"Missing or invalid Bearer key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/x402/top-pools":{"get":{"operationId":"getTopPoolsSnapshot","tags":["Telemetry","x402"],"summary":"Lightweight top-25 uncrowded Polymarket CLOB liquidity-reward pools","description":"Gated by lightweight x402 v2 Base/Polygon USDC ($0.03 = 30000 atomic units on eip155:8453 / 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 or eip155:137 / 0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359 paid to 0xfA1C050f407c5f0da7242086CeCE8c3045fC1306) OR any active subscriber Bearer key (including 7d Sprint Pass and LP Starter).","security":[{"X402PaymentSignature":[]},{"BearerAuth":[]}],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum compact top-pool rows returned (1 to 25, default 25).","schema":{"type":"integer","minimum":1,"maximum":25,"default":25}},{"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, maker_rebate_crypto, sports_fee).","schema":{"type":"string"}},{"name":"cluster","in":"query","required":false,"description":"Exact semantic cluster filter.","schema":{"type":"string"}}],"responses":{"200":{"description":"Compact top-25 reward pools payload","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded JSON settlement receipt when unlocked via x402 payment.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"Missing or invalid Bearer token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Payment Required — x402 v2 $0.03 Base/Polygon USDC payment challenge","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded JSON x402 v2 payment challenge (amount 30000 atomic USDC).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentRequiredChallenge"}}}},"403":{"description":"Revoked or expired Bearer entitlement","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/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.25 = 250000 atomic units on eip155:8453 / 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 or eip155:137 / 0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359 paid to 0xfA1C050f407c5f0da7242086CeCE8c3045fC1306) 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"}}}}}}},"/feed.xml":{"get":{"operationId":"getAtomFeed","tags":["Telemetry"],"summary":"Atom 1.0 live telemetry syndication feed (universe census + top 3 public exemplars)","responses":{"200":{"description":"Atom 1.0 XML feed","content":{"application/atom+xml":{"schema":{"type":"string"}}}}}}},"/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":"Direct USDC, Creem, or Whop subscriber token (7d Sprint $15, LP Starter $39, Bot/Pro LP $99, Builder Pro $249, Quant Desk $599)."},"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"}},"ok":{"type":"boolean","const":true},"service":{"type":"string"},"safe_harbor":{"type":"string"},"scored_count":{"type":"integer","minimum":0},"locked_count":{"type":"integer","minimum":0},"matched_scored_count":{"type":"integer","minimum":0},"filter_applied":{"type":"boolean"},"rank_bands":{"type":"array","items":{"type":"object","required":["label","rank_start","rank_end","pool_count","daily_pool_usd_sum","median_est_daily_usd","paired_count"],"properties":{"label":{"type":"string"},"rank_start":{"type":"integer"},"rank_end":{"type":"integer"},"pool_count":{"type":"integer"},"daily_pool_usd_sum":{"type":"number"},"median_est_daily_usd":{"type":"number"},"paired_count":{"type":"integer"}}}},"universe_histograms":{"type":"object","description":"daily_pool_usd, max_spread_cents, midpoint histograms (each with basis_n and bins) plus fee_regime_rollup and universe_fee_sample_n."},"preview_lenses":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/OrderbookLens"}},"freshness":{"type":"object","properties":{"captured_iso":{"type":"string"},"age_seconds":{"type":"integer"},"cadence_seconds":{"type":"integer","const":900},"is_fixture_fallback":{"type":"boolean"}}}}},"OrderbookLens":{"type":"object","properties":{"condition_id":{"type":"string"},"token_id":{"type":"string"},"outcome":{"type":"string"},"tick_size":{"type":"number"},"midpoint":{"type":"number"},"bids":{"type":"array","maxItems":5,"items":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2}},"asks":{"type":"array","maxItems":5,"items":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2}},"size_unit":{"type":"string","enum":["shares","usdc_notional"]},"synthetic":{"type":"boolean"}}},"TelemetryLensesResponse":{"type":"object","required":["ok","captured_iso","scored_count","orderbook_lenses","history_ring"],"properties":{"ok":{"type":"boolean","const":true},"captured_iso":{"type":"string"},"scored_count":{"type":"integer"},"lens_source":{"type":"string","enum":["cron","snapshot_fallback"]},"orderbook_lenses":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/OrderbookLens"}},"history_ring":{"type":"array","maxItems":96,"items":{"type":"object"}}}},"PlanCapabilities":{"type":"object","properties":{"full_snapshot":{"type":"boolean"},"orderbook_lenses":{"type":"boolean"},"history_24h":{"type":"boolean"},"bulk_export":{"type":"boolean"},"slot_simulator":{"type":"boolean"},"key_rotation":{"type":"boolean"},"pro_forma_invoice":{"type":"boolean"},"daily_request_allowance":{"type":"integer"}}},"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","description":"Empty string when no safe recipient is configured."},"payToConfigured":{"type":"boolean"},"priceUsdc":{"type":"string","example":"0.25"},"amountAtomic":{"type":"string","example":"250000"},"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"}}}}}}