How to retrieve Magic Container IP Addresses

This guide explains how to retrieve the current list of Magic Containers IP addresses that run Magic Containers workloads on our edge-nodes. You can use the following IP addresses to whitelist Bunny.net traffic in your firewall or ACLs.

Warning: This list is dynamic, make sure to request it periodically to avoid missing newly added IPs.

Endpoint: GET https://api.bunny.net/mc/nodes

Authentication: None required.

Headers:

  • Accept (Optional): application/json → returns a JSON array instead of plain-text.

Responses:

  • text/plain with one IP address per line.
  • application/json containing an array of IP strings.

Quick examples: