Skip to main content
Fetch the HTML (or parsed JSON) for any URL

Authorizations

x-scrapeunblocker-key
string
header
required

Your ScrapeUnblocker API key. Apply on every request.

Query Parameters

url
string
required
proxy_country
string
parsed_data
boolean
default:false
markdown
boolean
default:false

Return the page as clean Markdown (text/markdown) instead of HTML: headings, lists, tables, absolute links and images with alt text, without scripts, styles or markup. Built for LLMs, agents and RAG pipelines. Billed like an HTML call.

main_content_only
boolean
default:true

With markdown=true: keep only the main content, without navigation, site header, footer and sidebars. Set to false for the whole page.

get_cookies
boolean
default:false
list_elements
boolean
default:false

Return the page's interactive elements (buttons, inputs, selects, links, forms) with ready-to-use selectors instead of HTML, to help build steps.

steps
string

JSON array of browser actions to run after the page loads (wait_for, wait_for_text, wait, click, type, select, press_key, scroll). The request is rendered in a real browser and runs once.

Response

Success — body is HTML (Markdown with markdown=true, JSON with parsed_data=true / get_cookies=true). With parsed_data=true a page that rendered but yielded no structured data is still a 200: data.data is empty, data_extracted is false and html carries the rendered page. Also a dead-origin 5xx page, as served (can be empty): then the X-Origin-Status header carries the target's status. The same for the target's own 401, 451 or empty 500, confirmed from more than one exit. A target that answers 204 (or another 2xx with no body) comes back as an empty 200. Billed.