Modules
Elixir client for the bunny.net API.
Account-level operations — affiliate details, audit logs, global search, and account management.
API key management. Lists the API keys associated with your account.
Account billing details and per-zone usage summaries.
Countries and their associated tax rates. Useful for configuring geo-blocking on pull zones.
DNS records within a zone. Records are nested under a Bunnyx.DnsZone — all
operations require the parent zone's ID.
DNS zones. bunny.net can host your domain's DNS alongside its CDN. A zone
represents a domain and contains DNS records managed through Bunnyx.DnsRecord.
Edge scripting — deploy and manage JavaScript/TypeScript code at the edge.
Error struct returned by all Bunnyx API calls.
Low-level HTTP layer. All API modules go through request/4 — they never
call Req directly. You shouldn't need to use this module unless you're
extending Bunnyx with unsupported endpoints.
CDN access logs and origin error logs.
Magic Containers — deploy and manage containerized applications at bunny.net's edge.
A Magic Containers application. Maps camelCase API fields to snake_case.
Shared helpers for converting snake_case attrs to API-format maps.
Pull zones are bunny.net's CDN distribution points. Each pull zone pulls content from your origin server and caches it across their global edge network.
A custom hostname attached to a pull zone, including SSL/cert state.
Cache purging. When you update content at your origin, the CDN keeps serving the old cached version until it expires. Purging forces edge servers to fetch the new version immediately.
Edge regions available on the bunny.net network. Useful for understanding pricing and geographic distribution.
S3-compatible storage client for bunny.net. Uses AWS Signature V4 signing
via Req's built-in put_aws_sigv4 step — no additional dependencies.
Bunny Shield — WAF, rate limiting, bot detection, and access control for pull zones. A Shield zone wraps a pull zone with security configuration.
A Shield zone configuration. Maps camelCase API fields to snake_case Elixir fields.
Account-wide statistics — bandwidth, cache hit rates, requests, origin traffic, and error breakdowns.
Edge storage lets you store and serve files directly from bunny.net's network, without needing your own origin server.
File or directory entry returned by Bunnyx.Storage.list/2.
Storage zones are the containers that hold files served through bunny.net's edge storage network. This module manages storage zones through the main API — creating, configuring, and deleting them.
Stream video management. Upload, manage, and deliver videos through bunny.net's Stream platform.
A collection in a Stream library. Collections organize videos into groups.
A video in a Stream library. Maps camelCase API fields to snake_case Elixir fields.
Stream video libraries. A video library is a container for videos that handles encoding, storage, and delivery through bunny.net's Stream platform.