Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.
Beta

Web Scraper API (Beta)

Web Scraper API returns the content of public web pages, Google search results, and images through a single HTTPS endpoint. You send the target, and IPRoyal handles proxies, browser rendering, and other technical challenges of collecting public web data.

Billing is based on credits. A successful request costs one credit. A failed request costs nothing.

What You Can Scrape

Source
Use It For
You Receive

universal

Any public web page

The page HTML, or structured JSON when parse is on

google

Google search results

Search results as JSON

image

An image file at a known URL

The image as a Base64 string

Use Web Scraper API only for public web data, as defined in the IPRoyal Acceptable Use Policy.

How It Works

  1. Your application sends a POST request to https://scrape.iproyal.com/v1/scrape with the source and the target.

  2. IPRoyal loads the target through a proxy, in the country you choose.

  3. The response contains the content and the HTTP status the target website returned.

  4. One credit is charged if the content was delivered. Otherwise, the credit is returned.

Credits

  • Every source costs the same: one credit per successful request.

  • Requests rejected before scraping starts never use credits. This covers validation, authentication, balance, and concurrency limit errors.

  • When your balance reaches zero, scrape requests return 402 insufficient_credit.

  • Purchase credits in the IPRoyal dashboard.

Next Steps

Last updated

Was this helpful?