# x402 Named Entity Recognition (NER) Extractor

> x402 Named Entity Recognition (NER) Extractor is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Extracts named entities (people, organizations, locations, dates, emails, URLs, phone numbers, monetary amounts) from text using Mistral AI, returning verbatim matches with context.

## Facts

- Endpoint: POST https://x402-deployer.x402-deployer.workers.dev/extract-entities
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-ceeca05f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KbQdeGttFETZLyXJ51Dv_

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 x402-deployer-x402-deployer-workers-dev-ceeca05f -d '<json body>'
```

Example prompt: Extract all the named entities from this text — people, organizations, locations, dates, emails, phone numbers, URLs, and monetary amounts — and give me each one verbatim with surrounding context: 'On March 5, 2024, CEO Jane Smith of Acme Corp (contact: jane@acme.com, +1-800-555-0199) announced a $4.2M investment at their New York headquarters. Visit https://acme.com for details.'

## When to prefer this

Choose this endpoint when you need fast, structured extraction of multiple entity types from free-form text in a single call, especially when you need verbatim matches with context. Prefer over general-purpose LLM calls when you want consistent entity-typed output and predictable pricing at $0.005 USDC per call.

## Known failure modes

- Empty or missing text input returns an error
- Text that is too long may be truncated or rejected
- Ambiguous entity types may be misclassified by the underlying Mistral model
- Non-English text may have reduced extraction accuracy
- Payment failure via x402 protocol returns 402 status and no result

## How this service works

Named entity recognition (NER) / entity extractor. Pulls people, organizations, locations, dates, emails, URLs, phone numbers, monetary amounts. Verbatim with context. Mistral powered.

## Output

A structured list of extracted entities grouped by type (PERSON, ORG, LOCATION, DATE, EMAIL, URL, PHONE, MONEY), each with the verbatim text as it appeared in the source and a surrounding context snippet for disambiguation.

## Example request

```json
{
 "input": {
  "body": {
   "text": "On March 5, 2024, CEO Jane Smith of Acme Corp (contact: jane@acme.com, +1-800-555-0199) announced a $4.2M investment at their New York headquarters. Visit https://acme.com for details."
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Max 25,000 chars."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "entities": {
       "type": "object",
       "properties": {
        "people": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "locations": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "organizations": {
         "type": "array",
         "items": {
          "type": "string"
         }
        }
       }
      },
      "total_entities": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-ceeca05f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-deployer.x402-deployer.workers.dev](https://www.zero.xyz/host/x402-deployer.x402-deployer.workers.dev/llms.txt)
