{"uid":"cap_NZdYlwdC5w2eGugExdcLQ","slug":"truecast-api-cf1ef6fd","name":"TrueCast API","description":"TrueCast API - News aggregator and fact-checking service grounded by prediction markets. Real-time data sources include Perplexity, X AI, Tavily, Neynar, Pyth, DeFiLlama, Truemarkets, Zerion, Allora and more.","url":"https://true-cast-agent.vercel.app/api/trueCast?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"The statement, claim, or question to fact-check and verify"},"castHash":{"type":"string","description":"Optional Farcaster cast hash for context-specific verification"},"runGuardrail":{"type":"boolean","description":"Whether to run AWS Bedrock Guardrails validation (default: false)"},"storeToPinata":{"type":"boolean","description":"Whether to store the response to IPFS via Pinata (default: false)"}}},"responseSchema":{"type":"object","required":["query","reply","assessment","confidenceScore","metadata"],"properties":{"ipfs":{"type":"object","properties":{"hash":{"type":"string","description":"IPFS hash of stored response"},"network":{"enum":["public","private"],"type":"string","description":"IPFS network used"},"gatewayUrl":{"type":"string","description":"Public gateway URL for the stored response"},"paymentResponse":{"type":"object","properties":{"payer":{"type":"string"},"network":{"type":"string"},"success":{"type":"boolean"},"transaction":{"type":"string"}},"description":"Payment transaction details if x402 was used"}},"description":"IPFS storage information (if storeToPinata was true)"},"query":{"type":"string","description":"The original user query that was processed"},"reply":{"type":"string","description":"The fact-checked response with analysis and conclusions"},"metadata":{"type":"object","properties":{"timestamp":{"type":"string","description":"ISO timestamp of processing"},"promptType":{"type":"string","description":"Categorized type of the prompt"},"sourcesUsed":{"type":"array","items":{"type":"string"},"description":"Names of data sources used"},"totalSources":{"type":"number","description":"Total number of data sources queried"},"needsExternalData":{"type":"boolean","description":"Whether external data was needed"},"processingTimeSec":{"type":"number","description":"Time taken to process in seconds"}}},"guardrail":{"type":"object","properties":{"input":{"type":"object","description":"Input validation results"},"output":{"type":"object","description":"Output validation results"}},"description":"AWS Bedrock Guardrails validation results (if runGuardrail was true)"},"assessment":{"enum":["TRUE","FALSE","PARTIALLY_TRUE","UNVERIFIABLE","MARKET_SENTIMENT"],"type":"string","description":"The final truth assessment of the query"},"data_sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the data source"},"reply":{"type":"string","description":"Response from this data source"},"prompt":{"type":"string","description":"Prompt sent to this data source"},"source":{"type":"string","description":"Source URL or identifier"}}},"description":"Information from data sources used in verification"},"confidenceScore":{"type":"number","maximum":100,"minimum":0,"description":"Confidence level in the assessment (0-100)"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_G2ABKaNz_f_ZeBla_rHtN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fact-checks and verifies claims or questions using real-time data from prediction markets, news, DeFi, and social sources, returning a truth assessment with confidence score.","exampleAgentPrompt":"Can you fact-check this claim for me: 'Ethereum gas fees have dropped below 1 gwei for the first time in 2024' — I want to know if it's TRUE, FALSE, or PARTIALLY_TRUE with a confidence score?","exampleUseCases":null,"resultDescription":"Returns the original query, a detailed fact-checked reply with analysis, a truth assessment enum (TRUE/FALSE/PARTIALLY_TRUE/UNVERIFIABLE/MARKET_SENTIMENT), a confidence score, metadata including sources used and processing time, and optionally IPFS storage details and guardrail validation results.","failureModes":["Missing required 'prompt' field returns validation error","Ambiguous or unverifiable claims return UNVERIFIABLE assessment","Payment failure (x402) prevents API access","Rate limiting or upstream data source outages may degrade accuracy","Guardrail rejection if content violates AWS Bedrock policies"],"whenToPreferThis":"Use TrueCast when you need real-time, multi-source fact-checking grounded in prediction market data alongside on-chain DeFi, crypto price, and social (Farcaster/X) signals — especially for claims in the crypto, Web3, or financial news space. Prefer over generic LLM fact-checking when you need a structured TRUE/FALSE/PARTIALLY_TRUE verdict with a confidence score.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T04:26:58.565Z","isFirstParty":false,"canonicalSlug":"truecast-api-cf1ef6fd"}