Datacenter Proxies
Scrapingdog's datacenter proxies let you use a standard HTTP proxy configuration instead of the REST API. All requests are forwarded to the same web scraping backend. Configure your HTTP client to route through proxy.scrapingdog.com:8081 using your API key as the password.
Important: Configure your code to disable SSL verification and use http:// for the target URL.
Endpoint:
http://proxy.scrapingdog.com:8081 Proxy format:
http://scrapingdog:[email protected]:8081API Parameters
🔌
Proxy Configuration
HostRequiredproxy.scrapingdog.com
Type: StringPortRequired8081
Type: IntegerUsernameRequiredscrapingdog
Type: StringPasswordRequiredYour personal API key from your dashboard.
Type: String
API Examples
Code to Integrate
curl -x "http://scrapingdog:[email protected]:8081" -k "https://httpbin.org/ip"
import requests proxy_url = "http://scrapingdog:[email protected]:8081" target_url = "https://httpbin.org/ip" proxies = { "http": proxy_url, "https": proxy_url, } response = requests.get(target_url, proxies=proxies, verify=False) print(response.text)
const axios = require('axios'); const config = { method: 'get', url: 'https://httpbin.org/ip', proxy: { host: 'proxy.scrapingdog.com', port: 8081, auth: { username: 'scrapingdog', password: 'APIKEY', }, }, }; axios(config) .then(response => console.log(response.data)) .catch(error => console.error(error));
<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://httpbin.org/ip"); curl_setopt($ch, CURLOPT_PROXY, "http://scrapingdog:[email protected]:8081"); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); echo curl_exec($ch); curl_close($ch);