{"openapi":"3.0.0","info":{"title":"Truvian Telegraph Intelligence (Tencent Cloud ADP plugin)","version":"1.0.0","description":"Telegraph Protocol miner answers with spend caps, receipts and public signals."},"servers":[{"url":"https://truvian.xyz"}],"paths":{"/api/platform/v1/list-intents":{"post":{"operationId":"list_intents","summary":"List Telegraph intents","description":"Find the Telegraph intent that answers a question (130+ live: prices, gas, sanctions, registries, CVEs, news, token data, fact-checks). Free. Use it before ask_intent.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"search":{"type":"string","description":"Words to match, e.g. \"sanction\" or \"token supply\""},"intent":{"type":"string","description":"Exact intent name, e.g. CVE_LOOKUP_CVSS"}}},"example":{"search":"sanction"}}}},"responses":{"200":{"description":"The tool envelope: summary, result, evidence (receipts and signals) and spend","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"summary":{"type":"string","description":"One line to show the user, citing evidence ids"},"result":{"type":"object","properties":{"count":{"type":"integer"},"intents":{"type":"array","items":{"type":"object","properties":{"intent":{"type":"string"},"miners":{"type":"integer"},"state":{"type":"string"},"about":{"type":"string"}}}},"intent":{"type":"string"},"params":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"required":{"type":"boolean"},"description":{"type":"string"}}}},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"scored":{"type":"boolean"},"description":{"type":"string"}}}}}},"evidence":{"type":"array","items":{"type":"object","description":"One Telegraph answer bought: who answered, what it cost and the public proof","properties":{"id":{"type":"string","description":"Evidence id (E1, E2, ...): cite it"},"tool":{"type":"string"},"intent":{"type":"string"},"mode":{"type":"string","enum":["routed","pinned"]},"purpose":{"type":"string","enum":["answer","second-opinion"]},"ok":{"type":"boolean"},"fields":{"type":"object","properties":{}},"minerId":{"type":"string"},"minerName":{"type":"string"},"servedRank":{"type":"integer"},"costUsd":{"type":"number"},"signalHash":{"type":"string"},"signalUrl":{"type":"string","description":"The node's public record of this answer"},"receipt":{"type":"object","properties":{"hash":{"type":"string"},"payer":{"type":"string"},"minerRegistration":{"type":"string"},"amountUsd":{"type":"number"},"epoch":{"type":"integer"},"rail":{"type":"string"},"settlement":{"type":"string"}}},"latencyMs":{"type":"integer"},"error":{"type":"string"},"at":{"type":"string"}}},"description":"Every Telegraph answer this call bought, with its receipt and signal"},"spend":{"type":"object","properties":{"callUsd":{"type":"number"},"sessionSpentUsd":{"type":"number"},"sessionCapUsd":{"type":"number"},"remainingUsd":{"type":"number"},"refusals":{"type":"array","items":{"type":"string"}}}},"network":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"504":{"description":"No answer within the deadline","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}}}}},"/api/platform/v1/ask-intent":{"post":{"operationId":"ask_intent","summary":"Ask Telegraph (spend-capped, with receipt)","description":"Buy one answer to any Telegraph intent from the top-ranked miner under a spend cap: the typed answer, a receipt and a public signal; one retry on another miner if it fails.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["intent","params_json"],"properties":{"intent":{"type":"string","description":"Exact intent name, e.g. CRYPTO_PRICE_USD"},"params_json":{"type":"string","description":"The intent's params as JSON text, e.g. {\"symbol\":\"ETH\"}"},"max_usd":{"type":"number","description":"Per-call spend cap in USD (an answer costs about $0.01)"},"recover":{"type":"boolean","description":"Ask a second miner when the first answer is no evidence (default true)"},"miner":{"type":"string","description":"Optional node miner id to pin the ask to (no routing, no recovery)"},"question":{"type":"string","description":"The question in words, sent with the ask"}}},"example":{"intent":"CRYPTO_PRICE_USD","params_json":"{\"symbol\":\"ETH\"}","max_usd":0.02}}}},"responses":{"200":{"description":"The tool envelope: summary, result, evidence (receipts and signals) and spend","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"summary":{"type":"string","description":"One line to show the user, citing evidence ids"},"result":{"type":"object","properties":{"intent":{"type":"string"},"params":{"type":"object","properties":{}},"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"refused":{"type":"string"},"error":{"type":"string"}}},"evidence":{"type":"array","items":{"type":"object","description":"One Telegraph answer bought: who answered, what it cost and the public proof","properties":{"id":{"type":"string","description":"Evidence id (E1, E2, ...): cite it"},"tool":{"type":"string"},"intent":{"type":"string"},"mode":{"type":"string","enum":["routed","pinned"]},"purpose":{"type":"string","enum":["answer","second-opinion"]},"ok":{"type":"boolean"},"fields":{"type":"object","properties":{}},"minerId":{"type":"string"},"minerName":{"type":"string"},"servedRank":{"type":"integer"},"costUsd":{"type":"number"},"signalHash":{"type":"string"},"signalUrl":{"type":"string","description":"The node's public record of this answer"},"receipt":{"type":"object","properties":{"hash":{"type":"string"},"payer":{"type":"string"},"minerRegistration":{"type":"string"},"amountUsd":{"type":"number"},"epoch":{"type":"integer"},"rail":{"type":"string"},"settlement":{"type":"string"}}},"latencyMs":{"type":"integer"},"error":{"type":"string"},"at":{"type":"string"}}},"description":"Every Telegraph answer this call bought, with its receipt and signal"},"spend":{"type":"object","properties":{"callUsd":{"type":"number"},"sessionSpentUsd":{"type":"number"},"sessionCapUsd":{"type":"number"},"remainingUsd":{"type":"number"},"refusals":{"type":"array","items":{"type":"string"}}}},"network":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"401":{"description":"Missing or unknown API key","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"429":{"description":"The key's daily spend cap is reached","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"504":{"description":"No answer within the deadline","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}}}}},"/api/platform/v1/second-opinion":{"post":{"operationId":"second_opinion","summary":"Second opinion from another miner","description":"Buy one more answer to an intent from the best-ranked miner not in exclude_miners. Use it when an answer looks wrong or a decision rests on one source.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["intent","params_json"],"properties":{"intent":{"type":"string"},"params_json":{"type":"string","description":"The intent's params as JSON text, e.g. {\"symbol\":\"ETH\"}"},"exclude_miners":{"type":"string","description":"Comma-separated miner ids not to ask (the ones already asked)"},"max_usd":{"type":"number","description":"Per-call spend cap in USD (an answer costs about $0.01)"}}},"example":{"intent":"CRYPTO_PRICE_USD","params_json":"{\"symbol\":\"ETH\"}","exclude_miners":"20260828"}}}},"responses":{"200":{"description":"The tool envelope: summary, result, evidence (receipts and signals) and spend","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"summary":{"type":"string","description":"One line to show the user, citing evidence ids"},"result":{"type":"object","properties":{"intent":{"type":"string"},"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"refused":{"type":"string"},"error":{"type":"string"}}},"evidence":{"type":"array","items":{"type":"object","description":"One Telegraph answer bought: who answered, what it cost and the public proof","properties":{"id":{"type":"string","description":"Evidence id (E1, E2, ...): cite it"},"tool":{"type":"string"},"intent":{"type":"string"},"mode":{"type":"string","enum":["routed","pinned"]},"purpose":{"type":"string","enum":["answer","second-opinion"]},"ok":{"type":"boolean"},"fields":{"type":"object","properties":{}},"minerId":{"type":"string"},"minerName":{"type":"string"},"servedRank":{"type":"integer"},"costUsd":{"type":"number"},"signalHash":{"type":"string"},"signalUrl":{"type":"string","description":"The node's public record of this answer"},"receipt":{"type":"object","properties":{"hash":{"type":"string"},"payer":{"type":"string"},"minerRegistration":{"type":"string"},"amountUsd":{"type":"number"},"epoch":{"type":"integer"},"rail":{"type":"string"},"settlement":{"type":"string"}}},"latencyMs":{"type":"integer"},"error":{"type":"string"},"at":{"type":"string"}}},"description":"Every Telegraph answer this call bought, with its receipt and signal"},"spend":{"type":"object","properties":{"callUsd":{"type":"number"},"sessionSpentUsd":{"type":"number"},"sessionCapUsd":{"type":"number"},"remainingUsd":{"type":"number"},"refusals":{"type":"array","items":{"type":"string"}}}},"network":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"401":{"description":"Missing or unknown API key","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"429":{"description":"The key's daily spend cap is reached","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"504":{"description":"No answer within the deadline","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}}}}},"/api/platform/v1/verify-claim":{"post":{"operationId":"verify_claim","summary":"Fact-check a claim","description":"Fact-check one statement through Telegraph miners: SUPPORTED, CONTRADICTED, DISPUTED or UNVERIFIED, with the reasoning, sources and a receipt.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["claim"],"properties":{"claim":{"type":"string","description":"One factual statement"},"two_sources":{"type":"boolean","description":"Buy a second verdict from another miner (default false)"},"recover":{"type":"boolean"},"max_usd":{"type":"number","description":"Per-call spend cap in USD (an answer costs about $0.01)"}}},"example":{"claim":"Aave V3 is deployed on Base."}}}},"responses":{"200":{"description":"The tool envelope: summary, result, evidence (receipts and signals) and spend","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"summary":{"type":"string","description":"One line to show the user, citing evidence ids"},"result":{"type":"object","properties":{"claim":{"type":"string"},"status":{"type":"string","enum":["SUPPORTED","CONTRADICTED","DISPUTED","UNVERIFIED"]},"verdicts":{"type":"array","items":{"type":"string"}},"reasoning":{"type":"string"},"sources":{"type":"array","items":{"type":"string"}},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"rule":{"type":"string"}}},"evidence":{"type":"array","items":{"type":"object","description":"One Telegraph answer bought: who answered, what it cost and the public proof","properties":{"id":{"type":"string","description":"Evidence id (E1, E2, ...): cite it"},"tool":{"type":"string"},"intent":{"type":"string"},"mode":{"type":"string","enum":["routed","pinned"]},"purpose":{"type":"string","enum":["answer","second-opinion"]},"ok":{"type":"boolean"},"fields":{"type":"object","properties":{}},"minerId":{"type":"string"},"minerName":{"type":"string"},"servedRank":{"type":"integer"},"costUsd":{"type":"number"},"signalHash":{"type":"string"},"signalUrl":{"type":"string","description":"The node's public record of this answer"},"receipt":{"type":"object","properties":{"hash":{"type":"string"},"payer":{"type":"string"},"minerRegistration":{"type":"string"},"amountUsd":{"type":"number"},"epoch":{"type":"integer"},"rail":{"type":"string"},"settlement":{"type":"string"}}},"latencyMs":{"type":"integer"},"error":{"type":"string"},"at":{"type":"string"}}},"description":"Every Telegraph answer this call bought, with its receipt and signal"},"spend":{"type":"object","properties":{"callUsd":{"type":"number"},"sessionSpentUsd":{"type":"number"},"sessionCapUsd":{"type":"number"},"remainingUsd":{"type":"number"},"refusals":{"type":"array","items":{"type":"string"}}}},"network":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"401":{"description":"Missing or unknown API key","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"429":{"description":"The key's daily spend cap is reached","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"504":{"description":"No answer within the deadline","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}}}}},"/api/platform/v1/counterparty-check":{"post":{"operationId":"counterparty_check","summary":"Counterparty check (sanctions + registry)","description":"Screen a company before paying it: sanctions and corporate registry answers from Telegraph, judged by fixed rules into PROCEED, REVIEW or DECLINE.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","jurisdiction"],"properties":{"name":{"type":"string","description":"Legal name, e.g. Siemens AG"},"jurisdiction":{"type":"string","description":"Country (or US state) of registration, e.g. Germany"},"max_usd":{"type":"number","description":"Per-call spend cap in USD (an answer costs about $0.01)"}}},"example":{"name":"Siemens AG","jurisdiction":"Germany"}}}},"responses":{"200":{"description":"The tool envelope: summary, result, evidence (receipts and signals) and spend","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"summary":{"type":"string","description":"One line to show the user, citing evidence ids"},"result":{"type":"object","properties":{"name":{"type":"string"},"jurisdiction":{"type":"string"},"recommendation":{"type":"string","enum":["PROCEED","REVIEW","DECLINE"]},"rule":{"type":"string"},"findings":{"type":"array","items":{"type":"object","properties":{"rule":{"type":"string"},"severity":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}},"sanctions":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"registry":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}}}},"evidence":{"type":"array","items":{"type":"object","description":"One Telegraph answer bought: who answered, what it cost and the public proof","properties":{"id":{"type":"string","description":"Evidence id (E1, E2, ...): cite it"},"tool":{"type":"string"},"intent":{"type":"string"},"mode":{"type":"string","enum":["routed","pinned"]},"purpose":{"type":"string","enum":["answer","second-opinion"]},"ok":{"type":"boolean"},"fields":{"type":"object","properties":{}},"minerId":{"type":"string"},"minerName":{"type":"string"},"servedRank":{"type":"integer"},"costUsd":{"type":"number"},"signalHash":{"type":"string"},"signalUrl":{"type":"string","description":"The node's public record of this answer"},"receipt":{"type":"object","properties":{"hash":{"type":"string"},"payer":{"type":"string"},"minerRegistration":{"type":"string"},"amountUsd":{"type":"number"},"epoch":{"type":"integer"},"rail":{"type":"string"},"settlement":{"type":"string"}}},"latencyMs":{"type":"integer"},"error":{"type":"string"},"at":{"type":"string"}}},"description":"Every Telegraph answer this call bought, with its receipt and signal"},"spend":{"type":"object","properties":{"callUsd":{"type":"number"},"sessionSpentUsd":{"type":"number"},"sessionCapUsd":{"type":"number"},"remainingUsd":{"type":"number"},"refusals":{"type":"array","items":{"type":"string"}}}},"network":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"401":{"description":"Missing or unknown API key","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"429":{"description":"The key's daily spend cap is reached","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"504":{"description":"No answer within the deadline","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}}}}},"/api/platform/v1/payment-check":{"post":{"operationId":"payment_check","summary":"Crypto payment verification (USDC)","description":"Was an agreed USDC payment delivered? Reads the transaction on Ethereum, Base, OP or Arbitrum plus a Telegraph lookup: delivered, not_delivered or needs_investigation.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["chain","tx_hash","payee","min_usdc"],"properties":{"chain":{"type":"string","enum":["ethereum","base","optimism","arbitrum"]},"tx_hash":{"type":"string"},"payee":{"type":"string","description":"Address that should have received the USDC"},"min_usdc":{"type":"string","description":"Agreed amount in USDC, e.g. \"15\" or \"3007.588864\""},"deadline":{"type":"string","description":"Optional ISO time the payment was due by"},"max_usd":{"type":"number","description":"Per-call spend cap in USD (an answer costs about $0.01)"}}},"example":{"chain":"base","tx_hash":"0x654e020614784b8e6e0759157b7a08062adf6e7a373ad0f9816c7de24d2cc0b5","payee":"0x264bd8291fae1d75db2c5f573b07faa6715997b5","min_usdc":"3007.588864","max_usd":0.1}}}},"responses":{"200":{"description":"The tool envelope: summary, result, evidence (receipts and signals) and spend","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"summary":{"type":"string","description":"One line to show the user, citing evidence ids"},"result":{"type":"object","properties":{"verdict":{"type":"string","enum":["delivered","not_delivered","needs_investigation"]},"reasons":{"type":"array","items":{"type":"string"}},"paidUsdc":{"type":"string"},"agreed":{"type":"object","properties":{"chain":{"type":"string"},"payee":{"type":"string"},"minUsdc":{"type":"string"},"deadline":{"type":"string"}}},"chain":{"type":"object","properties":{}},"telegraphCheck":{"type":"object","properties":{"status":{"type":"string"},"blockNumber":{"type":"string"},"consistent":{"type":"boolean"},"note":{"type":"string"}}},"telegraph":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"rule":{"type":"string"}}},"evidence":{"type":"array","items":{"type":"object","description":"One Telegraph answer bought: who answered, what it cost and the public proof","properties":{"id":{"type":"string","description":"Evidence id (E1, E2, ...): cite it"},"tool":{"type":"string"},"intent":{"type":"string"},"mode":{"type":"string","enum":["routed","pinned"]},"purpose":{"type":"string","enum":["answer","second-opinion"]},"ok":{"type":"boolean"},"fields":{"type":"object","properties":{}},"minerId":{"type":"string"},"minerName":{"type":"string"},"servedRank":{"type":"integer"},"costUsd":{"type":"number"},"signalHash":{"type":"string"},"signalUrl":{"type":"string","description":"The node's public record of this answer"},"receipt":{"type":"object","properties":{"hash":{"type":"string"},"payer":{"type":"string"},"minerRegistration":{"type":"string"},"amountUsd":{"type":"number"},"epoch":{"type":"integer"},"rail":{"type":"string"},"settlement":{"type":"string"}}},"latencyMs":{"type":"integer"},"error":{"type":"string"},"at":{"type":"string"}}},"description":"Every Telegraph answer this call bought, with its receipt and signal"},"spend":{"type":"object","properties":{"callUsd":{"type":"number"},"sessionSpentUsd":{"type":"number"},"sessionCapUsd":{"type":"number"},"remainingUsd":{"type":"number"},"refusals":{"type":"array","items":{"type":"string"}}}},"network":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"401":{"description":"Missing or unknown API key","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"429":{"description":"The key's daily spend cap is reached","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"504":{"description":"No answer within the deadline","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}}}}},"/api/platform/v1/token-intel":{"post":{"operationId":"token_intel","summary":"Digital-asset / game-token intelligence","description":"One token's profile: onchain supply and owner, Telegraph holders, price and liquidity, and a CLEAR / WATCH / RISK rating; optional claims judged TRUE / FALSE / UNVERIFIED.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["token"],"properties":{"chain":{"type":"string","description":"ethereum (default), base, arbitrum, optimism, polygon, bsc, ..."},"token":{"type":"string","description":"Token contract address 0x..."},"pool":{"type":"string","description":"Optional DEX pool address or name for liquidity"},"include_news":{"type":"boolean","description":"Also buy the latest news (one more answer)"},"wallets":{"type":"array","items":{"type":"string"},"description":"Up to 5 wallets (team, treasury, exchange) whose share of supply to read"},"claims":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","enum":["total_supply","holders_count","decimals","upgradeable"]},"value":{"type":"string"}}},"description":"Statements to judge, e.g. [{\"field\":\"total_supply\",\"value\":\"3000000000\"}]"},"max_usd":{"type":"number","description":"Per-call spend cap in USD (an answer costs about $0.01)"}}},"example":{"chain":"ethereum","token":"0x3845badAde8e6dFF049820680d1F14bD3903a5d0","claims":[{"field":"total_supply","value":"3000000000"}]}}}},"responses":{"200":{"description":"The tool envelope: summary, result, evidence (receipts and signals) and spend","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"summary":{"type":"string","description":"One line to show the user, citing evidence ids"},"result":{"type":"object","properties":{"rating":{"type":"string","enum":["CLEAR","WATCH","RISK","NOT_A_TOKEN"]},"chain":{"type":"object","properties":{"chain":{"type":"string"},"address":{"type":"string"},"block":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"integer"},"totalSupply":{"type":"string"},"upgradeable":{"type":"boolean"},"owner":{"type":"string"},"source":{"type":"string"}}},"telegraph":{"type":"object","properties":{"totalSupply":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"holders":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"price":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"liquidity":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"news":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}}}},"supplyCheck":{"type":"object","properties":{"status":{"type":"string"},"bps":{"type":"number"},"text":{"type":"string"}}},"marketCapUsd":{"type":"number"},"holdersCount":{"type":"number"},"priceUsd":{"type":"number"},"liquidityUsd":{"type":"number"},"walletShares":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"whole":{"type":"string"},"pctOfSupply":{"type":"number"}}}},"flags":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"level":{"type":"string"},"text":{"type":"string"}}}},"claims":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"claimed":{"type":"string"},"verdict":{"type":"string","enum":["TRUE","FALSE","UNVERIFIED"]},"basis":{"type":"string"},"detail":{"type":"string"},"telegraphOnly":{"type":"string"}}}},"news":{"type":"object","properties":{"brief":{"type":"string"},"answer":{"type":"string"},"sources":{"type":"array","items":{"type":"string"}}}},"rule":{"type":"string"}}},"evidence":{"type":"array","items":{"type":"object","description":"One Telegraph answer bought: who answered, what it cost and the public proof","properties":{"id":{"type":"string","description":"Evidence id (E1, E2, ...): cite it"},"tool":{"type":"string"},"intent":{"type":"string"},"mode":{"type":"string","enum":["routed","pinned"]},"purpose":{"type":"string","enum":["answer","second-opinion"]},"ok":{"type":"boolean"},"fields":{"type":"object","properties":{}},"minerId":{"type":"string"},"minerName":{"type":"string"},"servedRank":{"type":"integer"},"costUsd":{"type":"number"},"signalHash":{"type":"string"},"signalUrl":{"type":"string","description":"The node's public record of this answer"},"receipt":{"type":"object","properties":{"hash":{"type":"string"},"payer":{"type":"string"},"minerRegistration":{"type":"string"},"amountUsd":{"type":"number"},"epoch":{"type":"integer"},"rail":{"type":"string"},"settlement":{"type":"string"}}},"latencyMs":{"type":"integer"},"error":{"type":"string"},"at":{"type":"string"}}},"description":"Every Telegraph answer this call bought, with its receipt and signal"},"spend":{"type":"object","properties":{"callUsd":{"type":"number"},"sessionSpentUsd":{"type":"number"},"sessionCapUsd":{"type":"number"},"remainingUsd":{"type":"number"},"refusals":{"type":"array","items":{"type":"string"}}}},"network":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"401":{"description":"Missing or unknown API key","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"429":{"description":"The key's daily spend cap is reached","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"504":{"description":"No answer within the deadline","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}}}}}}}