{"uid":"cap_bQhdgmcAFvfeT7p8iMc1b","slug":"agenttools-text-entity-extractor-ae82f330","name":"AgentTools Text Entity Extractor","description":"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.","url":"https://agenttools-hub.vercel.app/api/v1/dev/text-extract?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZpqHkMujsgKgLMPF5v2WF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans raw unstructured text and extracts deduplicated, categorized structured entities: email addresses, URLs, IPv4 addresses, phone numbers, and domains.","exampleAgentPrompt":"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.'","exampleUseCases":[{"title":"Contact info harvesting from email body","prompt":"I just got this long email thread and I need all the email addresses and phone numbers pulled out of it — can you extract just those from this text: 'Reach John at john.doe@corp.com or 415-555-0123, and Sarah at sarah@startup.io or (212) 555-9876'?"},{"title":"Security log IP address extraction","prompt":"Here's a chunk of server log output — can you pull out all the IPv4 addresses from it so I can check them against our blocklist? The log text is: 'Failed login from 203.0.113.42, suspicious request from 198.51.100.7, normal traffic from 10.0.0.5.'"},{"title":"Link audit from scraped web content","prompt":"I have a blob of scraped webpage text and I need to extract every URL and domain mentioned in it — please pull out just the URLs and domains from this: 'Check out https://news.ycombinator.com and developer.mozilla.org, also see http://blog.example.com/post/123 for more.'"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:41:46.941Z","isFirstParty":false,"canonicalSlug":"agenttools-text-entity-extractor-ae82f330"}