Try ScrapeDrive with 500 free credits. No card. Start free.

ScrapeDrive

Get the page as HTML, visible text or Markdown

One parameter, result_type, decides what the response body contains. html returns the page source, page_text the visible text, and page_markdown the page converted to Markdown. All three cost the same.

500 credits after you confirm your email. No card.

A webpage becoming HTML, visible text, and Markdown documents.
curl "https://sync.scrapedrive.com/api/v1/scrape" \
  -H "Content-Type: application/json" \
  -d '{
    "api_key": "YOUR_KEY",
    "url": "https://example.com",
    "result_type": "page_markdown"
  }'

What this request asks for

result_type=page_markdown
Returns the page converted to Markdown.
X-Sdrive-Credits
Reports the settled charge. The format does not change it.

What it does for a request

html
The default. The page source as the site returned it.
page_text
The visible text of the page, without markup.
page_markdown
The page HTML converted to Markdown.
The same price
The format never changes the credits. The proxy network, rendering and a screenshot set the price.

When to use it

Use it when

  • html, when your code parses the document and needs its tags and attributes.
  • page_text, when you only need the words on the page.
  • page_markdown, when you store or index documents, or pass pages to a language model.

Leave it out when

  • You need specific fields such as a price or an address. The API returns the page, and your code picks the fields out of it.

How to set it

  • result_type

    html, page_text or page_markdown

    The default is html.

  • screenshot

    true or false

    A separate option, not a format. It adds an image URL to any of the three. See webpage screenshots.

Limits to plan for

  • Markdown can leave out content that the HTML contains. When a value matters, check it against html for that page.
  • A delivered error page, such as a 404, is converted and charged like any other delivered page.

Other features

Start with a plain request. Add browser, routing or waiting settings only when the page needs them.

Try output formats on your page

Paste a page URL into the Playground and see exactly what ScrapeDrive returns.

500 credits after you confirm your email. No card.