Skip to main content
GET
Generate custom endpoints

Query Parameters

proxy_type
enum<string>
default:residential_proxies

Proxy service type. shared_proxies is the deprecated Datacenter pay-per-GB product.

Available options:
residential_proxies,
shared_proxies
auth_type
enum<string>
default:basic

Proxy authentication method. With whitelist, the connection strings contain no credentials (Residential only).

Available options:
basic,
whitelist
username
string

Sub-user username. Required when auth_type is basic or proxy_type is shared_proxies.

password
string

Sub-user password. Required when auth_type is basic or proxy_type is shared_proxies.

session_type
enum<string>
default:sticky

sticky keeps the same IP for session_time minutes, random rotates the IP on every request.

Available options:
sticky,
random
session_time
integer
default:10

Sticky session duration in minutes. Used for Residential sticky sessions with basic authentication.

Required range: 1 <= x <= 1440
location
string
default:random

Entry point location, in lowercase with spaces replaced by _: random, or a location code of a Residential entry point such as a country Alpha-2 code (us). For entry points dedicated to states or cities, the code can also be prefixed with state_ or city_.

output_format
enum<string>
default:protocol:auth@endpoint

Layout of each connection string.

Available options:
protocol:auth@endpoint,
endpoint:auth,
auth@endpoint
count
integer
default:10

Number of connection strings to return. For sticky sessions, count × page cannot go past the entry point's port range.

Required range: x >= 1
page
integer
default:1

Page of connection strings, used with count.

Required range: x >= 1
response_format
enum<string>
default:json

json returns a JSON array. txt returns one connection string per line separated by line_break, html separates them with <br>; both are sent as text/html.

Available options:
json,
txt,
html
line_break
enum<string>
default:\n

Separator for response_format=txt, written as an escape sequence (a backslash followed by n, r or t), not as a control character.

Available options:
\n,
\r\n,
\r,
\t
domain
string
default:decodo.com

Domain used in the hostnames, replacing decodo.com. Use ip to put an IP address (see ip) instead of the hostname.

ip
string

IP address used instead of the hostname. Required when domain is ip.

Response

Generated connection strings.