Skip to content

Extract API [Starter]

Extract text content and links from any web page URL.

GET https://api.discolike.com/v1/extract
ParameterDescription
urlURL of the web page to extract
FieldTypeDescription
languageStringDetected language (ISO-639-2 code)
textStringExtracted text content
linksObjectMap of URLs to link text
Terminal window
curl "https://api.discolike.com/v1/extract?url=https://acmecorp.com/" \
-H "x-discolike-key: API_KEY"
{
"language": "en",
"text": "Acme Corp - Enterprise Solutions. We provide cutting-edge software solutions for businesses of all sizes...",
"links": {
"https://acmecorp.com/products": "Products",
"https://acmecorp.com/services": "Services",
"https://acmecorp.com/about": "About Us",
"https://acmecorp.com/contact": "Contact"
}
}