Proxy Mode
WebScrapingAPI offers a proxy front-end to the API, making the integration with third-party tools much easier.
Interacting with BrowserAPI via the proxy mode only changes the access method with our API; apart from that, full functionality is still available to the end user. Both costs, parameters and response format remain the same.
Note that our proxy mode supports GET, POST and PUT requests.
Accessing the API via Proxy Mode
The Proxy Mode is available via:
HTTPS at
proxy.webscrapingapi.com:8000HTTP at
proxy.webscrapingapi.com:80
Authentication via proxy mode is done using the username:password@proxy.webscrapingapi.com:8000 method. However, the username part also holds the parameters you want to pass to your request. Hence, the configuration you need to pass to your request is:
Username:
webscrapingapi, followed by the parameters you want to pass to your request (separated by dots)Password: your personal API key
The most basic URL example for an authenticated request on our API via proxy mode is:
https://webscrapingapi.<parameter_1.parameter_2. ... .parameter_n>:<YOUR_API_KEY>@proxy.webscrapingapi.com:8000Proxy Mode Requirements and Recommendations
If you decide to use the proxy mode, please make sure you disable SSL certificates verification (-k switch in cURL, verify=false in Python etc.);
Proxy Mode Integration Examples
#1: GET Requests
#2: POST Requests
#3: PUT Requests
Last updated