Get CDN IP Blocks

Retrieve a list of IPv4 and IPv6 blocks used by our CDN service.

Ensure that our CDN may communicate with your web servers by whitelisting these IP blocks on your firewall.

Request

A request to retrieve a list of IP blocks is described below.

HTTP Method Request URI

GET

https://api.transactcdn.com/v2/mcc/customers/superblocks

Request Headers

This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.

Request Body

Request body parameters are not required by this endpoint.

Response

The response to the above request includes an HTTP status code, response headers, and a response body.

Status Code

A status code indicates whether the request was successfully performed.

Response Headers

The response for this endpoint only includes standard HTTP response headers.

View common response headers.

Response Body

The response body for a successful request contains the following response elements:

Name Data Type Description

SuperBlockIPv4

Array of String Values

Contains a list of IPv4 blocks used by our CDN service.

SuperBlockIPv6

Array of String Values

Contains a list of IPv6 blocks used by our CDN service.

Errors

The response body for an unsuccessful request may contain an error element that provides additional information.

View common error messages.

Sample Request and Response (JSON)

A sample JSON request is shown below.

GET https://api.transactcdn.com/v2/mcc/customers/superblocks HTTP/1.1

Authorization: TOK:12345678-1234-1234-1234-1234567890ab

Accept: application/json

Content-Type: application/json

Host: api.transactcdn.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: 1255

{
	"SuperBlockIPv4": ["192.30.0.0\/19", "192.229.186.0\/24", "198.7.16.0\/24", "198.7.17.0\/24"],
	"SuperBlockIPv6": ["2606:2800:4006:0000:0000:0000:0000:0000\/48", "2606:2800:400a:0000:0000:0000:0000:0000\/48", "2606:2800:400b:0000:0000:0000:0000:0000\/48", "2606:2800:400d:0000:0000:0000:0000:0000\/48", "2606:2800:401a:0000:0000:0000:0000:0000\/48", "2606:2800:402a:0000:0000:0000:0000:0000\/48", "2606:2800:410a:0000:0000:0000:0000:0000\/48", "2606:2800:420a:0000:0000:0000:0000:0000\/48", "2606:2800:421a:0000:0000:0000:0000:0000\/48", "2606:2800:422a:0000:0000:0000:0000:0000\/48", "2606:2800:423a:0000:0000:0000:0000:0000\/48", "2606:2800:424a:0000:0000:0000:0000:0000\/48", "2606:2800:424b:0000:0000:0000:0000:0000\/48", "2606:2800:500a:0000:0000:0000:0000:0000\/48", "2606:2800:501a:0000:0000:0000:0000:0000\/48", "2606:2800:503a:0000:0000:0000:0000:0000\/48", "2606:2800:504a:0000:0000:0000:0000:0000\/48", "2606:2800:504b:0000:0000:0000:0000:0000\/48", "2606:2800:505a:0000:0000:0000:0000:0000\/48", "2606:2800:506a:0000:0000:0000:0000:0000\/48", "2606:2800:507a:0000:0000:0000:0000:0000\/48", "2606:2800:511a:0000:0000:0000:0000:0000\/48", "2606:2800:600a:0000:0000:0000:0000:0000\/48", "2606:2800:601a:0000:0000:0000:0000:0000\/48", "2606:2800:602a:0000:0000:0000:0000:0000\/48", "2606:2800:603a:0000:0000:0000:0000:0000\/48", "2606:2800:7015:0000:0000:0000:0000:0000\/48"]
}