Skip to main content
Scraper API supports automatically transforming HTML output into Markdown. This format provides a clean, human-readable output that streamlines integration into your content workflows and applications, especially useful for feeding scraping results into large language models, which usually have a limited token context. Request Example:
# update 'TOKEN VALUE' with your authorization token
curl --request 'POST' \
        --url 'https://scraper-api.decodo.com/v2/scrape' \
        --header 'Accept: application/json' \
        --header 'Authorization: Basic TOKEN VALUE' \
        --header 'Content-Type: application/json' \
        --data '
    {
      "url": "https://dummyjson.com/",
      "headless": "html",
      "markdown": true
    }
'
Example output:
# Example Domain\n\nThis domain is for use in illustrative examples in documents. You may use this\ndomain in literature without prior coordination or asking for permission.\n\n[More information...](https://www.iana.org/domains/example)

Support

Need help or just want to say hello? Our support is available 24/7.
You can also reach us anytime via email at support@decodo.com.

Feedback

Can’t find what you’re looking for? Request an article!
Have feedback? Share your thoughts on how we can improve.