circle-check
Documentation has been updated: see help center and changelog in one place.

Start using Web Unblocker

A beginner’s guide for purchasing and using Oxylabs Web Unblocker to bypass complex anti-bot measures.

Create an API user

Start by registering an account on the Oxylabs dashboardarrow-up-right. Purchase a pricing plan or opt for a free trial. Then, create an API user with custom credentials.

Make a cURL request

You can use this cURL code sample for testing:

curl 'https://sandbox.oxylabs.io/products/' -U 'USERNAME:PASSWORD' -x 'unblock.oxylabs.io:60000' -H 'x-oxylabs-geo-location: United States' -k

Change the USERNAME and PASSWORD to the API user credentials you’ve just created, paste the code into your terminalarrow-up-right (or any other setup), and run the command. This will send a basic request to sandbox.oxylabs.io/products using a random IP address from the United States.

Check out this video for a quick overview:

​Location and session parameters

If you want to make requests through a proxy server located in a specific country, refer to this Geo-locationarrow-up-right page in our documentation. ​

For Amazonarrow-up-right and Googlearrow-up-right targets, you should use different targeting options. All the geo-targeting settings are free of charge.

In case you need to control your session time for a particular IP address, you can find all the information on this Sessionarrow-up-right page.

Using headless browser

To enable JavaScript rendering of a page via the headless browserarrow-up-right feature, you must include the "X-Oxylabs-Render: html" with your requests.

When a target website requires specific browser actions to access data, such as clicking elements, inputting text, or scrolling pages, you can utilize browser instructionsarrow-up-right.


Head back to the dashboard

Last updated

Was this helpful?