Skip to content

Generate dynamic proxies

Generate residential or mobile proxy credentials with country, state or city targeting; ASN targeting is available for residential proxies.

GET/api/ProxyLogic/Generate
Endpoint
https://www.arcvenza.com/api/ProxyLogic/Generate
Authentication
Bearer account API key
Protocol
HTTPS · text/plain

Workflow

  1. Look up location values

    Use Location/Search for country, state and city values, or GetAsnsByCountryCode for numeric ASNs.

  2. Build the query

    Send MealType=basic for residential, then set quantity, gateway, session lifetime and optional exit location. The account API key identifies the user; the server selects BasicMainKey.

  3. Read proxy lines

    A successful request returns one proxy credential per line as text/plain.

Parameters

NameLocationTypeUseDescription
AuthorizationHEADERstringRequiredBearer <YOUR_API_KEY>.
MealTypeQUERYenumRequiredbasic for residential; mobile for mobile proxies.
NumQUERYintegerRequired1–10,000 proxy lines per request.
CountryQUERYstringOptionalExit country value from Location/Search, such as US. If omitted, the exit country is unrestricted and State, City and Asn are ignored.
StateQUERYstringOptionalState value returned for the selected country by Location/Search.
CityQUERYstringOptionalCity value returned for the selected state by Location/Search; send the returned value unchanged.
AsnQUERYintegerResidential onlyFor MealType=basic only: numeric ASN from GetAsnsByCountryCode, without AS; range 1–4294967295. Requires Country. Mobile proxies do not support ASN targeting.
LifeTimeQUERYintegerOptionalDefaults to 0 (rotating). A value from 1 to 120 adds a sticky session ID with that lifetime in minutes.
ServerQUERYenumOptionalConnection gateway: us, eu, as or smart; default us. Smart uses the shared gateway. This does not set the exit country.
FormatQUERYenumOptional0 host:port:user:pass; 1 user:pass@host:port; 2 user:pass:host:port.

Examples

Shell
curl -G 'https://www.arcvenza.com/api/ProxyLogic/Generate' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  --data-urlencode 'MealType=basic' --data-urlencode 'Num=1' \
  --data-urlencode 'Country=US' --data-urlencode 'Server=us' \
  --data-urlencode 'LifeTime=5' --data-urlencode 'Format=0'

Success response

200 · text/plain

Plain text
proxy-us.arcvenza.com:10000:<GENERATED_USERNAME>:<GENERATED_PASSWORD>

Error response

HTTP 401 means the account API key is missing, invalid, or reset. For HTTP 403, check that the key type and the requested operation are supported. Check the HTTP status before parsing the body.

HTTP
HTTP/1.1 401 Unauthorized

For JSON responses, check that code is 200 before using body. For a business error, read message and correct the request before retrying.

Troubleshooting and notes

  • Generated usernames and passwords are sensitive. Use the exact returned values. Region-specific routing still uses the residential BasicMainKey for metering.

AI integration prompt

text
Read the Arcvenza Markdown at https://www.arcvenza.com/docs/markdown/api/generate.md and use https://www.arcvenza.com/llms.txt to find related guides. Cite https://www.arcvenza.com/docs/api/generate for this page. Ask what I want to integrate, then identify the correct product, endpoint and authentication method. Confirm the required access before sending a live request through API Playground, and show how to supply credentials through environment variables. Indicate any account, plan or usage requirements and flag anything the docs do not establish.
Read this page with AI