Generate dynamic proxies
Generate residential or mobile proxy credentials with country, state or city targeting; ASN targeting is available for residential proxies.
/api/ProxyLogic/GenerateOn this page
- Endpoint
- Authentication
- Bearer account API key
- Protocol
- HTTPS · text/plain
Workflow
-
Look up location values
Use Location/Search for country, state and city values, or GetAsnsByCountryCode for numeric ASNs.
-
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.
-
Read proxy lines
A successful request returns one proxy credential per line as text/plain.
Parameters
Examples
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
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/1.1 401 UnauthorizedFor 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
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.