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
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
Your application sends a
POSTrequest tohttps://scrape.iproyal.com/v1/scrapewith the source and the target.IPRoyal loads the target through a proxy, in the country you choose.
The response contains the content and the HTTP status the target website returned.
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
Making a Request - send your first request and handle the response
API - endpoints, parameters, and error codes
Supported Countries - country codes for
geo_location
Last updated
Was this helpful?