jcrabapple/hermes-skills/porkbun-domain-api

Claude Code and agent skill by jcrabapple/hermes-skills

Trust tier 3
  • community
Source check pending

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-api

SKILL.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_KEY live in Infisical (dev env, project af3b8a09-35ab-4acc-b0ea-c4ef2201eb29).
  • Load without printing values:
bash
eval "$(infisical-login)" && eval "$(infisical-env)"
# then read $PORKBUN_API_KEY / $PORKBUN_SECRET_KEY in python via subprocess

API v3.15 Flow (current shape)

Base: https://api.porkbun.com/api/json/v3

  1. Check availability + price (also verifies credentials):

POST /domain/checkDomain/{domain} with {"apikey": ..., "secretapikey": ...} Returns avail: yes/no, price in USD, premium: yes/no.

  1. 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.

  1. Register:

Same call without dryRun. cost = price x 100 as int (e.g. $12.52 -> 1252).

  1. Verify: POST /domain/listAll with {"start": "0", "includeLabels": "no"}. Check the domain row: status: ACTIVE, whoisPrivacy: "1", autoRenew: "1", securityLock.

Prerequisites (both caused 400s in real use)

  1. Account email AND phone must be verified (porkbun.com/account). Unverified account returns VERIFICATION_REQUIRED.
  2. 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/create with {"name": ..., "years": ...} returns HTTP 500 with an empty openresty body (no JSON). The domain goes in the PATH now: /domain/create/{domain}, and years is gone, replaced by cost + agreeToTerms.
  • `pricing/get` keys are DOTLESS: pricing["net"], not pricing[".net"]. A grep for ".sh" misses the .sh TLD 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 are pk1_/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-check with {"domains": [...]}. Needs an API token with Account > Registrar > Edit. .sh returns extension_not_supported_via_api (dashboard-only). .com/.net work via POST .../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=JSON for JSON). Quirks: .sh costs $94.99/yr there (3x market; check /Account/PriceList/Get with version=2 first); contact params are lowercase underscore (registrant_firstname, registrant_street NOT address1); tech prefix is technical_ not tech_; Period=1Y format. Balance via /Account/Balance/Get. the user has an account with $35 unused balance; keys in Infisical as INTERNETBS_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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jcrabapple/hermes-skills/porkbun-domain-api/badge)](https://verified-skill.com/skills/jcrabapple/hermes-skills/porkbun-domain-api)

Something wrong with this skill or its page? Tell us.