jcrabapple/hermes-skills/porkbun-domain-api
Claude Code and agent skill by jcrabapple/hermes-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when registering or managing domains via Porkbun's API.
Install
npx vskill@latest install jcrabapple/hermes-skills/porkbun-domain-apiSKILL.md
The same SKILL.md was published earlier as jcrabapple/hermes-skills/porkbun-domain-api.
Porkbun Domain API
Register and manage the user's domains through the Porkbun API. Battle-tested 2026-08-22 on feedecho.net (orderId 11439409).
When to Use
- the user asks to register, renew, or manage a domain and wants it done via API.
- Any task touching domain availability, pricing, DNS records, or registrar settings on Porkbun.
- Choosing a registrar: this skill documents which TLDs and endpoints work where (Porkbun vs Cloudflare vs Internet.bs).
Credentials
PORKBUN_API_KEY/PORKBUN_SECRET_KEYlive in Infisical (dev env, projectaf3b8a09-35ab-4acc-b0ea-c4ef2201eb29).- Load without printing values:
API v3.15 Flow (current shape)
Base: https://api.porkbun.com/api/json/v3
- Check availability + price (also verifies credentials):
POST /domain/checkDomain/{domain} with {"apikey": ..., "secretapikey": ...} Returns avail: yes/no, price in USD, premium: yes/no.
- Dry run (rehearse a billable op without charging):
POST /domain/create/{domain} with {"apikey", "secretapikey", "cost": <price in PENNIES>, "agreeToTerms": "yes", "dryRun": true} Runs all pre-flight checks, returns wouldSucceed and cost. Always do this first.
- Register:
Same call without dryRun. cost = price x 100 as int (e.g. $12.52 -> 1252).
- Verify:
POST /domain/listAllwith{"start": "0", "includeLabels": "no"}. Check the domain row:status: ACTIVE,whoisPrivacy: "1",autoRenew: "1",securityLock.
Prerequisites (both caused 400s in real use)
- Account email AND phone must be verified (porkbun.com/account). Unverified account returns
VERIFICATION_REQUIRED. - Prepaid account credit required for API orders (card on file is not enough). Top-up at porkbun.com/account -> Billing -> Add Funds. Tiers: $10 / $25 / $50 / $100.
Pitfalls
- The old create shape is dead:
POST /domain/createwith{"name": ..., "years": ...}returns HTTP 500 with an empty openresty body (no JSON). The domain goes in the PATH now:/domain/create/{domain}, andyearsis gone, replaced bycost+agreeToTerms. - `pricing/get` keys are DOTLESS:
pricing["net"], notpricing[".net"]. A grep for".sh"misses the.shTLD entirely (it's key"sh"). Porkbun does sell .sh: ~$31.20 reg / $46.65 renewal. - Full docs (LLM-friendly, includes all endpoints, changelog): https://porkbun.com/llms-full.txt and https://porkbun.com/api/json/v3/spec. Read these before guessing endpoint shapes.
- Sandbox keys (
pk1_sb_/sk1_sb_) exist for testing without charges; real keys arepk1_/sk1_. - Idempotency-Key header supported on POSTs; retries within 24h return the cached response.
Registrar fallbacks (both hit dead ends for .sh in Aug 2026)
- Cloudflare Registrar API: availability check is
POST /client/v4/accounts/{account_id}/registrar/domain-checkwith{"domains": [...]}. Needs an API token with Account > Registrar > Edit..shreturnsextension_not_supported_via_api(dashboard-only)..com/.network viaPOST .../registrar/registrations— see https://developers.cloudflare.com/api/resources/registrar/. - Internet.bs: prepaid balance, simple GET API at https://api.internet.bs (params
ApiKey+Password,ResponseFormat=JSONfor JSON). Quirks:.shcosts $94.99/yr there (3x market; check/Account/PriceList/Getwithversion=2first); contact params are lowercase underscore (registrant_firstname,registrant_streetNOTaddress1); tech prefix istechnical_nottech_;Period=1Yformat. Balance via/Account/Balance/Get. the user has an account with $35 unused balance; keys in Infisical asINTERNETBS_API_KEY/INTERNETBS_API_PASSWORD.
Post-registration checklist
- Registrar (transfer) lock ON — website toggle under Domain Management > domain > Details.
- WHOIS privacy ON (Porkbun default for supported TLDs).
- Auto-renew ON (default), and account credit covers renewal or card billing handles it.
- DNS records:
POST /dns/create/{domain}— add as needed.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdevops/porkbun-domain-api/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jcrabapple/hermes-skills/porkbun-domain-api)