Skip to content
Login Sign up

Quickstart

Make a single request to scrape.shifter.io/v1 and watch Shifter handle proxy rotation, headless Chrome, and retries for you.

  1. Grab your API key

    Log in at shifter.io/panel and open Web Scraping API → API Keys. Copy an active key.

  2. Fetch a page

    Terminal window
    curl "https://scrape.shifter.io/v1?api_key=YOUR_API_KEY&url=https://example.com"
  3. Turn on JavaScript rendering

    Add render_js=1 to spin up headless Chrome and return the fully rendered DOM. Costs the same as a static fetch.

    Terminal window
    curl "https://scrape.shifter.io/v1?api_key=YOUR_API_KEY&url=https://example.com&render_js=1"
  4. Extract structured data

    Skip the HTML parser. Pass extract_rules as URL-encoded JSON and get JSON back:

    Terminal window
    curl "https://scrape.shifter.io/v1?api_key=YOUR_API_KEY&url=https://example.com&extract_rules=%7B%22title%22%3A%7B%22selector%22%3A%22h1%22%2C%22output%22%3A%22text%22%7D%7D"
    # {"title": "Example Domain"}