Extract & Slugify API
Pull emails, URLs, phone numbers and hashtags out of any text, and turn titles into clean URL slugs. Test it live below, then copy the snippet.
Edge-fast JSON APINo signup or API keyCORS enabledOpenAPI 3 spec
POST /v1/extractLive against the real endpoint
Request body text
Response
Press “Send request” to call the API.
API documentation
curl
curl -X POST https://api.aazainkhan.com/v1/extract \
-H 'content-type: application/json' \
-d '{"text":"Email hi@example.com or visit https://example.com #news"}'
curl -X POST https://api.aazainkhan.com/v1/slugify \
-H 'content-type: application/json' \
-d '{"text":"Café Münster: Hello, World!"}'JavaScript
const r = await fetch('https://api.aazainkhan.com/v1/slugify', {
method: 'POST',
headers: {'content-type': 'application/json'},
body: JSON.stringify({text: 'Hello World'})
});
console.log((await r.json()).slug); // "hello-world"Endpoints: GET /health, POST /v1/extract, POST /v1/slugify. Machine-readable spec: /openapi.json.
Frequently asked questions
Is the API free?
Yes. The free tier needs no signup or API key.
What can /v1/extract find?
Email addresses, http(s) URLs, North American phone numbers and #hashtags, returned as de-duplicated sorted arrays.
How does /v1/slugify work?
It strips accents, lowercases, replaces non-alphanumeric runs with hyphens and trims the ends. 'Café Münster!' becomes 'cafe-munster'.
What are the limits?
Request bodies up to 100,000 characters. Higher-volume use is available on the Pro plan.
Can I call it from the browser?
Yes, CORS is enabled for all origins.
Is there an OpenAPI spec?
Yes, at /openapi.json.