{"openapi":"3.1.0","info":{"title":"Claim Grounding","version":"1.5.0","description":"$0.05: split any AI answer into checkable claims (POST /v1/extract_claims), then verify them. Pay-per-call claim checks for AI agents. Sources: Wikipedia, Wikidata, Google News, Europe PMC (PubMed), FRED and SEC EDGAR. USDC on Base via x402 (Coinbase CDP facilitator). No API key. Every checked claim returns verdict: supported | contradicted | outdated | mixed | insufficient_evidence, plus status_detail and legacy_verdict (pre-1.2.0 value: supported | contradicted | not_found | conflict)."},"servers":[{"url":"https://claim-grounding.prospectintel.workers.dev"}],"paths":{"/v1/extract_claims":{"post":{"summary":"$0","description":"$0.05: split any AI answer into checkable claims. Extract claims returns atomic claims with character spans, grounding_required, claim_type (number|date|quantity|quote|named_entity_fact|comparison|opinion|prediction|other) and check_worthiness (high|medium|low). Strips hedges, resolves pronouns across sentences, and splits compound sentences. Up to 3 checkable claims include a next_step: a ready-to-send Quick check ($0.15) request, plus Deep verify ($0.75) and Verify claim ($1.00) bodies. $0.05 USDC.","x-price":"$0.05","x-payment":{"protocol":"x402","network":"eip155:8453","asset":"USDC","amount":"50000","payTo":"0x485FfC037f02dDDc154A454a9cA89C4B1b29e25b"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","minLength":1,"description":"Text to split into claims."}}},"example":{"text":"Paris is the capital of France. The Eiffel Tower opened in 1889."}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"example":{"claims":[{"claim_id":"clm_3f9a1c2b4d5e6f70","text":"Paris is the capital of France","span":{"start":0,"end":31},"grounding_required":true,"claim_type":"named_entity_fact","check_worthiness":"high","sentence":"Paris is the capital of France","sentence_index":0},{"claim_id":"clm_9b8a7c6d5e4f3a21","text":"The Eiffel Tower opened in 1889","span":{"start":32,"end":64},"grounding_required":true,"claim_type":"date","check_worthiness":"high","sentence":"The Eiffel Tower opened in 1889","sentence_index":1}],"summary":{"claims_total":2,"checkable":2,"high_worthiness":2,"sentences":2},"recommended_next_steps":{"tool":"deep_verify","count":0,"total_price_usd":0,"endpoint":"https://claim-grounding.prospectintel.workers.dev/v1/deep_verify","note":"Example abbreviated: live responses add next_step (with alternatives) on up to 3 checkable claims."},"version":"1.5.0","priced_usd":0.05,"receipt":{"priced_usd":0.05,"created_at":"2026-10-10T12:00:00.000Z"}}}}},"400":{"description":"Bad input. Not charged."},"402":{"description":"Payment required (x402). PAYMENT-REQUIRED header carries the requirements."}}}},"/v1/quick_check":{"post":{"summary":"Quick check","description":"Quick check. Fast, cheap verdict on one factual claim: supported, contradicted or unsure, with 1-2 public sources (Wikipedia, plus Wikidata where it applies) and a short reason. Synchronous. Use after Extract claims (its next_step gives the exact body); escalate unsure claims to Deep verify. $0.15 USDC.","x-price":"$0.15","x-payment":{"protocol":"x402","network":"eip155:8453","asset":"USDC","amount":"150000","payTo":"0x485FfC037f02dDDc154A454a9cA89C4B1b29e25b"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["claim"],"properties":{"sources":{"type":"array","maxItems":10,"items":{"type":"object","description":"One source: {url} for a public https page we fetch, or {text, title?, url?} for text you already have.","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Public https URL. Fetched with a 3.5 s timeout and a 512 KB cap; http, file and other schemes, private / loopback / link-local / metadata addresses, IP-literal hosts, custom ports and URLs with credentials are rejected (HTTP 400, not charged). With text, it is only the citation link."},"text":{"type":"string","minLength":1,"maxLength":20000,"description":"Source text to check the claim against (up to 20,000 characters). When given, no fetch is made."},"title":{"type":"string","maxLength":200,"description":"Optional title shown in citations."}},"anyOf":[{"required":["url"]},{"required":["text"]}],"additionalProperties":false},"description":"Optional. Up to 10 sources of your own, used as extra evidence next to the public sources and cited with provider and source_type \"caller\". The response lists what was used in sources_used."},"sources_only":{"type":"boolean","default":false,"description":"Optional. true = judge the claim only against your sources (no public-source lookups). Needs a non-empty sources array."},"claim":{"description":"The claim to check. Object {\"text\": \"...\"} or a plain string.","anyOf":[{"type":"string","minLength":1},{"type":"object","required":["text"],"properties":{"text":{"type":"string","minLength":1}}}]}}},"example":{"claim":{"text":"The Eiffel Tower opened in 1889"}}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"example":{"mode":"quick","verdict":"supported","verdict_detail":"supported","confidence":0.92,"claim":"The Eiffel Tower opened in 1889","reason":"Claim wholly entailed by cited evidence.","sources":[{"url":"https://en.wikipedia.org/wiki/Eiffel_Tower","title":"Eiffel Tower","quote":"It was opened to the public on 31 March 1889."}],"next_step":null,"version":"1.5.0","receipt":{"claim_hashes":["sha256:VGhlIEVpZmZlbCBUb3dlciBvcGVuZWQ"],"priced_usd":0.15,"created_at":"2026-11-03T12:00:00.000Z"}}}}},"400":{"description":"Bad input. Not charged."},"402":{"description":"Payment required (x402). PAYMENT-REQUIRED header carries the requirements."}}}},"/v1/verify_claim":{"post":{"summary":"Verify claim","description":"Verify claim. Checks one factual claim against public sources (Wikipedia) and returns a verdict (supported, contradicted, outdated, mixed or insufficient_evidence) with confidence, a short reason, the quote and source URL, and a receipt. $1.00 USDC.","x-price":"$1.00","x-payment":{"protocol":"x402","network":"eip155:8453","asset":"USDC","amount":"1000000","payTo":"0x485FfC037f02dDDc154A454a9cA89C4B1b29e25b"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["claim"],"properties":{"sources":{"type":"array","maxItems":10,"items":{"type":"object","description":"One source: {url} for a public https page we fetch, or {text, title?, url?} for text you already have.","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Public https URL. Fetched with a 3.5 s timeout and a 512 KB cap; http, file and other schemes, private / loopback / link-local / metadata addresses, IP-literal hosts, custom ports and URLs with credentials are rejected (HTTP 400, not charged). With text, it is only the citation link."},"text":{"type":"string","minLength":1,"maxLength":20000,"description":"Source text to check the claim against (up to 20,000 characters). When given, no fetch is made."},"title":{"type":"string","maxLength":200,"description":"Optional title shown in citations."}},"anyOf":[{"required":["url"]},{"required":["text"]}],"additionalProperties":false},"description":"Optional. Up to 10 sources of your own, used as extra evidence next to the public sources and cited with provider and source_type \"caller\". The response lists what was used in sources_used."},"sources_only":{"type":"boolean","default":false,"description":"Optional. true = judge the claim only against your sources (no public-source lookups). Needs a non-empty sources array."},"claim":{"description":"The claim to check. Object {\"text\": \"...\"} or a plain string.","anyOf":[{"type":"string","minLength":1},{"type":"object","required":["text"],"properties":{"text":{"type":"string","minLength":1}}}]}}},"example":{"claim":{"text":"Paris is the capital of France"}}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"example":{"mode":"fast","job_id":null,"claim":{"claim_id":"clm_3f9a1c2b4d5e6f70","text":"Paris is the capital of France","span":{"start":0,"end":30},"grounding_required":true,"verdict":"supported","confidence":0.92,"citations":[{"url":"https://en.wikipedia.org/wiki/Paris","title":"Paris","quote":"Paris is the capital and largest city of France.","retrieved_at":"2026-10-10T12:00:00.000Z","provider":"context"}],"support_score":0.92,"rationale_short":"Claim wholly entailed by cited evidence."},"why":"Claim wholly entailed by cited evidence.","source":"https://en.wikipedia.org/wiki/Paris","next_actions":[],"upsell":null,"receipt":{"claim_hashes":["sha256:UGFyaXMgaXMgdGhlIGNhcGl0YWwgb2Yg"],"evidence_urls":["https://en.wikipedia.org/wiki/Paris"],"verdicts":["supported"],"priced_usd":1,"created_at":"2026-10-10T12:00:00.000Z"}}}}},"400":{"description":"Bad input. Not charged."},"402":{"description":"Payment required (x402). PAYMENT-REQUIRED header carries the requirements."}}}},"/v1/check_answer":{"post":{"summary":"Check answer","description":"Check answer. Splits an AI answer into claims and checks each against Wikipedia, Wikidata and (for current claims) news. Returns per-claim verdict, confidence, quote, source URL and sentence, a source-quoted suggested_correction for wrong claims, and an answer summary with problem_sentences. $1.00 USDC.","x-price":"$1.00","x-payment":{"protocol":"x402","network":"eip155:8453","asset":"USDC","amount":"1000000","payTo":"0x485FfC037f02dDDc154A454a9cA89C4B1b29e25b"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["answer"],"properties":{"answer":{"type":"string","minLength":1,"description":"The answer text to check."},"sources":{"type":"array","maxItems":10,"items":{"type":"object","description":"One source: {url} for a public https page we fetch, or {text, title?, url?} for text you already have.","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Public https URL. Fetched with a 3.5 s timeout and a 512 KB cap; http, file and other schemes, private / loopback / link-local / metadata addresses, IP-literal hosts, custom ports and URLs with credentials are rejected (HTTP 400, not charged). With text, it is only the citation link."},"text":{"type":"string","minLength":1,"maxLength":20000,"description":"Source text to check the claim against (up to 20,000 characters). When given, no fetch is made."},"title":{"type":"string","maxLength":200,"description":"Optional title shown in citations."}},"anyOf":[{"required":["url"]},{"required":["text"]}],"additionalProperties":false},"description":"Optional. Up to 10 sources of your own, used as extra evidence next to the public sources and cited with provider and source_type \"caller\". The response lists what was used in sources_used."},"sources_only":{"type":"boolean","default":false,"description":"Optional. true = judge the claim only against your sources (no public-source lookups). Needs a non-empty sources array."}}},"example":{"answer":"Paris is the capital of France. Water boils at 100 degrees Celsius at sea level."}}}},"responses":{"200":{"description":"Result","content":{"application/json":{"example":{"result_id":"res_1a2b3c4d5e6f7a8b","version":"1.5.0","mode":"fast","job_id":null,"summary":{"overall_verdict":"all_supported","claims_total":2,"claims_checked":2,"counts":{"supported":2,"contradicted":0,"outdated":0,"mixed":0,"insufficient_evidence":0,"not_checkable":0},"problem_sentences":[],"unverified_sentences":[]},"claims":[{"claim_id":"clm_3f9a1c2b4d5e6f70","text":"Paris is the capital of France","span":{"start":0,"end":30},"grounding_required":true,"verdict":"supported","confidence":0.92,"citations":[{"url":"https://en.wikipedia.org/wiki/Paris","title":"Paris","quote":"Paris is the capital and largest city of France.","retrieved_at":"2026-10-10T12:00:00.000Z","provider":"context"}],"support_score":0.92,"rationale_short":"Claim wholly entailed by cited evidence."}],"why":"Claim wholly entailed by cited evidence.","source":"https://en.wikipedia.org/wiki/Paris","next_actions":[],"upsell":null,"receipt":{"claim_hashes":["sha256:UGFyaXMgaXMgdGhlIGNhcGl0YWwgb2Yg"],"evidence_urls":["https://en.wikipedia.org/wiki/Paris"],"verdicts":["supported"],"priced_usd":1,"created_at":"2026-10-10T12:00:00.000Z"}}}}},"400":{"description":"Bad input. Not charged."},"402":{"description":"Payment required (x402). PAYMENT-REQUIRED header carries the requirements."}}}},"/v1/deep_verify":{"post":{"summary":"Deep verify","description":"Deep verify. Use when a claim is high-stakes, or when Check answer or Extract claims marks it unsure (next_step). Checks it against Wikipedia, Wikidata, Google News, Europe PMC studies, FRED economic data and SEC EDGAR filings, and flags contradiction when sources disagree. Async: returns a job_id; poll GET /v1/jobs/{id} free for verdict, evidence for and against, citations. $0.75 USDC.","x-price":"$0.75","x-payment":{"protocol":"x402","network":"eip155:8453","asset":"USDC","amount":"750000","payTo":"0x485FfC037f02dDDc154A454a9cA89C4B1b29e25b"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"claim":{"description":"The claim to check. Object {\"text\": \"...\"} or a plain string.","anyOf":[{"type":"string","minLength":1},{"type":"object","required":["text"],"properties":{"text":{"type":"string","minLength":1}}}]},"answer":{"type":"string"},"text":{"type":"string"},"sources":{"type":"array","maxItems":10,"items":{"type":"object","description":"One source: {url} for a public https page we fetch, or {text, title?, url?} for text you already have.","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Public https URL. Fetched with a 3.5 s timeout and a 512 KB cap; http, file and other schemes, private / loopback / link-local / metadata addresses, IP-literal hosts, custom ports and URLs with credentials are rejected (HTTP 400, not charged). With text, it is only the citation link."},"text":{"type":"string","minLength":1,"maxLength":20000,"description":"Source text to check the claim against (up to 20,000 characters). When given, no fetch is made."},"title":{"type":"string","maxLength":200,"description":"Optional title shown in citations."}},"anyOf":[{"required":["url"]},{"required":["text"]}],"additionalProperties":false},"description":"Optional. Up to 10 sources of your own, used as extra evidence next to the public sources and cited with provider and source_type \"caller\". The response lists what was used in sources_used."},"sources_only":{"type":"boolean","default":false,"description":"Optional. true = judge the claim only against your sources (no public-source lookups). Needs a non-empty sources array."}}},"example":{"claim":{"text":"Paris is the capital of France"}}}}},"responses":{"202":{"description":"Result","content":{"application/json":{"example":{"mode":"deep","status":"queued","job_id":"job_8c1d2e3f4a5b6c7d","claims":[],"next_actions":[],"receipt":{"job_id":"job_8c1d2e3f4a5b6c7d","priced_usd":0.75,"claims":[{"claim_id":"clm_3f9a1c2b4d5e6f70","text":"Paris is the capital of France","grounding_required":true}],"created_at":"2026-10-10T12:00:00.000Z"},"poll":"GET /v1/jobs/job_8c1d2e3f4a5b6c7d (free)"}}}},"400":{"description":"Bad input. Not charged."},"402":{"description":"Payment required (x402). PAYMENT-REQUIRED header carries the requirements."}}}},"/v1/deep_research/lite":{"post":{"summary":"Deep Research Lite","description":"Deep Research Lite. Re-researches unsupported claims across public sources and returns a receipted result. Requires confirmed: true in the body (otherwise 400, not charged). Async: poll GET /v1/jobs/{id}. $5.00 USDC.","x-price":"$5.00","x-payment":{"protocol":"x402","network":"eip155:8453","asset":"USDC","amount":"5000000","payTo":"0x485FfC037f02dDDc154A454a9cA89C4B1b29e25b"},"x-requires-confirmation":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["confirmed"],"properties":{"confirmed":{"const":true,"description":"Required. Without confirmed: true the call returns 400 and nothing is charged."},"answer":{"type":"string","description":"Text whose claims should be researched."},"claim":{"type":"object","properties":{"text":{"type":"string"}}},"text":{"type":"string"},"claim_ids":{"type":"array","items":{"type":"string"}}}},"example":{"confirmed":true,"answer":"Acme Corp was founded in 1999 in Austin, Texas."}}}},"responses":{"202":{"description":"Result","content":{"application/json":{"example":{"mode":"fast","status":"queued","job_id":"job_8c1d2e3f4a5b6c7d","claims":[],"next_actions":[],"receipt":{"job_id":"job_8c1d2e3f4a5b6c7d","priced_usd":5,"claims":[{"claim_id":"clm_3f9a1c2b4d5e6f70","text":"Paris is the capital of France","grounding_required":true}],"created_at":"2026-10-10T12:00:00.000Z"},"poll":"GET /v1/jobs/job_8c1d2e3f4a5b6c7d (free)"}}}},"400":{"description":"Bad input. Not charged."},"402":{"description":"Payment required (x402). PAYMENT-REQUIRED header carries the requirements."}}}},"/v1/deep_research":{"post":{"summary":"Deep Research Core","description":"Deep Research Core. Re-researches unsupported claims across public sources and returns per-claim verdicts, evidence URLs and a receipt. Requires confirmed: true in the body (otherwise 400, not charged). Async: poll GET /v1/jobs/{id}. $8.00 USDC.","x-price":"$8.00","x-payment":{"protocol":"x402","network":"eip155:8453","asset":"USDC","amount":"8000000","payTo":"0x485FfC037f02dDDc154A454a9cA89C4B1b29e25b"},"x-requires-confirmation":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["confirmed"],"properties":{"confirmed":{"const":true,"description":"Required. Without confirmed: true the call returns 400 and nothing is charged."},"answer":{"type":"string","description":"Text whose claims should be researched."},"claim":{"type":"object","properties":{"text":{"type":"string"}}},"text":{"type":"string"},"claim_ids":{"type":"array","items":{"type":"string"}}}},"example":{"confirmed":true,"answer":"Acme Corp was founded in 1999 in Austin, Texas."}}}},"responses":{"202":{"description":"Result","content":{"application/json":{"example":{"mode":"fast","status":"queued","job_id":"job_8c1d2e3f4a5b6c7d","claims":[],"next_actions":[],"receipt":{"job_id":"job_8c1d2e3f4a5b6c7d","priced_usd":8,"claims":[{"claim_id":"clm_3f9a1c2b4d5e6f70","text":"Paris is the capital of France","grounding_required":true}],"created_at":"2026-10-10T12:00:00.000Z"},"poll":"GET /v1/jobs/job_8c1d2e3f4a5b6c7d (free)"}}}},"400":{"description":"Bad input. Not charged."},"402":{"description":"Payment required (x402). PAYMENT-REQUIRED header carries the requirements."}}}},"/v1/deep_research/pro":{"post":{"summary":"Deep Research Pro","description":"Deep Research Pro. Highest-budget re-research of unsupported claims across public sources, with per-claim verdicts, evidence URLs and a receipt. Requires confirmed: true in the body (otherwise 400, not charged). Async: poll GET /v1/jobs/{id}. $15.00 USDC.","x-price":"$15.00","x-payment":{"protocol":"x402","network":"eip155:8453","asset":"USDC","amount":"15000000","payTo":"0x485FfC037f02dDDc154A454a9cA89C4B1b29e25b"},"x-requires-confirmation":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["confirmed"],"properties":{"confirmed":{"const":true,"description":"Required. Without confirmed: true the call returns 400 and nothing is charged."},"answer":{"type":"string","description":"Text whose claims should be researched."},"claim":{"type":"object","properties":{"text":{"type":"string"}}},"text":{"type":"string"},"claim_ids":{"type":"array","items":{"type":"string"}}}},"example":{"confirmed":true,"answer":"Acme Corp was founded in 1999 in Austin, Texas."}}}},"responses":{"202":{"description":"Result","content":{"application/json":{"example":{"mode":"fast","status":"queued","job_id":"job_8c1d2e3f4a5b6c7d","claims":[],"next_actions":[],"receipt":{"job_id":"job_8c1d2e3f4a5b6c7d","priced_usd":15,"claims":[{"claim_id":"clm_3f9a1c2b4d5e6f70","text":"Paris is the capital of France","grounding_required":true}],"created_at":"2026-10-10T12:00:00.000Z"},"poll":"GET /v1/jobs/job_8c1d2e3f4a5b6c7d (free)"}}}},"400":{"description":"Bad input. Not charged."},"402":{"description":"Payment required (x402). PAYMENT-REQUIRED header carries the requirements."}}}},"/v1/jobs/{id}":{"get":{"summary":"Poll async job. No extra charge.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Job"},"404":{"description":"Unknown job id"}}}}},"components":{"schemas":{"Verdict":{"type":"string","enum":["supported","contradicted","outdated","mixed","insufficient_evidence"],"description":"supported: entailed by a cited source. contradicted: false, never true in the relevant sense. outdated: was true, no longer true. mixed: credible evidence points in different directions. insufficient_evidence: not enough reliable evidence; abstains."},"LegacyVerdict":{"type":"string","enum":["supported","contradicted","not_found","conflict"],"description":"Pre-1.2.0 verdict value. outdated -> contradicted, mixed -> conflict, insufficient_evidence -> not_found."},"ScoredClaim":{"type":"object","properties":{"claim_id":{"type":"string"},"text":{"type":"string"},"verdict":{"$ref":"#/components/schemas/Verdict"},"legacy_verdict":{"$ref":"#/components/schemas/LegacyVerdict"},"status_detail":{"type":"string"},"confidence":{"type":"number"},"citations":{"type":"array","items":{"type":"object"}},"support_score":{"type":"number"},"rationale_short":{"type":"string"},"contradiction":{"type":"boolean","description":"deep_verify only"},"next_step":{"$ref":"#/components/schemas/NextStep"}}},"NextStep":{"type":"object","description":"1.5.0: extract_claims next_step is a ready-to-send Quick check ($0.15) request with alternatives (deep_verify, verify_claim); check_answer and quick_check suggest Deep verify. 1.4.8: ready-to-send Deep verify request on unsure, low-confidence or unverified high-worthiness claims (extract_claims, check_answer). Responses also carry recommended_next_steps { tool, count, total_price_usd, endpoint, note }.","required":["tool","why","price_usd","endpoint","method","body"],"properties":{"tool":{"type":"string","enum":["quick_check","deep_verify"]},"why":{"type":"string"},"price_usd":{"type":"number"},"endpoint":{"type":"string","format":"uri"},"method":{"type":"string","enum":["POST"]},"body":{"type":"object","required":["claim"],"properties":{"claim":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}}}},"alternatives":{"type":"array","description":"1.5.0 (extract_claims): ready-to-send Quick check ($0.15), Deep verify ($0.75) and Verify claim ($1.00) requests for this claim.","items":{"type":"object"}}}}}}}