{"uid":"cap_ck8Yv9drbN6nzHKcTAqtM","slug":"scanna-risk-score-c9151041","name":"Scanna Risk Score","description":"Returns a 6-factor A-F risk grade for one market_id from in-memory caches only: no DB, no upstream call, no write. Market data is up to ~60s stale; order-book depth covers only the top ~100 Polymarket markets, so most ids (and all Kalshi) score with placeholder spread/category factors. Unknown id is 404, but a placeholder-heavy score still returns 200 and bills.","url":"https://api.scanna.xyz/risk-score","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["market_id"],"properties":{"market_id":{"type":"string","description":"Condition ID from markets[].condition_id. Absent is 400; not in the live cache is 404 market_not_found."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["market_id","question","grade","overall_score","factors","warnings"],"properties":{"grade":{"enum":["A","B","C","D","F"],"type":"string","description":"A = low risk, F = high risk"},"factors":{"type":"object","required":["resolution_clarity","liquidity","time_risk","volume_quality","spread","category_risk"],"description":"All six are always present — a missing input scores a placeholder, it does not drop the key","additionalProperties":{"type":"object","required":["score","weight","reason"],"properties":{"score":{"type":"number","description":"0-100, higher is riskier"},"reason":{"type":"string","description":"Human-readable sentence, not a machine token"},"weight":{"type":"number","description":"Fixed per factor; the six sum to 1"}}}},"question":{"type":"string"},"warnings":{"type":"array","items":{"type":"string"},"description":"Threshold-triggered sentences; empty when none fire"},"market_id":{"type":"string"},"overall_score":{"type":"integer","description":"Weighted 0-100, rounded; HIGHER is worse"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gwflPTYuP6gdwToVvgluG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a 6-factor A-F risk grade (plus 0-100 weighted score) for a single Polymarket market, served entirely from in-memory caches with no upstream calls or writes.","exampleAgentPrompt":"What's the risk grade for Polymarket market 0x1234abcd? I want to see the full breakdown of all six risk factors and any warnings before I trade it.","exampleUseCases":[{"title":"Pre-trade risk check on Polymarket","prompt":"Before I put money on this Polymarket market — condition ID 0xabc123 — can you pull its risk grade and tell me if there are any warnings about liquidity or resolution clarity?"},{"title":"Screening high-risk prediction markets","prompt":"I'm building a watchlist and want to avoid anything graded D or F. Can you check the risk score for Polymarket market 0xdeadbeef and tell me the overall score and which factors are dragging it down?"},{"title":"Comparing spread and category risk factors","prompt":"Get me the risk breakdown for Polymarket condition 0x9f8e7d — specifically the spread and category risk scores — so I can decide whether the odds are worth the risk."}],"resultDescription":"A JSON object containing: the market_id and question text, a letter grade from A (low risk) to F (high risk), an integer overall_score from 0–100 (higher = riskier), and six named factor objects each with a score (0–100), weight (fixed per factor, all six sum to 1), and a human-readable reason string. Also includes a warnings array of threshold-triggered sentences (empty if none apply). Data is served from in-memory cache, up to ~60 seconds stale; order-book depth covers only the top ~100 Polymarket markets, so spread and category factors may use placeholders for other markets.","failureModes":["400 Bad Request if market_id query parameter is absent","404 market_not_found if the market_id is not in the live in-memory cache","200 returned with placeholder-heavy scores for markets outside the top ~100 Polymarket order-book coverage — still billed at $0.02001","All Kalshi market IDs will return placeholder spread and category factors (no Kalshi order-book data)","Scores can be up to ~60 seconds stale due to cache-only architecture"],"whenToPreferThis":"Choose this endpoint when you need a fast, structured, multi-factor risk grade for a specific Polymarket market and do not need real-time order-book data or write operations. It is ideal for pre-trade screening, automated risk filtering, or dashboards where sub-60-second staleness is acceptable. Avoid it for Kalshi markets (spread/category factors will be placeholders) or markets outside the top ~100 Polymarket listings if accurate spread scoring is critical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:38:51.766Z","isFirstParty":false}