Beta Scrape API

Web Scraping API

Get the HTML of any public web page in one JSON answer.
  • Scrape any public website's content
  • Pay only for successful scrapes
  • JavaScript rendering in browser mode
Access on request during the beta.
          curl --get https://www.searchapi.io/api/v1/scrape \
  -d url="https://en.wikipedia.org/wiki/Web_scraping"
        

Scrape API Results

Receive the page's HTML in a JSON answer, in real time

Get the page's HTML, the status code the site sent, the final URL after redirects, the response headers and cookies, and what the scrape cost.

Scrape API Results
{
  "scrape_metadata": {
    "id": "scrape_m209QioR4JaxcQvdGslIOkxs",
    "status": "completed",
    "created_at": "2026-10-28T09:12:41Z",
    "request_time_taken": 1.84,
    "credits": 1
  },
  "target": {
    "status": 200,
    "final_url": "https://en.wikipedia.org/wiki/Web_scraping",
    "headers": {
      "content-type": [
        "text/html; charset=UTF-8"
      ],
      "content-language": [
        "en"
      ],
      "last-modified": [
        "Mon, 26 Oct 2026 19:21:31 GMT"
      ],
      "...": "..."
    },
    "cookies": [
      {
        "name": "WMF-Last-Access",
        "value": "07-Nov-2026",
        "is_secure": true,
        "is_http_only": true,
        "path": "/",
        "expires": "Wed, 09 Dec 2026 00:00:00 GMT"
      },
      "..."
    ]
  },
  "outputs": {
    "html": "<!DOCTYPE html>\n..."
  }
}

Developer experience

Easy integration

Integrating is as simple as making a GET HTTP request.

GET
https://www.searchapi.io/api/v1/scrape?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FWeb_scraping
Request
import requests

url = "https://www.searchapi.io/api/v1/scrape"
params = {
  "url": "https://en.wikipedia.org/wiki/Web_scraping"
}

response = requests.get(url, params=params)
print(response.text)

What You Get for Every Page

The page and everything the site sent with it

The Scrape API returns public web pages for sites that have no dedicated SearchApi engine.

Page HTML

The page's HTML, already decompressed.

Status Code and Final URL

The status code the site sent and the URL of the page that answered after redirects.

Headers and Cookies

The site's response headers with lowercase names, and the cookies it set, parsed, without expired ones.

Country

Send the request from the country you choose.

Sessions

Keep one IP address for up to 10 minutes with the same session id.

Your Own Requests

GET or POST, with your own headers, cookies and body.

Cost per Scrape

HTTP mode costs 1 credit, and browser mode with a stealth browser and JavaScript rendering costs 5. Each answer says what the scrape cost. A site's own server error and failed scrapes are free.

Zero Data Retention

Send zero_retention=true and no request, HTML or answer is stored or logged. Enterprise plans only.

Simple Pricing

Pricing plans

  • Pay per success
  • Built in location geo-targetting
  • Only premium proxies

Developer Plan

$4 per 1,000 searches

$40 / month

What's included
  • 10,000 Searches
  • 99.9% SLA

Production Plan

$3 per 1,000 searches

$100 / month

What's included
  • 35,000 Searches
  • Team Management
  • 99.9% SLA

BigData Plan

$2.5 per 1,000 searches

$250 / month

What's included
  • 100,000 Searches
  • Team Management
  • 99.9% SLA
  • Medium Throughput

Scale Plan

$2 per 1,000 searches

$500 / month

What's included
  • 250,000 Searches
  • Team Management
  • 99.9% SLA
  • High Throughput
  • Search Analytics

Trusted by industry leaders

Anthropic logo Bain & Company logo DataRails logo Scale AI logo Ahrefs logo Demyst logo

Get started with the Scrape API

Access on request during the beta. Pay only for successful scrapes.