# x402node Text Entity Extractor

> x402node Text Entity Extractor is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.0022/call, status unknown (last checked 2026-09-15).

Extracts emails, URLs, phone numbers, hashtags, mentions, IP addresses, and crypto addresses from any free-form text, returning categorized arrays of found items.

## Facts

- Endpoint: GET https://api.x402node.dev/text/extract
- Price: $0.0022/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-c5a435cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j5nVMelytxq789V1lMlB2

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 api-x402node-dev-c5a435cd
```

Example prompt: Pull out all the emails, phone numbers, URLs, and any crypto wallet addresses from this text: 'Contact us at hello@example.com or call +1-800-555-0199. Visit https://example.com. Send ETH to 0x742d35Cc6634C0532925a3b8D4C9C4e5f3d1A2B3.'

## When to prefer this

Use this endpoint when you need to extract multiple types of entities simultaneously from unstructured text in a single call. Ideal for AI agents processing emails, parsing scraped documents, moderating user-generated content, or building contact databases — especially when you need crypto address extraction alongside standard contact fields, which most NLP APIs lack.

## Known failure modes

- Empty or missing text body returns empty arrays or a 400 error
- Very large text payloads may be truncated or rejected
- Malformed JSON request body returns a 400 bad request
- Ambiguous patterns (e.g. partial phone numbers) may be omitted or mis-categorized
- Payment failure or insufficient USDC balance returns a 402 Payment Required

## How this service works

extract emails, extract urls, extract phone numbers, extract crypto addresses, extract ethereum addresses, regex extraction, text entity extractor. Extract emails, URLs, phone numbers, hashtags, mentions, IP addresses, ethereum and bitcoin addresses from any text. Returns categorized arrays. For AI agents parsing emails, scraping documents, content moderation. Accepts payment on Base or Solana — either network works.

## Output

Returns a structured object with categorized arrays: emails[], urls[], phones[], hashtags[], mentions[], ips[], ethereum_addresses[], bitcoin_addresses[] — each containing the matched strings found in the input text.

## Example request

```json
{
 "text": "Contact us at hello@example.com or call +1-800-555-0199. Visit https://example.com for more info. Send ETH to 0x742d35Cc6634C0532925a3b8D4C9C4e5f3d1A2B3. Follow us @example_account and check #innovation hashtag. Our server is at 192.168.1.1."
}
```

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Input text (required)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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