Retrieves a comprehensive list of edge nodes (i.e., POPs). This list includes metadata describing each edge node, such as its location and IP blocks.
Although this endpoint returns IP blocks for each POP, the recommended method for retrieving the set of IP blocks that should be whitelisted on your firewall is to use the Get CDN IP Blocks endpoint.
A request to retrieve a list of edge nodes is described below.
HTTP Method | Request URI |
---|---|
GET |
https://api.edgecast.com/v2/mcc/customers/AccountNumber/edgenodes |
Define the following variable when submitting the above request.
VariableA variable represents a value that must be replaced. A variable consists of either a URL segment (e.g., "0001" in /0001/) or a query string value (e.g., "3" in mediaTypes=3). | Description |
---|---|
Required |
|
This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.
Request body parameters are not required by this endpoint.
The response to the above request includes an HTTP status code, response headers, and a response body.
A status code indicates whether the request was successfully performed.
The response for this endpoint only includes standard HTTP response headers. View common response headers.
The response body for a successful request contains the following response parameters for each edge node (i.e., POP) returned by this endpoint:
Name | Data Type | Description |
---|---|---|
Code |
String |
Identifies an edge node by its three letter abbreviation. |
Continent |
String |
Indicates the continent on which the edge node is located. |
City |
String |
Indicates the city where the edge node is located. |
V4 |
Array |
Lists each public IP block (IPv4) associated with an edge node. |
IPAddressRange |
|
This tag represents a single IP block (IPv4) associated with an edge node. |
StartIp |
String |
V4 array Indicates the start IP address of the IP block (IPv4) associated with an edge node. |
EndIp |
String |
V4 array Indicates the end IP address of the IP block (IPv4) associated with an edge node. |
SubnetMask |
String |
V4 array Indicates the edge node's IPv4 subnet mask. A routing prefix is used to identify a subnet mask. |
V6 |
Array |
Lists each public IP block (IPv4) associated with an edge node. |
IPAddressRange |
|
This tag represents a single IP block (IPv6) associated with an edge node. |
StartIp |
String |
V6 array Indicates the start IP address of the IP block (IPv6) associated with an edge node. |
EndIp |
String |
V6 array Indicates the end IP address of the IP block (IPv6) associated with an edge node. |
SubnetMask |
String |
V6 array Indicates the edge node's IPv6 subnet mask. A routing prefix is used to identify a subnet mask. |
The response body for an unsuccessful request may contain an error parameter that provides additional information.
A sample JSON request is shown below.
GET https://api.edgecast.com/v2/mcc/customers/0001/edgenodes HTTP/1.1
Authorization: TOK:12345678-1234-1234-1234-1234567890ab
Accept: application/json
Host:api.edgecast.com
A sample JSON response is shown below.
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Date: Thu, 15 Apr 2021 12:00:00 GMT
Content-Length: 819
[{ "Code" : "OXR", "Continent" : "North America", "City" : "Los Angeles", "V4" : [{ "StartIp" : "192.229.130.0", "EndIp" : "192.229.130.255", "SubnetMask" : "24" }, { "StartIp" : "192.229.131.0", "EndIp" : "192.229.131.255", "SubnetMask" : "24" } ], "V6" : [{ "StartIp" : "2606:2800:4001:0000:0000:0000:0000:0000", "EndIp" : "2606:2800:4001:ffff:ffff:ffff:ffff:ffff", "SubnetMask" : "48" } ] }, { "Code" : "CPM", "Continent" : "North America", "City" : "Los Angeles", "V4" : [{ "StartIp" : "108.161.248.0", "EndIp" : "108.161.249.254", "SubnetMask" : "23" } ], "V6" : [{ "StartIp" : "2606:2800:4004:0000:0000:0000:0000:0000", "EndIp" : "2606:2800:4005:ffff:ffff:ffff:ffff:ffff", "SubnetMask" : "47" } ] } ]
A sample XML request is shown below.
GET https://api.edgecast.com/v2/mcc/customers/0001/edgenodes HTTP/1.1
Authorization: TOK:12345678-1234-1234-1234-1234567890ab
Accept: application/xml
Host:api.edgecast.com
A sample XML response is shown below.
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Date: Thu, 15 Apr 2021 12:00:00 GMT
Content-Length:
<ArrayOfEdgeNodeGetResult xmlns="http://www.whitecdn.com/schemas/apiservices/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <EdgeNodeGetResult> <Code>OXR</Code> <Continent>North America</Continent> <City>Los Angeles</City> <V4> <IPAddressRange> <StartIp>192.229.130.0</StartIp> <EndIp>192.229.130.255</EndIp> <SubnetMask>24</SubnetMask> </IPAddressRange> <IPAddressRange> <StartIp>192.229.131.0</StartIp> <EndIp>192.229.131.255</EndIp> <SubnetMask>24</SubnetMask> </IPAddressRange> </V4> <V6> <IPAddressRange> <StartIp>2606:2800:4001:0000:0000:0000:0000:0000</StartIp> <EndIp>2606:2800:4001:ffff:ffff:ffff:ffff:ffff</EndIp> <SubnetMask>48</SubnetMask> </IPAddressRange> </V6> </EdgeNodeGetResult> <EdgeNodeGetResult> <Code>CPM</Code> <Continent>North America</Continent> <City>Los Angeles</City> <V4> <IPAddressRange> <StartIp>108.161.248.0</StartIp> <EndIp>108.161.249.254</EndIp> <SubnetMask>23</SubnetMask> </IPAddressRange> </V4> <V6> <IPAddressRange> <StartIp>2606:2800:4004:0000:0000:0000:0000:0000</StartIp> <EndIp>2606:2800:4005:ffff:ffff:ffff:ffff:ffff</EndIp> <SubnetMask>47</SubnetMask> </IPAddressRange> </V6> </EdgeNodeGetResult> </ArrayOfEdgeNodeGetResult>