Skip to main content
GET
Generate proxies
Turn a single proxy template (with whatever targeting and session settings you want) into a list of formatted proxy strings.
No authentication required. genProxy is a pure formatter — it expands your template into the requested count and output format. It does not validate your credentials, your targeting, or that the resulting proxies actually work; it just reformats whatever template you pass in. Test the output with a real request (see Quickstart).

Query parameters

proxy
string
required
URL-encoded proxy template in the form username:password:host:port. The username can contain all the geo/session/ASN segments you want: see Residential setup.The port in the template determines the session type. The example below uses :10000 (sticky) with a -session- segment. For rotating proxies, use the rotating port (:9000 for Residential HTTP) and omit the -session- segment. See Residential ports.
format
string
required
Output format string. Token reference: , h → host , pt → port , u → username , ps → passwordExamples: h:pt:u:ps produces host:port:username:password.
amount
number
required
Number of proxies to return. Maximum 1000 per request (the response is capped at 1000 lines). To generate more, page across multiple calls — e.g. vary the -session- segment per batch.

Example request

The %3A is URL-encoded :: needed because the proxy template itself contains colons.

Response format

The response is plain text (text/plain), one proxy per line, newline-delimited — not JSON. Split on newlines to get the list (this is why the examples below use .text.splitlines() / .split("\n")).
Each line follows the format string you passed. The response contains at most 1000 lines (see amount).

Generating across many countries

Loop the request: one call per country, then concatenate:

Rotating sessions on demand

To force a new IP on a sticky session, change the session- segment in the proxy template before regenerating. Same session ID returns the same IP; new session ID returns a new IP.

Use cases

  • Bulk generation: get 100 proxies at once for a scrape job
  • Format conversion: generate the same logical proxy in multiple formats for different tools
  • Per-session batching: append a random session ID, request amount=N, get N unique sticky sessions