{"uid":"cap_9xVh98yQaWfsTg-RQgzbt","slug":"agenttools-text-entity-extractor-42f72999","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://agentstoolshub.com/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.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NdFPOAvfSQkwrqo603TRI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 structured, deduplicated entities: email addresses, URLs, IPv4 addresses, phone numbers, and domains.","exampleAgentPrompt":"Can you extract all email addresses and URLs from this text: 'Contact us at support@example.com or visit https://example.com. Reach John at john.doe@company.org or call +1-800-555-0199.'","exampleUseCases":[{"title":"Mining contacts from raw email body","prompt":"I have a raw email body full of contact info — can you pull out all the email addresses and phone numbers from it? Here's the text: 'Please reach out to alice@corp.com or bob@firm.net, or call (415) 555-0182 for urgent matters.'"},{"title":"Extracting IPs from server log snippet","prompt":"Here's a chunk of server log output — can you extract just the IP addresses from it? The text is: '2024-01-15 12:03:44 Request from 192.168.1.42 denied. Forwarded by 10.0.0.1. Origin: 203.0.113.55.'"},{"title":"Pulling all links from scraped webpage text","prompt":"I scraped some raw text from a webpage and need a clean list of every URL and domain mentioned in it. Can you extract those from: 'Check out https://news.ycombinator.com and http://lobste.rs. Also visit openai.com for more info.'"}],"resultDescription":"Returns a structured, deduplicated JSON object with categorized entity lists — one array each for emails, URLs, IPv4 addresses, phone numbers, and domains found in the input text, filtered by the requested entity type.","failureModes":["Missing required 'text' query parameter returns an error","Empty or whitespace-only text returns empty entity lists","Malformed or very long text may cause parsing errors or truncation","Invalid 'what' enum value results in a validation error","IPv6 addresses are not extracted (only IPv4 supported)"],"whenToPreferThis":"Choose this endpoint when you need to rapidly extract one or more categories of structured contact or network entities from free-form, unstructured text in a single call. It is ideal for processing emails, log files, scraped web content, or user-submitted text where you need deduplicated, categorized results without building custom regex pipelines. Prefer it over general-purpose NLP APIs when you specifically need email/URL/IP/phone/domain extraction with minimal latency and a flat per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:50:49.010Z","isFirstParty":false,"canonicalSlug":"agenttools-text-entity-extractor-42f72999"}