πŸ”§ GonzoProxy API Documentation

Client Documentation

Version: 1.2 Status: Production Base URL: https://api.gonzoproxy.app/functions/v1/proxy-api


1. Authorization

All API requests require the x-api-key header.

How to get an API key:

  1. Open your GonzoProxy dashboard.

  2. Go to Settings β†’ API Keys.

  3. Create a new key.

  4. Use it in all API requests.

Required header:

x-api-key: <your_api_key>

Example request:

curl -sS \
  -H "x-api-key: sk_123456789" \
  "https://api.gonzoproxy.app/functions/v1/proxy-api/countries"

2. Proxy Generation

Endpoint

Method: POST Path: /generate

Full URL:


2.1 Request Parameters

Parameters are passed in the JSON body of the request.

Required Parameter

country Type: string

ISO country code (US) or full country name (United States)


Optional Parameters

state Type: string State or region

Example:

city Type: string City

Example:

zip Type: string ZIP code

Example:

isp Type: string Internet Service Provider name

Example:

sd_code Type: number Subdivision code (region code)


count Type: number

Number of proxies to generate.

Range:

Default:


rotation Type: boolean

IP rotation mode.

Default:


ttl Type: number

Session lifetime.

Example:


ttl_unit Type: string

TTL time unit.

Supported values:

Default:


format Type: string

Proxy string format in the response.

Default:

Supported formats:


login Type: string

Overrides the default username.


password Type: string

Overrides the default password.


rg_id Type: string

Additional sticky session parameter.


session_rand Type: string

Random seed for sticky sessions.


2.2 Request Example


2.3 Response Example


3. Filter Reference Endpoints

The API allows you to retrieve available countries, regions, cities, ZIP codes, and ISPs.


3.1 Get Countries

Method:

Endpoint:

Parameters:

Example request:

Example response:


3.2 Get States / Regions

Method:

Endpoint:

Required parameter:

Example request:

Response:


3.3 Get Cities

Method:

Endpoint:

Required parameter:

Optional parameter:

Examples:

Response:


3.4 Get ZIP Codes

Method:

Endpoint:

Required parameter:

Optional parameters:

Examples:

Response:


3.5 Get Internet Service Providers (ISP)

Method:

Endpoint:

Required parameter:

Optional parameters:

Examples:

Response:


4. API Response Codes

Error response format:


5. Rate Limits

Rate limit applies to:

Current limit:


6. Compatibility

This documentation reflects the current API behavior for version:

The API may receive updates without changes to the main structure.

Last updated