{"uid":"cap_5IB9WZQkatnaInXp2JNA9","slug":"24k-labs-entity-extract-regex-5ec691b1","name":"24K Labs Entity Extract 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/v1/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_9TngM0ztc-kqwyAzUUIxr","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, IP addresses, @mentions, and hashtags from this text and give me deduplicated lists with counts for each type: \"Contact us at hello@example.com or support@example.com. Visit https://example.com or https://docs.example.com. Server 192.168.1.1 is down. Reach @alice or @bob. Tag it #help #urgent.\"","exampleUseCases":[{"title":"Contact harvesting from scraped page","prompt":"Extract all email addresses and URLs from this scraped webpage text and tell me how many times each one appears — I want a clean deduplicated list."},{"title":"Social post entity parsing","prompt":"I have a batch of raw tweets here — pull out every @mention and #hashtag from this text and give me counts of each so I can see which ones are most common."},{"title":"Server log IP extraction","prompt":"Scan through this server log text and pull out all unique IPv4 addresses with how many times each one appears — I need to identify the top talkers."}],"resultDescription":"Returns deduplicated lists of each entity type found in the input text (emails, URLs, IPv4 addresses, @mentions, #hashtags), each with occurrence counts indicating how many times that entity appeared.","failureModes":["Empty or whitespace-only input returns empty entity lists","Malformed or non-standard addresses may not be matched by regex patterns","Very large text inputs may time out or hit payload size limits","No entities of a given type yields an empty array for that category","Invalid POST body or missing text field returns a 400 error"],"whenToPreferThis":"Choose this endpoint when you need fast, regex-based extraction of structured entities (emails, URLs, IPs, mentions, hashtags) from free text without NLP overhead. It is ideal when you want deterministic pattern matching with deduplication and counts, rather than semantic NLP entity recognition. Prefer it over full NLP pipelines when speed and cost matter and the entities you need are well-defined by syntax.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:58:47.865Z","isFirstParty":false}