Skip to main content
The Scripting API lets you manage edge scripts programmatically. Create scripts, configure deployments, and monitor execution via HTTP.

Base URL

https://api.bunny.net

Authentication

Authenticate using the AccessKey header with your account API key:
curl --request GET \
  --url https://api.bunny.net/compute/script \
  --header 'AccessKey: YOUR_API_KEY'
Find your API key in the account settings under API Keys.

Script Types

Edge Scripting supports two script types:
  • Standalone — Handle requests directly without an origin server
  • Middleware — Intercept and modify requests/responses flowing through a pull zone
See the Edge Scripting documentation for details on each type.

SDKs