Skip to main content
To authenticate requests, include your API key in the request headers.
HeaderValue
AccessKeyYour API key
The API key is required for performing account-specific actions, such as managing zones or other resources. You can have only one API key associated with your account, which can be viewed anytime in the dashboard.
You can learn how to locate your API key in the dashboard.
The Stream and Edge Storage APIs use the same AccessKey header, but require their own credentials. Use the library API key for Stream, or the storage zone password for Edge Storage, instead of your account API key.

Example

curl --request GET \
  --url https://api.bunny.net/dnszone \
  --header 'AccessKey: YOUR_API_KEY'
Ensure your API key is stored securely and never shared publicly to prevent unauthorized access to your account.