List Locations by Platform

GET https://api.dotcom-monitor.com/config_api_v1/locations/{platform_name}

Get a list of locations (Monitoring Agents) available for the specified platform. If you request a list of monitoring agents using this method, the result will contain a list of agents for a package with a lowest “Package_Id”. Check how to request platform and package information for your account here.

Path Parameters

Field Type Required Description
platform_name

string

true

The Monitoring Platform Name.

 

Potential values:
Platform platform_name
BrowserView browserview
MetricsView metricsview
ServerView serverview
WebView webview

List Locations by Package

GET https://api.dotcom-monitor.com/config_api_v1/frequencies/{platform_name}/{package_id}

Get available monitoring locations by specific package of the specified monitoring platform .

Path Parameters

Field Type Required Description
platform_name

string

true

The Monitoring Platform name.

 

Potential values:
Platform platform_name
BrowserView browserview
MetricsView metricsview
ServerView serverview
WebView webview
package_id

string

true

The unique id of the package  (available within your subscription plan for the specified platform). Check how to request info on available packages within a specific platform here.
Example request URL

https://api.dotcom-monitor.com/config_api_v1/locations/serverview/52

Success Response

Example Response
[
    {
        "Id": 1,
        "Name": "Minneapolis",
        "Available": true,
        "IsDeleted": false,
        "IsPrivate": false
    },
    {
        "Id": 2,
        "Name": "New York",
        "Available": true,
        "IsDeleted": false,
        "IsPrivate": false
    },
....
]