GET   checks/command-v2/locations?protocol={protocol}

Gets a list of all locations that are available for Command checks (version 2).

URL Parameters

NameDescription
protocol

Allows to filtrate locations by supported protocol. Not required. Allowed values: ipv4, ipv6, dual. Filtration is disabled if the value is not set.

Request example

curl --request GET "https://api-asm1.apica.io/v3/checks/command-v2/locations?protocol={protocol}&auth_ticket=C471ADC4-19B4-4219-BBF4-671A97EC653E"

Response body model example and description

[
  {
    "city": "Amsterdam",
    "operator": "DC1",
    "protocol": "ipv4, ipv6",
    "country_code": "nl",
    "country": "Ukraine",
    "location_code": "2e4efc13-6a6a-2222-a6aa-ec4eb154fb2b|north-america.na.us.west.los-angeles|chromium|74",
    "location_tier": "1+"
  },
  {
    "city": "Amsterdam",
    "operator": "",
    "protocol": "ipv4",
    "country_code": "nl",
    "country": "Ukraine",
    "location_code": "2e4efc13-6a6a-2222-a6aa-ec4eb154fb2b|north-america.na.us.west.los-angeles|chromium|74",
    "location_tier": "2"
  },
  {
    "city": "Amsterdam",
    "operator": "Virginia OP1",
    "protocol": "ipv4",
    "country_code": "ua",
    "country": "Netherlands",
    "location_code": "2e4efc13-7777-45ba-a6aa-ec4231f4fb2b|europe.western-europe.nl.na.amsterdam|chromium|23",
    "location_tier": "3"
  }
]
NameType Description
city String

City.

operator String

Operator.

protocol String

IP protocol.

country_code String

Country code.

country String

Country.

location_code String

Location code.

location_tier String

Location tier.