Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 973 Bytes

File metadata and controls

47 lines (37 loc) · 973 Bytes
title IP Addresses
description You can use the following IP addresses to whitelist Bunny.net traffic in your firewall or ACLs.

The API provides two endpoints for retrieving Magic Containers node IP addresses: https://api.bunny.net/mc/nodes returns a JSON array, and https://api.bunny.net/mc/nodes/plain returns plain text with one IP per line.

The list returned from the API is dynamic, make sure to request it periodically to avoid missing newly added IPs.
curl -H "Accept: application/json" https://api.bunny.net/mc/nodes
curl https://api.bunny.net/mc/nodes/plain
{
  "items": [
    "104.166.147.46",
    "109.61.83.105",
    "109.61.83.248"
  ],
  "meta": {
    "totalItems": 3
  },
  "cursor": "<string>"
}
104.166.147.46
109.61.83.105
109.61.83.248