{"openapi":"3.1.0","info":{"title":"Topic Verdict — deterministic news verdict for any topic","version":"1.0.0","description":"Deterministic 0-100 news verdict for any person, company, token or topic: volume, tone, momentum and source breadth from live GDELT news coverage (free, no key), with a Google News RSS fallback when GDELT is unreachable, plus top headlines with links. No LLM. One call = one topic. Article volume is a sample of at most 250 headlines per call.","x-guidance":"Call GET /v1/verdict with a topic to get a deterministic 0-100 news verdict (score, grade A-F, volume/tone/momentum/breadth components, trend and top headlines) for any person, company, token or issue, from live GDELT news coverage (one artlist call per verdict, max 250 headlines sampled). If GDELT fails, the verdict is computed from Google News RSS instead and marked source google-news-rss, partial true, degraded [source:rss-fallback, ...]. Input: topic (free text, max 200 chars) or q alias; named presets: prabowo, jokowi, dpr, rupiah, ihsg, bitcoin, ethereum, solana. Output: score parts, trend, headlines with links, sources and a disclaimer. Use GET /v1/example?topic=Bitcoin for a free static sample of the response shape (no payment). Costs $0.02 USDC per verdict call, paid on Base (eip155:8453) via x402. The score comes from news coverage only — it is not a poll, not financial advice, and not an authoritative sentiment measure.","contact":{"email":"lord4irdrop@gmail.com"}},"externalDocs":{"url":"https://topic-verdict.omnifracturedrifter.workers.dev/docs","description":"Usage, pricing and x402 payment guide for Topic Verdict."},"servers":[{"url":"https://topic-verdict.omnifracturedrifter.workers.dev"}],"paths":{"/v1/verdict":{"get":{"x-payment-info":{"price":{"mode":"fixed","currency":"USDC","amount":"0.020000"},"protocols":[{"x402":{}}]},"summary":"Topic verdict","operationId":"getVerdict","parameters":[{"name":"topic","in":"query","required":true,"schema":{"type":"string","maxLength":200},"description":"Topik bebas (teks, maks 200 karakter) atau preset: prabowo, jokowi, dpr, rupiah, ihsg, bitcoin, ethereum, solana"},{"name":"q","in":"query","required":false,"schema":{"type":"string"},"description":"Alias dari topic"}],"responses":{"200":{"description":"Verdict topik","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Parameter tidak valid"},"402":{"description":"Payment required — x402, $0.02 USDC di Base (eip155:8453) ke 0xcbc0337a3955d270cf3b49733a9c03d0af06dc29; dua rail: Circle Gateway (GatewayWalletBatched) atau x402 exact standar (USD Coin) via facilitator x402.org"},"502":{"description":"Upstream error"},"503":{"description":"Upstream GDELT rate-limit (coba lagi beberapa detik kemudian)"}}}},"/v1/example":{"get":{"summary":"Contoh verdict gratis (statis)","operationId":"getExample","parameters":[{"name":"topic","in":"query","required":false,"schema":{"type":"string"},"description":"Topik yang diminta (hanya digemakan; datanya contoh statis Bitcoin)"}],"responses":{"200":{"description":"Contoh respons verdict (gratis, tanpa pembayaran)"}}}},"/health":{"get":{"summary":"Health check","responses":{"200":{"description":"OK"}}}},"/docs":{"get":{"summary":"Documentation page","operationId":"getDocs","responses":{"200":{"description":"HTML documentation page","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/skill.md":{"get":{"summary":"Agent skill (free)","operationId":"getSkill","responses":{"200":{"description":"Markdown instructions for AI agents","content":{"text/markdown":{"schema":{"type":"string"}}}}}}},"/llms.txt":{"get":{"summary":"llms.txt index (free)","operationId":"getLlmsTxt","responses":{"200":{"description":"llms.txt link index","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/pricing.md":{"get":{"summary":"Pricing (free)","operationId":"getPricing","responses":{"200":{"description":"Markdown pricing table","content":{"text/markdown":{"schema":{"type":"string"}}}}}}},"/pay":{"get":{"summary":"Pay-from-browser page","operationId":"getPay","responses":{"200":{"description":"HTML page: connect a wallet extension and pay $0.02 USDC to see a live score","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/gateway-balance":{"get":{"summary":"Gateway balance","operationId":"getGatewayBalance","parameters":[{"name":"address","in":"query","required":true,"schema":{"type":"string"},"description":"Alamat EVM 0x + 40 hex"}],"responses":{"200":{"description":"Saldo Gateway USDC untuk alamat itu"},"400":{"description":"Alamat tidak valid"},"502":{"description":"Gateway API error"}}}}}}