# Generate unlimited proxies

Generate proxy credentials for an active Unlimited Residential key.

- **Endpoint** `https://www.arcvenza.com/api/ProxyLogic/UnlimitedGenerate`
- **Authentication** `Bearer API key + unlimited key`
- **Protocol** `HTTPS · text/plain`

## Workflow

1. **Open an active plan**

   Send the account API key in Authorization and the active plan's unlimitedKey as KeyName.

2. **Build the query**

   Set quantity, optional location, session behavior, and output format.

3. **Read proxy lines**

   A successful request returns generated credentials as text/plain.

## Parameters

| Name | Location | Type | Use | Description |
| --- | --- | --- | --- | --- |
| `Authorization` | `HEADER` | `string` | Required | Bearer `<YOUR_API_KEY>`. |
| `Num` | `QUERY` | `integer` | Required | 1–1000 proxy lines per request under the public API contract. |
| `Country` | `QUERY` | `string` | Optional | Optional country code. |
| `State` | `QUERY` | `string` | Optional | Optional state or province. |
| `City` | `QUERY` | `string` | Optional | Optional city. |
| `Asn` | `QUERY` | `integer` | Optional | Numeric ASN from GetAsnsByCountryCode; requires Country. |
| `LifeTime` | `QUERY` | `integer` | Optional | Positive minutes add a sticky session. |
| `SessionTime` | `QUERY` | `string` | Optional | Nonzero value takes precedence over LifeTime for sticky sessions. |
| `Format` | `QUERY` | `enum` | Optional | 0 host:port:user:pass; 1 user:pass@host:port; 2 user:pass:host:port. |
| `KeyName` | `QUERY` | `string` | Required · Sensitive | An active unlimitedKey value. |

## Examples

### cURL

```bash
curl -G 'https://www.arcvenza.com/api/ProxyLogic/UnlimitedGenerate' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  --data-urlencode 'KeyName=<YOUR_UNLIMITED_KEY>' \
  --data-urlencode 'Num=1' --data-urlencode 'Country=US' \
  --data-urlencode 'LifeTime=5' --data-urlencode 'Format=0'
```

## Success response

`200 · text/plain`

```text
unlimited.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

- KeyName must reference an active Unlimited Residential key. Never share the generated request URL.

## Related resources

- [API reference](/docs/api)
- [Authentication](/docs/authentication#account-api-key)

## AI integration prompt

```text
Read the Arcvenza Markdown at https://www.arcvenza.com/docs/markdown/api/unlimited-generate.md and use https://www.arcvenza.com/llms.txt to find related guides. Cite https://www.arcvenza.com/docs/api/unlimited-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.
```

[Open API Playground](/docs/playground?endpoint=unlimited-generate#send-request)

[llms.txt](/llms.txt)

