# AgentTools Text Entity Extractor

> AgentTools Text Entity Extractor is a paid API for AI agents from agenttools-hub.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Scans raw unstructured text and extracts deduplicated, categorized structured entities: email addresses, URLs, IPv4 addresses, phone numbers, and domains.

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/dev/text-extract?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-text-entity-extractor-ae82f330
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bQhdgmcAFvfeT7p8iMc1b

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 agenttools-text-entity-extractor-ae82f330
```

Example prompt: Can you scan this text and pull out all the email addresses, phone numbers, URLs, and IP addresses from it: 'Contact us at support@example.com or call +1-800-555-0199. Visit https://example.com or reach our server at 192.168.1.1.'

## When to prefer this

Choose this endpoint when you need fast, deterministic extraction of one or more specific entity types (emails, URLs, IPs, phones, domains) from unstructured text without running a full NLP pipeline. Ideal for agents processing emails, logs, documents, or scraped content that need structured contact or network data. The optional 'what' filter lets you extract only the entity type you care about, reducing noise.

## Known failure modes

- Missing required 'text' query parameter returns an error
- Empty or whitespace-only text returns empty result sets for all categories
- Malformed or non-string text input may cause parsing errors
- No entities of a specific type found returns an empty array for that category
- Network timeout if input text is extremely large
- Invalid 'what' enum value returns an error

## How this service works

Scan unstructured text and extract structured entities: email addresses, URLs, IPv4 addresses, phone numbers and domains. Deduplicated, categorized, machine-ready. Use this when an agent needs to pull emails, URLs, IPs, phones and domains from raw text.

## Output

Returns a structured, deduplicated object containing categorized arrays of extracted entities found in the input text — each category (emails, urls, ips, phones, domains) contains only unique values, machine-ready for downstream processing.

## 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": "Text"
      },
      "what": {
       "enum": [
        "all",
        "emails",
        "urls",
        "ips",
        "phones",
        "domains"
       ],
       "type": "string",
       "description": "Extract"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttools-text-entity-extractor-ae82f330/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttools-hub.vercel.app](https://www.zero.xyz/host/agenttools-hub.vercel.app/llms.txt)
