Generate proxies
curl --request POST \
--url https://proxies.vision/api/proxies/generate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"count": 10,
"country": "US",
"city": "New York",
"session_type": "rotating",
"protocol": "http",
"session_minutes": 30,
"asn": "7922"
}
'import requests
url = "https://proxies.vision/api/proxies/generate"
payload = {
"count": 10,
"country": "US",
"city": "New York",
"session_type": "rotating",
"protocol": "http",
"session_minutes": 30,
"asn": "7922"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 10,
country: 'US',
city: 'New York',
session_type: 'rotating',
protocol: 'http',
session_minutes: 30,
asn: '7922'
})
};
fetch('https://proxies.vision/api/proxies/generate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"count": 2,
"session_type": "sticky",
"country": "US",
"city": null,
"asn": null,
"proxies": [
"http://…@via.proxies.vision:10000",
"http://…@via.proxies.vision:10000"
]
}Proxies
Generate proxies
Ready proxy URLs for a country, city or network (ASN), rotating (new IP per connection) or sticky.
Permission: lines
POST
/
api
/
proxies
/
generate
Generate proxies
curl --request POST \
--url https://proxies.vision/api/proxies/generate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"count": 10,
"country": "US",
"city": "New York",
"session_type": "rotating",
"protocol": "http",
"session_minutes": 30,
"asn": "7922"
}
'import requests
url = "https://proxies.vision/api/proxies/generate"
payload = {
"count": 10,
"country": "US",
"city": "New York",
"session_type": "rotating",
"protocol": "http",
"session_minutes": 30,
"asn": "7922"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 10,
country: 'US',
city: 'New York',
session_type: 'rotating',
protocol: 'http',
session_minutes: 30,
asn: '7922'
})
};
fetch('https://proxies.vision/api/proxies/generate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"count": 2,
"session_type": "sticky",
"country": "US",
"city": null,
"asn": null,
"proxies": [
"http://…@via.proxies.vision:10000",
"http://…@via.proxies.vision:10000"
]
}Body
application/json
Response
200 - application/json
OK

