{"uid":"cap_SEHodjofl9gxpCdL_3mNt","slug":"hallucination-detection-api-d57fe60b","name":"Hallucination Detection API","description":"Full hallucination verification pipeline — extract claims, verify, score","url":"https://hallucination-detection-api.johntaylor1online.workers.dev/verify","method":"POST","headers":{},"bodySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Km_xKmOHHJXP76RHfc9Q7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a full hallucination verification pipeline on text: extracts claims, verifies them against evidence, and returns a credibility score","exampleAgentPrompt":"Can you check this paragraph from my AI assistant's response for hallucinations — extract all the factual claims, verify each one, and give me a score for how trustworthy the whole thing is?","exampleUseCases":[{"title":"Verify AI chatbot response accuracy","prompt":"I got this answer from my AI assistant about the history of the Roman Empire — can you run it through hallucination detection and tell me which claims are false and how confident you are in the overall score?"},{"title":"Fact-check generated research summary","prompt":"My AI just produced a research summary on climate change policy. Before I share it, can you extract all the factual claims in it, verify them, and give me a hallucination score so I know how much to trust it?"},{"title":"Audit LLM output before publishing","prompt":"We're about to publish this AI-written product description but I need to make sure there are no made-up facts in it — can you run the full hallucination verification pipeline and flag anything that looks incorrect?"}],"resultDescription":"Returns a structured verification report containing extracted claims from the input text, individual verification results for each claim, and an overall hallucination/credibility score indicating how trustworthy the content is.","failureModes":["Empty or missing input text returns a validation error","Extremely long text may exceed processing limits","Ambiguous or highly subjective claims may receive low-confidence verification results","Network timeouts on the Cloudflare Workers edge may return 5xx errors","Payment not received or invalid x402 payment header returns a 402 response"],"whenToPreferThis":"Choose this endpoint when you need an end-to-end hallucination verification pipeline that handles claim extraction, individual verification, and scoring in a single call — particularly useful for AI agent outputs, LLM-generated summaries, or any text where factual accuracy is critical before downstream use or publication.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:39:12.580Z","isFirstParty":false}