Connect Porkbun
This guide walks you through enabling API access on your Porkbun account and connecting it to Tidy Names to sync your domains automatically.
Prerequisites
- A Porkbun account with one or more domains
- A Tidy Names account with an organisation set up
Step 1: Enable API Access
Porkbun requires you to enable API access on your account before you can generate keys. You also need to enable API access for each individual domain you want Tidy Names to manage.
Generate Your API Keys
- Log in to Porkbun - API Access
- If API access is not yet enabled, toggle it on
- Click Create API Key
- Copy both the API Key and the Secret API Key. The API Key starts with
pk1_and the Secret starts withsk1_
For more details, see Porkbun's API documentation.
Enable API Access per Domain
Porkbun requires API access to be enabled on each domain individually. In your Porkbun Domain Management page:
- Click the Details dropdown next to a domain
- Find the API Access toggle and enable it
- Repeat for each domain you want to appear in Tidy Names
Note: Domains without API access enabled will not appear in Tidy Names even if the connection is working correctly.
Step 2: Add the Connection in Tidy Names
- In Tidy Names, go to Connections in the sidebar
- Click Add Connection
- Select Porkbun from the registrar list
- Paste your API Key (
pk1_...) into the API Key field - Paste your Secret API Key (
sk1_...) into the Secret API Key field - Optionally set a Display Name
- Click Test Connection - you should see a success message
- Click Save Connection
Tidy Names will immediately start importing your domains that have API access enabled.
Step 3: Verify Your Domains
After saving the connection, go to the Domains page. You should see your Porkbun domains listed with:
- Domain name and status
- Expiry date
- Auto-renew setting
- Nameservers
Troubleshooting
Test Connection fails
- Ensure you copied the full keys including the
pk1_andsk1_prefixes - Verify API access is enabled on your account at porkbun.com/account/api
Missing domains
- Check that API Access is enabled for each domain individually in your Porkbun domain management page
- Newly registered domains may take a few minutes to become available via the API
Revoking access
- In Tidy Names: Go to Connections and remove the Porkbun connection
- In Porkbun: Go to API Access and delete the API key, or disable API access entirely
Next Steps
- Managing Connections - sync status, manual syncs, and troubleshooting
- Email Security - check SPF, DMARC, and DKIM for your imported domains
- Organise with Tags - categorise your domains for easy filtering