Create Sandbox Key
create_sandbox_keyCreate a free throwaway sandbox API key seeded with $1000 fake credit to test Porkbun API calls, DNS changes, and renewals with no real charges or credentials.
Instructions
Instantly create a free SANDBOX API key — NO credentials or approval needed (works before you have any keys). Returns a pk1_sb_ / sk1_sb_ pair for a throwaway test account seeded with $1000 fake credit. Set the returned keys as PORKBUN_API_KEY / PORKBUN_SECRET_API_KEY (or pass them to any tool) and the whole API runs against an isolated sandbox: no real registry actions, DNS changes, certificates, or charges. Ideal for rehearsing register → DNS → renew end-to-end before using a live key. Optional name labels the key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional label/title for the sandbox key. | |
| scopes | No | Optional permissions for the sandbox key, as on a live key (`read` is always included). Omit for full access. Lets you test how your integration behaves with a restricted key. |