GET   checks/port/locations?protocol={protocol}

Gets a list of all locations that are available for Port checks.

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/port/locations?protocol={protocol}&auth_ticket=C471ADC4-19B4-4219-BBF4-671A97EC653E"

Response body model example and description

[
  {
    "city": "Kiev",
    "operator": "",
    "protocol": "ipv4",
    "country_code": "ua",
    "country": "Netherlands",
    "location_code": "public|europe.northern-europe.se.na.stockholm.amazon",
    "location_tier": "3"
  },
  {
    "city": "Amsterdam",
    "operator": "DC1",
    "protocol": "ipv6",
    "country_code": "ua",
    "country": "Netherlands",
    "location_code": "public|asia.western-asia.ae.na.dubai.azure",
    "location_tier": "2"
  },
  {
    "city": "Dallas",
    "operator": "DC1",
    "protocol": "ipv4",
    "country_code": "ua",
    "country": "Ukraine",
    "location_code": "public|europe.northern-europe.se.na.stockholm.amazon",
    "location_tier": "2"
  }
]
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.