# 24K Labs Entity Extractor

> 24K Labs Entity Extractor is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Extracts structured entities (URLs, emails, and mentions) from freeform text, returning categorized lists in a single call.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/entity-extract
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-entity-extractor-de34c426
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MazWt1nl3dqX8-wKvfFSb

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 24k-labs-entity-extractor-de34c426 -d '<json body>'
```

Example prompt: Can you extract all the URLs, email addresses, and @mentions from this text: 'Check out https://x.io for updates, reach us at ops@x.io, or ping @dev on the forum'?

## When to prefer this

Choose this endpoint when you need a lightweight, fast, multi-entity extraction in a single call that simultaneously returns URLs, emails, and @mentions from freeform text. Prefer it over general-purpose NLP APIs when you want structured JSON output at low cost ($0.002/call) without running a full NLP pipeline. It is ideal for processing scraped web content, social posts, or user-submitted text where contact and link information needs to be structured quickly.

## Known failure modes

- Empty or whitespace-only input returns zero entities with total=0
- Malformed or extremely long text may result in partial extraction or timeout
- Obfuscated emails (e.g. 'user at domain dot com') will not be detected
- URLs lacking a scheme (e.g. 'example.com' without 'https://') may be missed
- Non-standard mention formats may not be captured

## How this service works

A curated directory of x402 services — each one on the list on purpose, with the health, uptime, and independent trust grades from across the ecosystem gathered in one place.

## Output

Returns a JSON object with a total entity count and a nested entities object containing three arrays: urls (all HTTP/HTTPS links found), emails (all RFC-5322-style email addresses found), and mentions (all @handle references found) in the input text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "total": 5,
  "entities": {
   "urls": [
    "https://x.io"
   ],
   "emails": [
    "ops@x.io"
   ],
   "mentions": [
    "@dev"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-entity-extractor-de34c426/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
