API Documentation

Authentication

The Fastproxy API uses API keys to authenticate requests. You can view and manage your API keys in the Dashboard.

Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.

Authentication to the API is performed via HTTP Bearer auth or providing "token" GET parameter. Provide your API key as the bearer auth token.

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

cURL Example
curl https://fastproxy.io/api/proxies/list \
  -H "Authorization: Bearer API_KEY_HERE"

# or using GET parameter

curl https://fastproxy.io/api/proxies/list?token=API_KEY_HERE

Get Proxy List

To get whole proxy list, call Proxy List endpoint.

List returns every live proxy found in last 12 hours. To filter proxy list by your needs, check optional parameters below.

Optional Parameters
Parameter Type Description
age Integer Filter proxies by age (in minutes). Example, find all live proxies found in last 5 minutes.
anonymity String Filter proxies by anonymity. Available options: transparent, anonymous, high
speed Integer Filter proxies by connection speed (milliseconds). Filter proxies connection speed. Example, find all proxies that loads page faster than 2000 milliseconds.
country String Filter proxies by country name.
country_code String Filter proxies by country code.
Base URL
https://fastproxy.io/api/proxies/list
Example Response
{
  "success": true,
  "proxies": [
    {
      "ip": "159.138.21.170",
      "port": 80,
      "country": "United States",
      "country_code": "US",
      "anonymity": "High Anonymous",
      "speed": 2104,
      "created_at": "2020-03-04 21:39:08"
    },
    ...
  ]
}

Get Random Proxy

To get random proxy, call Random Proxy endpoint.

Endpoint returns single proxy. To filter proxy by your needs, check optional parameters below.

Optional Parameters
Parameter Type Description
age Integer Filter proxies by age (in minutes). Example, find all live proxies found in last 5 minutes.
anonymity String Filter proxies by anonymity. Available options: transparent, anonymous, high
speed Integer Filter proxies by connection speed (milliseconds). Filter proxies connection speed. Example, find all proxies that loads page faster than 2000 milliseconds.
country String Filter proxies by country name.
country_code String Filter proxies by country code.
Base URL
https://fastproxy.io/api/proxies/random
Example Response
{
  "success": true,
  "proxy": {
    "ip": "159.138.21.170",
    "port": 80,
    "country": "United States",
    "country_code": "US",
    "anonymity": "High Anonymous",
    "speed": 2104,
    "created_at": "2020-03-04 21:39:08"
  }
}