Skip to main content
GET
/
connect
/
proxies
JavaScript
import Mobilerun from '@mobilerun/sdk';

const client = new Mobilerun();

const proxies = await client.connect.proxies.list();

console.log(proxies.items);
{
  "items": [
    {
      "country": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "host": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "port": 123,
      "type": "dedicated_residential",
      "username": "<string>"
    }
  ],
  "pagination": {
    "hasNext": true,
    "hasPrev": true,
    "page": 123,
    "pageSize": 123,
    "pages": 123,
    "total": 123
  }
}

Query Parameters

page
integer
default:1

Page number (1-based).

Required range: x >= 1
pageSize
integer
default:20

Number of items per page.

Required range: 1 <= x <= 100
country
string<country-code>

Filter to proxies in this country (ISO 3166-1 alpha-2, lowercase).

Response

The caller's proxies, without credentials.

A page of proxies.

items
object[]
required
pagination
object
required

Pagination metadata for a list response.