Claim Verifier

Verify a single factual claim against live web search results. $0.04 per request.

Not live yet. This endpoint currently returns 503 service_unavailable for every request — the search backend isn't provisioned. No payment is ever requested while it's in this state.

What it does

Send one factual claim. It runs a live web search, then returns a verdict — supported, refuted, or unverifiable — with confidence and the specific sources used, so an agent can check something before relying on it.

Endpoint

MethodPOST
Path/verify
Content-Typeapplication/json

Fields

fieldrequireddescription
claimyesOne factual claim to verify, max 500 characters

Example

curl -X POST https://claim-verifier.pdfextractapi.workers.dev/verify \
  -H "Content-Type: application/json" \
  -d '{"claim": "The Eiffel Tower is located in Paris, France."}'

Example response

{
  "claim": "The Eiffel Tower is located in Paris, France.",
  "verdict": "supported",
  "confidence": 0.98,
  "sources": [
    { "url": "https://en.wikipedia.org/wiki/Eiffel_Tower", "title": "Eiffel Tower - Wikipedia" }
  ],
  "explanation": "Multiple sources confirm the Eiffel Tower's location in Paris."
}

Errors

Errors return a non-200 status with { "error": { "code": "...", "message": "..." } }. Common codes: missing_claim, claim_too_long, service_unavailable, search_unavailable.

Payment

This endpoint is paid per-request via the x402 protocol (HTTP 402 + USDC), once live.