Verify a single factual claim against live web search results. $0.04 per request.
503 service_unavailable for every request — the search backend isn't provisioned. No payment is ever requested while it's in this state.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.
| Method | POST |
|---|---|
| Path | /verify |
| Content-Type | application/json |
| field | required | description |
|---|---|---|
claim | yes | One factual claim to verify, max 500 characters |
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."}'
{
"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 return a non-200 status with { "error": { "code": "...", "message": "..." } }. Common codes: missing_claim, claim_too_long, service_unavailable, search_unavailable.
This endpoint is paid per-request via the x402 protocol (HTTP 402 + USDC), once live.