Skip to content
Login Sign up

Web Scraping API

One endpoint, every page. The scraping API handles proxy rotation, headless Chrome, JavaScript execution, CAPTCHA solving, and automatic retries.

GET https://scrape.shifter.io/v1

POST and PUT variants are also supported, see POST requests and PUT requests.

Pass your API key as the api_key query parameter on every request. Keys are managed in the panel under Web Scraping API → API Keys.

Terminal window
curl "https://scrape.shifter.io/v1?api_key=YOUR_API_KEY&url=https://example.com"
ParameterTypeRequiredDescription
api_keystringyesYour API key
urlstringyesThe URL to fetch
render_js0 | 1noEnable headless Chrome rendering
premium_proxy0 | 1noRoute through residential IPs (Growth+)
mobile_proxy0 | 1noRoute through mobile IPs (Growth+)
countryISO codenoCountry for proxy geolocation
devicedesktop | mobile | tabletnoSimulated device
session_idstringnoReuse cookies and proxy across requests
timeoutmsnoMax time the browser can spend, up to 60000
wait_formsnoIdle wait after navigation (5000-10000 recommended)
wait_for_cssselectornoBlock until CSS selector appears
wait_untilstringnoNavigation wait condition (advanced)
keep_headers0 | 1noForward custom headers to target
custom_headersJSONnoCustom request headers (URL-encoded)
custom_cookiesstringnoCookie header value
extract_rulesJSONnoCSS selectors to parse into structured JSON
auto_parser0 | 1noAuto-parse JSON responses
screenshot0 | 1noReturn PNG instead of HTML
screenshot_optionsJSONnoScreenshot size and selector
binary_response0 | 1noStream binary payloads (PDFs, images)
js_instructionsJSONnoRun scroll/click/wait before capture
disable_stealth0 | 1noDisable stealth plugin
webhookURLnoPOST the response to this URL when ready
forward_proxyURLnoChain through your upstream proxy

Every parameter that expects JSON must be URL-encoded.

Terminal window
curl "https://scrape.shifter.io/v1?api_key=YOUR_API_KEY&url=https://example.com&render_js=1&wait_for_css=h1"