Skip to main content

Teleport

Teleport is a feature that allows a testing device to be virtually relocated to a specific region to simulate and test user experiences and app behavior in that region. This feature is especially useful for testing geo-restricted content, location-based services, and other region-specific functionalities.

API endpoints to get IP addresses of all teleport nodes

To use the Teleport feature, TV Labs uses different nodes with unique IP addresses located in various regions around the world. To ensure these nodes can access your content, you may need to add these IP addresses to the allowlist of your server or CDN.

We provide two API endpoints that return a list of IP addresses for all available Teleport nodes. You can use these endpoints to programmatically update your allowlist as needed.

These API endpoints can return either a JSON object or plain text based on the Accept header in the request. All IP addresses returned are in CIDR (Classless Inter-Domain Routing) notation.

The JSON response contains an array of IPv4 or IPv6 addresses.

Example

Request:

curl -H "Accept: application/json" https://tvlabs.ai/api/teleport/ipv4

Response:

[
"209.97.136.116/32",
"3.28.158.141/32"
]

The plain text response contains a list of IP addresses separated by a newline.

Request:

curl -H "Accept: text/plain" https://tvlabs.ai/api/teleport/ipv4

Response:

209.97.136.116/32
3.28.158.141/32