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.

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.
Automatic routing
ScrapeDrive picks HTTP or browser, proxy pool and location, under the max_credits ceiling you set.
See the feature, Automatic routingJavaScript rendering
Load the page in a real browser so content that scripts add is in the result.
See the feature, JavaScript renderingProxy routing
Send a Standard request through datacenter or residential proxies, or through your own proxy.
See the feature, Proxy routingGeo targeting
Route a residential Standard request through the country you name with proxy_country.
See the feature, Geo targetingWebpage screenshots
Add an image of the viewport, the full page or one element to a request.
See the feature, Webpage screenshotsAsync requests
Get a job id at once, then poll for the result or receive it at an HTTPS webhook.
See the feature, Async requestsBrowser waits
Hold a browser request for a load event, a CSS selector or a fixed delay.
See the feature, Browser waitsHeaders and sessions
Pass your own headers to the site and keep one proxy session across related requests.
See the feature, Headers and sessionsCost controls
Work out the price from the parameters, cap Auto with max_credits and read the settled charge.
See the feature, Cost controls
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.
