Extract emails, URLs and more
Find all email addresses, URLs, phone-number-like strings, hashtags, @mentions and numbers in a text, each list de-duplicated. Use to pull contacts and links out of scraped pages or messages.
Inputs
| Name | Type | Description |
|---|---|---|
text (required) | string | The text |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/text/extract?text=Mail%20ada%40example.com%20or%20see%20https%3A%2F%2Fexample.com%20%23news%20%40ada%20%2B46%2070%20123%2045%2067"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/text/extract?text=Mail%20ada%40example.com%20or%20see%20https%3A%2F%2Fexample.com%20%23news%20%40ada%20%2B46%2070%20123%2045%2067&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum, Monad, World Chain or Tempo) and retries.
Example result
{
"emails": [
"ada@example.com"
],
"urls": [
"https://example.com"
],
"phones": [
"+46 70 123 45 67"
],
"hashtags": [
"#news"
],
"mentions": [
"@ada"
]
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is text_extract, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp