# Hallucination Detection API – Extract Claims

> Hallucination Detection API – Extract Claims is a paid API for AI agents from hallucination-detection-api.johntaylor1online.workers.dev, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-14).

Extracts discrete factual claims from a block of text for downstream verification

## Facts

- Endpoint: POST https://hallucination-detection-api.johntaylor1online.workers.dev/extract-claims
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hallucination-detection-api-extract-claims-4156b727
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RMPaVwM9gy_lc8frAAGi2

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hallucination-detection-api-extract-claims-4156b727 -d '<json body>'
```

Example prompt: 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.'

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Extract factual claims from text

## Output

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.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "additionalProperties": false,
   "properties": {
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string",
     "bodyType": "json",
     "body": {}
    },
    "type": {
     "const": "http",
     "type": "string"
    }
   },
   "required": [
    "type",
    "method"
   ],
   "type": "object"
  },
  "output": {
   "properties": {
    "example": {
     "type": "object"
    },
    "type": {
     "type": "string"
    }
   },
   "required": [
    "type"
   ],
   "type": "object"
  }
 },
 "required": [
  "input",
  "output"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hallucination-detection-api-extract-claims-4156b727/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hallucination-detection-api.johntaylor1online.workers.dev](https://www.zero.xyz/host/hallucination-detection-api.johntaylor1online.workers.dev/llms.txt)
