Skip to content

Porkbun Setup Guide

Connect your Porkbun account to import and track domains using the Porkbun JSON API.

Secret API key is shown only once

When you create a Porkbun API key, the Secret API Key is shown only once. Copy it before leaving the page. If you lose it, you will need to regenerate both keys.

Before you start

Approval time
Instant
API eligibility
Standard account with API access enabled
IP whitelisting
Not required
Token expiry
Never
Setup difficulty
Easy

Credential fields

Domainion will ask for these fields when you connect your Porkbun account.

Field Description
API Key
Secret API Key

How to generate credentials in Porkbun

  1. 1 Sign in to Porkbun and go to Account > API Access.
  2. 2 Enable API access if it is not already enabled.
  3. 3 Click Create API Key.
  4. 4 Copy both the API Key and the Secret API Key immediately — the secret is shown only once. Store both values somewhere safe before leaving the page.
  5. 5 Paste both keys into Domainion's credential form.

Open Porkbun API settings →

How to connect credentials in Domainion

  1. 1 Sign in to Domainion and go to Registrars in the left sidebar.
  2. 2 Find the Porkbun card and click Configure.
  3. 3 Fill in the credential fields and click Save Credentials.
  4. 4 Click Sync Domains to import your domains immediately, or wait for the next automatic daily sync.

Sync behaviour

Domainion syncs your domain list from Porkbun once per day automatically. You can also trigger a manual sync at any time from the Registrars page.

Each sync imports your domain names, expiry dates, and auto-renew status.

Auto-renew: You can toggle auto-renew for each domain directly in Domainion. Changes are sent to Porkbun immediately.

Troubleshooting

Authentication error on sync
Ensure API access is enabled on your Porkbun account and that both the API Key and Secret API Key are entered correctly. If you lost your Secret API Key, regenerate both keys in Porkbun and update Domainion.
Domains do not appear after sync
Confirm the Porkbun account linked to these credentials is the one that owns the domains you expect to see.

References

Last verified: 2026-05-20

Confirm deletion