Proxies

Create proxy list

Create a proxy and return its full canonical state, including the password

post/v1/proxy

Request

  • Base URL: https://api.2extract.com
  • URL: https://api.2extract.com/v1/proxy
  • Auth: API key in header X-API-Key

Request body

countriesinteger[]
descriptionstring
ip_whiteliststring[]
namestring
proxy_typestring
tariff_idinteger

Example request

{
  "countries": [
    225,
    84
  ],
  "description": "My personal proxy list",
  "ip_whitelist": [
    "192.168.1.1",
    "10.0.0.1"
  ],
  "limits": {
    "limit_type": "money",
    "time_period": "monthly",
    "total_limit": 100
  },
  "name": "myproxylist01",
  "proxy_type": "residential",
  "tariff_id": 1
}

Response

Created

errorstring
error_typestring
metaobject
resultboolean

Example response

{
  "data": {
    "countries": [
      225,
      84
    ],
    "created_at": "2025-01-11T00:00:00Z",
    "description": "My personal proxy list",
    "host": "mproxy.2extract.net",
    "id": "86Rf07",
    "ip_whitelist": [
      "192.168.1.1",
      "10.0.0.1"
    ],
    "last_used_at": "2025-01-11T10:30:00Z",
    "limits": {
      "limit_type": "money",
      "time_period": "monthly",
      "total_limit": 100
    },
    "name": "myproxylist01",
    "password": "qwerty",
    "port": 5555,
    "status": "active",
    "target_hosts_whitelist": [
      "example.com",
      "api.service.com"
    ],
    "tariff": {
      "id": 1,
      "name": "Residential 1GB",
      "price": 4.5,
      "traffic_available": 1000000000,
      "traffic_type": "package"
    },
    "total_spent": 25.5,
    "traffic_used": {
      "daily_used": 524288000,
      "monthly_used": 5242880000,
      "total_used": 15728640000
    },
    "type": "residential",
    "updated_at": "2025-01-11T00:00:00Z"
  },
  "result": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.