The Proxy service allows sending HTTP requests to any URL from random IP addresses (up to 50 different ones). Ideal in situations where you don't want all your requests to come from the same IP address – for example, when analyzing websites, testing geo-located content, or preventing blocking due to excessive traffic from a single IP.
The price is for one request up to 1 MB in size. For each additional started MB, there is a surcharge of 200 credits.
curl -H "Content-Type: application/json" https://datasqueezer.com/nexus/createTask -d '{ "token": "__API_TOKEN__", "service": "proxy", "data": "__URL__", "serviceParams": { "login": "__HTTP_LOGIN__", "password": "__HTTP_PASSWORD__" } }'
NAME DESCRIPTION REQUIRED PARAMETER __URL__ The URL address whose content you want to download yes __HTTP_LOGIN__ HTTP basic auth login no __HTTP_PASSWORD__ HTTP basic auth password no
import requests
import jsonendpoint = 'https://datasqueezer.com/nexus/createTask'
data = {
'token': '__API_TOKEN__',
'service': 'proxy',
'data': '__URL__',
'serviceParams': {
'login': '__HTTP_LOGIN__',
'password': '__HTTP_PASSWORD__'
}
}response = requests.post(endpoint, data=json.dumps(data))
| NAME | DESCRIPTION | REQUIRED PARAMETER |
| __URL__ | The URL address whose content you want to download | yes |
| __HTTP_LOGIN__ | HTTP basic auth login | no |
| __HTTP_PASSWORD__ | HTTP basic auth password | no |
$curlHandle=curl_init("https://datasqueezer.com/nexus/createTask");
$data=[
'token' => '__API_TOKEN__',
'service' => 'proxy',
'data' => '__URL__',
'serviceParams' => [
'login' => '__HTTP_LOGIN__',
'password' => '__HTTP_PASSWORD__'
],
];curl_setopt($curlHandle, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($curlHandle, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($curlHandle, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curlHandle, CURLOPT_FOLLOWLOCATION, true);$response=curl_exec($curlHandle);
$error_msg=curl_error($curlHandle);
curl_close($curlHandle);
| NAME | DESCRIPTION | REQUIRED PARAMETER |
| __URL__ | The URL address whose content you want to download | yes |
| __HTTP_LOGIN__ | HTTP basic auth login | no |
| __HTTP_PASSWORD__ | HTTP basic auth password | no |