Web Scraper API
Web Scraper API is designed to collect public data from any website.
Getting started
Create your API user credentials: Sign up for a free trial or purchase the product in the Oxylabs dashboard to create your API user credentials (USERNAME
and PASSWORD
).
If you need more than one API user for your account, please contact our customer support or message our 24/7 live chat support.
Request sample
We use synchronous Realtime integration method in our examples. If you would like to use Proxy Endpoint or asynchronous Push-Pull integration, refer to the integration methods section.
Request parameter values
source - This parameter sets the scraper that will be used to process your request.
URL - Provide the
URL
of the target you want to scrape, for example:Real Estate: Idealista, Redfin, Zillow, Zoopla
Travel: Airbnb, Agoda, Booking, TripAdvisor
Company data: Crunchbase, ZoomInfo, AngelList, Product Hunt
Entertainment: Netflix, SoundCloud, YouTube, IMDb
Automotive: AutoEurope, Autotrader, RockAuto, Halfords
Any other.
- mandatory parameter
Additional parameters
These are the parameters of our features.
Parameter | Description | Default Value |
---|---|---|
| Geo location of proxy used to retrieve the data. The complete list of the supported locations can be found here. | - |
|
| - |
| Define your own browser instructions that are executed when rendering JavaScript. More info. | - |
|
|
|
| Define your own parsing and data transformation logic that will be executed on an HTML scraping result. Read more: Parsing instructions examples. | - |
| Pass your own headers. Learn more here. | - |
| Pass your own cookies. Learn more here. | - |
| If you want to use the same proxy with multiple requests, you can do so by using this parameter. Just set your session to any string you like, and we will assign a proxy to this ID, and keep it for up to 10 minutes. After that, if you make another request with the same session ID, a new proxy will be assigned to that particular session ID. | - |
| Device type and browser. The full list can be found here. |
|
| Set it to |
|
| Base64-encoded | - |
| Set to |
|
| Set to | - |
| Define a custom HTTP response code (or a few of them), upon which we should consider the scrape successful and return the content to you. May be useful if you want us to return the 503 error page or in some other non-standard cases. | - |
Request sample
In this sample, we include some parameters from the table above. Note that while these parameters are not always necessary or compatible within the same request, they illustrate how to format your requests.
If you need any assistance in making your first request, feel free to contact us via the 24/7 available live chat.
Testing via Scraper APIs Playground
Login to Oxyabs dashboard and try Web Scraper API in the Scraper APIs Playground.
Testing via Postman
Get started with our API using Postman, a handy tool for making HTTP requests. Download our Web Scraper API Postman collection and import it. This collection includes examples that demonstrate the functionality of the scraper. Customize the examples to your needs or start scraping right away.
For step-by-step instructions, watch our video tutorial below. If you're new to Postman, check out this short guide.
All information herein is provided on an “as is” basis and for informational purposes only. We make no representation and disclaim all liability with respect to your use of any information contained on this page. Before engaging in scraping activities of any kind you should consult your legal advisors and carefully read the particular website’s terms of service or receive a scraping license.
Last updated