{"uid":"cap_RMPaVwM9gy_lc8frAAGi2","slug":"hallucination-detection-api-extract-claims-4156b727","name":"Hallucination Detection API – Extract Claims","description":"Extract factual claims from text","url":"https://hallucination-detection-api.johntaylor1online.workers.dev/extract-claims","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":{"body":{},"enum":["POST"],"type":"string","bodyType":"json"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R5Lu0wyUB7Sp4k9ALLeIs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts discrete factual claims from a block of text for downstream verification","exampleAgentPrompt":"Extract all factual claims from this paragraph so I can check each one for accuracy: 'The Eiffel Tower was built in 1887, stands 330 meters tall, and is located in Lyon, France.'","exampleUseCases":[{"title":"AI output fact-check pipeline","prompt":"I just got a response from an AI assistant about climate change statistics — can you pull out every factual claim it makes so I can verify them one by one?"},{"title":"News article claim extraction","prompt":"Here's a news article about the election results — extract all the factual assertions from it so we can check which ones are accurate before we publish our report."},{"title":"Student essay verification","prompt":"Can you break down this student essay on World War II into individual factual claims? I want to see a list of every specific fact they've stated so I can check for errors."}],"resultDescription":"A structured list of discrete factual claims extracted from the input text, where each claim is an atomic, verifiable statement parsed out of the original passage.","failureModes":["Empty or very short input text may yield no claims","Highly opinionated or non-factual text (pure opinions, poetry) may return empty or low-quality claims","Malformed POST body returns an error","Rate limiting or payment failure via x402 protocol causes 402 Payment Required response","Very long documents may be truncated or time out"],"whenToPreferThis":"Choose this endpoint when you need to decompose unstructured text into discrete, verifiable factual statements as a preprocessing step — particularly before running hallucination verification or fact-checking workflows. It is the first stage in the sibling full-pipeline endpoint and is best used when you want granular claim-level control rather than an end-to-end score.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:33:56.427Z","isFirstParty":false}