{"uid":"cap_x_4L8mmaT-tqioVelPYQ8","slug":"24k-labs-entity-extractor-regex-51ce807f","name":"24K Labs Entity Extractor (Regex)","description":"Pull deduped lists of emails, URLs, IPv4 addresses, @mentions and #hashtags out of free text, with counts.","url":"https://api.24klabs.ai/api/entity-extract-regex","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"emails":["bob@acme.io"]}},"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_ZZLITZbUpAv_0eQFZlwAv","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":"Extracts and deduplicates emails, URLs, IPv4 addresses, @mentions, and #hashtags from free text, returning each entity type with occurrence counts.","exampleAgentPrompt":"Pull out all the email addresses, URLs, @mentions, and hashtags from this text and tell me how many times each one appears: 'Contact us at info@example.com or support@example.com. Visit https://example.com for more. Follow @example and use #sale or #deals.'","exampleUseCases":[{"title":"Mining leads from scraped web content","prompt":"I just scraped a bunch of raw HTML and text from a marketing page — can you extract every email address and URL from it, deduplicated, with counts so I know which ones appear most often?"},{"title":"Parsing IPs and handles from server logs","prompt":"Here's a chunk of server log output — pull out all IPv4 addresses and any @mentions or #hashtags that appear in it, and tell me how many times each one shows up."},{"title":"Analyzing hashtags in social posts","prompt":"I have a batch of raw social media posts pasted together in one blob — extract every #hashtag and @mention from them with deduplication and frequency counts so I can see which ones are trending."}],"resultDescription":"A structured response containing deduplicated lists for each entity type found in the input text (emails, URLs, IPv4 addresses, @mentions, #hashtags), each accompanied by an occurrence count indicating how many times that entity appeared in the original text.","failureModes":["Empty or whitespace-only input returns empty entity lists","Malformed or non-standard formats may not be captured by regex patterns (e.g. internationalized email domains)","Very large text inputs may hit payload size limits","Obfuscated entities (e.g. 'user [at] example [dot] com') will not be extracted","Non-public IPv6 addresses are not covered by the IPv4-specific extractor"],"whenToPreferThis":"Choose this endpoint when you need fast, lightweight extraction of common structured entities (emails, URLs, IPs, social handles, hashtags) from free text using pattern matching — no ML inference needed. Ideal when you don't need semantic understanding, just reliable regex-based identification and deduplication with counts. Prefer over NLP-based NER tools when speed and cost matter and entity types are well-defined.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:01:20.998Z","isFirstParty":false}