Porkbun

Porkbun is a domain registrar and web services provider based in the United States. It offers domain registration, transfers, web hosting, email services, SSL certificates, and a range of related tools. With over 4 million domains managed for more than 750,000 customers, Porkbun emphasizes low prices, a clean user experience, and a commitment to privacy and security. The company also provides an API for domain management and various developer resources.

Porkbun publishes 1 API contract, indexed on the APIs.io network as 19 APIs, including Account API, Aftermarket API, Agent Naming (ANS) API, and 16 more. Tagged areas include Company, Domain Registrar, Web Hosting, DNS, and SSL.

The Porkbun catalog on APIs.io includes 1 event-driven AsyncAPI specification, 1 JSON-LD context, and 1 Spectral governance ruleset.

Porkbun’s developer surface includes authentication, support, sandbox, pricing, documentation, engineering blog, getting-started guide, and 26 more developer resources.

Pull Porkbun's APIs, OpenAPI, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
48.5/100 developing Agent 66/100 agent native Full breakdown ↓
scored 2026-11-28 · rubric v0.30.0 · Show this score on your site →
1 published contract 1 MCP Servers 4 Agent Skills
CompanyDomain RegistrarWeb HostingDNSSSL

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-11-28 · rubric v0.30.0
Regulatory Posture applies to this provider. Its tags matched the Education & Research regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
The six quality facets above are damped to 75 points between them, because the conditional facet above carries the other 25. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 75% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Show this score on your site. Kin Score badge preview for Porkbun It updates itself when the score changes. Paste this where you link to your API docs:
<a href="https://apis.io/providers/porkbun-com/"><img src="https://apis.io/badge/porkbun-com/card.svg" alt="Porkbun on APIs.io — Kin Score by API Evangelist"></a>
Other styles, a README pill and a shields.io endpoint are on the badge page.
Raise your score.
Agent readiness — checks not met, largest first (exact, from this profile):
  • A2A Agent Card +8 pts — a2a/-a2a.yml manifest, graded on conformance.grade against A2A 1.0.0 Ask about this →
  • Agentic Commerce Well-Known Document +5 pts — a parsing /.well-known/ucp (the IANA-registered path, probed first) or ucp.json / acp.json declaring a version and at least one service, OR (0.27) a live x402 payment challenge from _data/x402-adoption.json — `self` when its endpoints are on the provider's own domain, `platform` when they are on a vendor's Ask about this →
  • Pagination +5 pts — share of collection GETs (an array, or one wrapped in data/items/results ...) that declare a page/limit/offset/cursor parameter, a Link header or a next/cursor field; na with no collection GETs Ask about this →
  • Well-Known Catalog +4 pts — a served RFC 9727 api-catalog, an AAuth resource document, or (0.28.1) a served AI Catalog (/.well-known/ai-catalog.json with an entries list) or MCP Server Card (/.well-known/mcp/server-card.json); a WellKnown/APICatalog pointer counts only for a never-probed provider Ask about this →
  • Onboarding Descriptor Published +3 pts — the provider page carries onboarding_descriptor.published (an APIOnboarding pointer, provider- or API-level, or a saved /.well-known/api-onboarding body with an `aod` key, build.py _onboarding_descriptor_meta) Ask about this →
  • Distinct Operations +3 pts — share of operations whose summary is unique within its document after light normalisation; na without two summarised operations Ask about this →
1 more unmet check in the Agent Readiness table above.
Kin Score — facets with the most composite points still available (weight × headroom):
Each check links to what satisfies it. Publish the artifact, or tell us where it already lives, and the score moves on the next scoring run.
Not sure how this applies to your stack? Ask about any one item. Kin Lane reads every question, looks at your profile and your situation, and replies with what a fix would take — scoped to that one area, priced up front, yours whether you ship it or not. Ask a question →
Ask about:
Porkbun Com · a person reads this and replies by email.
or email info@apis.io
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from the provider profile at artifacts.apis.io/porkbun-com/apis.yml: open an issue on github.com/api-evangelist/porkbun-com to ask a question or point us at an artifact you publish. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

Standards implemented 4

Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.

measured — observed by APIs.io (documented)
measured — observed by APIs.io (verified)
measured — observed by APIs.io (published)
measured — observed by APIs.io (published)

APIs 19

Individual APIs this provider publishes, each with its own machine-readable definition.

Porkbun Account API

Account credit balance, API spend controls, and onboarding

Porkbun Aftermarket API

Registered domains that are for sale: partner aftermarkets (Afternic, Sedo, Atom, NameBright, DAX), Porkbun Marketplace and DAX auctions, in one search. Read-only; buying happen...

Porkbun Agent Naming (ANS) API

**Experimental.** ANS is an emerging standard (a Linux Foundation project; normative specs ANS-0..ANS-6 at https://github.com/agentnameservice/ans-spec, still drafts), and Porkb...

Porkbun API Key Management API

Request API keys programmatically (`/apikey/request` + `/apikey/retrieve`, approved by the account holder in the browser), and revoke the key making a call (`/apikey/revoke`). *...

Porkbun Closeouts API

Expired domains that did not sell at auction, offered at a fixed price with no bidding — first buyer at the current price takes the name. The price descends on a schedule, so a ...

Porkbun Cloudflare API

Move a customer's domains into **their own Cloudflare account**: we create the zone, copy across the DNS records we hold, and repoint the registry nameservers at Cloudflare. Two...

Porkbun DNS API

The DNS API from Porkbun — 6 operation(s) for dns.

Porkbun Domain API

Domain availability (single or up to 25 at once), registration, nameservers, URL forwarding, glue records, and auto-renewal

Porkbun Email API

Email forwarding (forward an address at the domain to another mailbox) and email hosting (mailboxes: buy, set up, passwords)

Porkbun Hosting API

Three products share these endpoints; the `sku` you pass to `/hosting/create` picks one: • **Secure Static Hosting**: you upload the files; Porkbun serves them over HTTPS. SKUs ...

Porkbun Link in Bio API

A Link in Bio page: a single page of links, served on the domain (or, for the free plan that comes with .com registrations, forwarded to `.l.ink`). Edits made here show up immed...

Porkbun Marketplace API

Browse domains listed for sale on Porkbun Marketplace (names Porkbun customers list themselves). To search every aftermarket at once (Afternic, Sedo, Atom, NameBright, DAX and P...

Porkbun Mock API

Credential-free mock server returning schema-accurate example responses for any endpoint.

Porkbun Porkbun DNS API

Create, read, update and delete DNS records in **Porkbun's** nameservers, including DNSSEC. These endpoints manage the zone Porkbun serves. If a domain has been moved to a custo...

Porkbun Pricing API

Domain pricing across all supported TLDs — no authentication required

Porkbun Sandbox API

Isolated sandbox/test environment (sandbox API keys, pk1_sb_…).

Porkbun SSL API

Retrieve free SSL certificate bundles for domains registered at Porkbun

Porkbun Utility API

IP detection and credential verification

Porkbun Webhooks API

Subscribe HTTPS endpoints to account events and Porkbun will `POST` a signed JSON payload to them as those events happen — no polling required. Manage endpoints with the **Webho...

Scroll for all 19

MCP Servers 1

Model Context Protocol servers that expose these APIs to AI agents.

Porkbun MCP Server

Remote MCP server at mcp.porkbun.com requiring OAuth.

MCP SERVER

Agent Skills 4

Packaged agent skills for driving this provider's APIs from an AI assistant.

Event Specifications 1

AsyncAPI definitions for this provider's event-driven and streaming APIs.

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Porkbun Com Context

71 classes · 245 properties

JSON-LD

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs. Counts are the severity each rule declares, not results of running them.

Porkbun API Rules

66 rules · 55 error-severity 10 warn-severity 1 info-severity

SPECTRAL

JSON Schema 6

Standalone JSON Schema definitions for this provider's data models.

AnsVerifyHostResponse

17 properties

JSON SCHEMA

CheckDomainResponse

4 properties

JSON SCHEMA

CreateDomainRequest

10 properties

JSON SCHEMA

DryRunPreviewResponse

18 properties

JSON SCHEMA

ListAllRequest

18 properties

JSON SCHEMA

TransferDomainRequest

9 properties

JSON SCHEMA

Security Posture 3

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Porkbun Authentication

4 schemes

SECURITY

Porkbun Domain Security

TLSv1.2 · HSTS · DMARC

SECURITY

Porkbun Vulnerability Disclosure

security.txt · contact published

SECURITY

Agentic Access (API Evangelist recommendations) 1

Recommended x-agentic-access execution contracts for AI agents.

Porkbun Agentic Access

196 operations · 110 acting · 6 human-in-the-loop

196 operations · 110 acting

AGENTIC

Resources

Get Started 2

Portal, sign-up, and the first successful call

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 5

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 10

Pagination, idempotency, versioning, errors, and events

Scroll for all 10

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 5

Authentication, authorization, and security posture

Operate 2

Status, limits, changes, and where to get help

Commercial 2

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Other 2

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: porkbun-com
name: Porkbun
accessModel:
  pricing: unknown
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Unknown
  confidence: low
  source:
  - authentication
  - security
  generated: '2026-11-28'
  method: derived
image: https://porkbun.com/images/porkbun-logo-1200x1200.png
description: Porkbun is a domain registrar and web services provider based in the United States. It offers domain registration,
  transfers, web hosting, email services, SSL certificates, and a range of related tools. With over 4 million domains managed
  for more than 750,000 customers, Porkbun emphasizes low prices, a clean user experience, and a commitment to privacy and
  security. The company also provides an API for domain management and various developer resources.
url: https://artifacts.apis.io/porkbun-com/apis.yml
x-type: company
x-source: harvest:mcp-registry
x-tier: profiled
x-tier-reason: enrichment pass 2026-11-21 (modular-v1; was harvest)
specificationVersion: '0.20'
created: '2026-11-21'
modified: '2026-11-21'
tags:
- Company
- Domain Registrar
- Web Hosting
- DNS
- SSL
tags_raw:
- Company
- Domain Registrar
- Web Hosting
- DNS
- SSL
- API
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com
- FN: APIs.json
  email: info@apis.io
common:
- type: AgenticAccess
  url: agentic-access/porkbun-com-agentic-access.yml
- type: Spectral
  url: rules/porkbun-com-rules.yml
- type: JSONLD
  url: json-ld/porkbun-com-context.jsonld
- type: Vocabulary
  url: vocabulary/porkbun-com-vocabulary.yml
- type: AgentSkill
  url: skills/_index.yml
- type: Webhooks
  url: asyncapi/porkbun-com-webhooks.yml
- type: DataModel
  url: data-model/porkbun-com-data-model.yml
- type: Idempotency
  url: conventions/porkbun-com-conventions.yml
- type: Conventions
  url: conventions/porkbun-com-conventions.yml
- type: Authentication
  url: authentication/porkbun-com-authentication.yml
- type: ErrorCatalog
  url: errors/porkbun-com-problem-types.yml
- type: Conformance
  url: conformance/porkbun-com-conformance.yml
- type: LLMsTxt
  url: llms/porkbun-com-llms.txt
- type: MCPServer
  url: mcp/porkbun-com-mcp.yml
- type: SecurityTxt
  url: well-known/porkbun-com-security.txt
- type: WellKnown
  url: well-known/porkbun-com-well-known.yml
- type: Hosts
  url: hosts/porkbun-com-hosts.yml
- type: Webhooks
  url: https://porkbun.com/llms/webhooks
- type: Support
  url: https://porkbun.com/tld/help
- type: StatusPage
  url: https://status.porkbun.com/
- type: Security
  url: https://porkbun.com/security
- type: Sandbox
  url: https://porkbun.com/llms/sandbox
- type: PrivacyPolicy
  url: https://porkbun.com/legal/agreement/privacy_policy
- type: Pricing
  url: https://porkbun.com/llms/pricing
- type: Newsroom
  url: https://porkbun.com/tld/news
- type: Leadership
  url: https://porkbun.com/tld/team
- type: GitHubOrganization
  url: https://github.com/porkbundomains/
- type: Documentation
  url: https://porkbun.com/llms/guides
- type: Blog
  url: https://blog.porkbun.com
- type: GettingStarted
  url: https://porkbun.com/llms/agent-setup
- type: VulnerabilityDisclosure
  url: security/porkbun-com-vulnerability-disclosure.yml
- type: DomainSecurity
  url: security/porkbun-com-domain-security.yml
- type: Website
  url: https://porkbun.com/
apis:
- aid: porkbun-com:porkbun-com-account-api
  name: Porkbun Account API
  description: Account credit balance, API spend controls, and onboarding
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Account
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-account-api-openapi.yml
- aid: porkbun-com:porkbun-com-aftermarket-api
  name: Porkbun Aftermarket API
  description: 'Registered domains that are for sale: partner aftermarkets (Afternic, Sedo, Atom, NameBright, DAX), Porkbun
    Marketplace and DAX auctions, in one search. Read-only; buying happens on porkbun.com through each listing''s buyUrl.'
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Aftermarket
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-aftermarket-api-openapi.yml
- aid: porkbun-com:porkbun-com-agent-naming-ans-api
  name: Porkbun Agent Naming (ANS) API
  description: '**Experimental.** ANS is an emerging standard (a Linux Foundation project; normative specs ANS-0..ANS-6 at
    https://github.com/agentnameservice/ans-spec, still drafts), and Porkbun''s registry, transparency log and directory are
    new: endpoints, fields, record formats and behaviour may change, registrations may need to be redone if the standard changes,
    and there is no uptime commitment yet. Tell the user before they depend on it.


    Give an AI agent a verifiable name with the Agent Name Service (ANS): `ans://v1.0.0.myagent.example.com`, an identity
    certificate, DNS discovery records, and a public entry in Porkbun''s KMS-signed transparency log (https://tl.ans.porkbun.com).
    Free.


    • **Register:** `/ans/register` with the endpoint URL and an identity CSR (you keep the key), then `/ans/advance/{agentId}`
    until `ACTIVE`. DNS is set up for you on Porkbun nameservers, using DNS-AID SVCB discovery records (the spec default);
    with DNS hosted elsewhere you get a `_ans` TXT record to add instead.

    • **Trust:** `/ans/check/{agentId}` (or the public `/ans/verifyHost/{host}`) runs the independent check: a PASS/FAIL verdict
    plus identity, liveness and possession proofs; `/ans/enableDnssec/{agentId}` signs the zone so DANE applies.

    • **Find agents:** `/ans/search`, the same directory as https://porkbun.com/agents.

    • **Retire:** `/ans/revoke/{agentId}` (permanent, public).


    Guide: https://porkbun.com/llms/guides/agent-naming'
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Agent Naming (ANS)
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-agent-naming-ans-api-openapi.yml
  - type: JSONSchema
    url: json-schema/porkbun-com-ans-verify-host-response-schema.json
- aid: porkbun-com:porkbun-com-api-key-management-api
  name: Porkbun API Key Management API
  description: 'Request API keys programmatically (`/apikey/request` + `/apikey/retrieve`, approved by the account holder
    in the browser), and revoke the key making a call (`/apikey/revoke`).


    **Site sharing:** let someone else, and their AI agent, run one domain''s website without the account. `/apikey/share`
    asks (the account holder approves on porkbun.com and gets a link, QR code, share code and handoff prompt); the other person''s
    agent calls `/apikey/claim` once, or they enter the share code when connecting the Claude app or ChatGPT; `/apikey/shares`
    and `/apikey/revokeShare` manage them. The key it makes has the `site` permission alone, limited to that domain. Guide:
    https://porkbun.com/llms/guides/share-site-access Listing, editing and revoking other keys is done on the website (https://porkbun.com/account/api).'
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - API Key Management
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-api-key-management-api-openapi.yml
- aid: porkbun-com:porkbun-com-closeouts-api
  name: Porkbun Closeouts API
  description: 'Expired domains that did not sell at auction, offered at a fixed price with no bidding — first buyer at the
    current price takes the name.


    The price descends on a schedule, so a listing is often gone within minutes; treat a search result as perishable and re-check
    the price before buying.


    Search returns `age` and `registrationDate` on every row and both are sortable, which is the part the website cannot do
    — it paginates by price tier and does not show registration date at all.'
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Closeouts
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-closeouts-api-openapi.yml
- aid: porkbun-com:porkbun-com-cloudflare-api
  name: Porkbun Cloudflare API
  description: 'Move a customer''s domains into **their own Cloudflare account**: we create the zone, copy across the DNS
    records we hold, and repoint the registry nameservers at Cloudflare.


    Two stages, and the first one needs a human:


    1. **Connect the Cloudflare account (browser, one time).** Cloudflare''s consent screen cannot be completed over the API.
    Send the account owner to `https://porkbun.com/account/connectCloudflare`, then poll `GET /cloudflare/getConnection` until
    `connected` is `true`.

    2. **Move domains (API).** `GET /cloudflare/inventory` to see what''s eligible, `POST /cloudflare/connect` to queue, then
    poll `/cloudflare/getQueue`. `POST /cloudflare/rollback/{domain}` undoes a move; `POST /cloudflare/retry/{domain}` re-queues
    a failure.


    Queueing is asynchronous and per-domain: a call returns *queued*, never *connected*, and `skipped` (DNSSEC live, custom
    nameservers, already connected) is a normal outcome carrying a reason, not a failure.'
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Cloudflare
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-cloudflare-api-openapi.yml
- aid: porkbun-com:porkbun-com-dns-api
  name: Porkbun DNS API
  description: The DNS API from Porkbun — 6 operation(s) for dns.
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - DNS
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-dns-api-openapi.yml
- aid: porkbun-com:porkbun-com-domain-api
  name: Porkbun Domain API
  description: Domain availability (single or up to 25 at once), registration, nameservers, URL forwarding, glue records,
    and auto-renewal
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Domain
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-domain-api-openapi.yml
  - type: JSONSchema
    url: json-schema/porkbun-com-create-domain-request-schema.json
  - type: JSONSchema
    url: json-schema/porkbun-com-check-domain-response-schema.json
  - type: JSONSchema
    url: json-schema/porkbun-com-transfer-domain-request-schema.json
  - type: JSONSchema
    url: json-schema/porkbun-com-dry-run-preview-response-schema.json
  - type: JSONSchema
    url: json-schema/porkbun-com-list-all-request-schema.json
- aid: porkbun-com:porkbun-com-email-api
  name: Porkbun Email API
  description: 'Email forwarding (forward an address at the domain to another mailbox) and email hosting (mailboxes: buy,
    set up, passwords)'
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Email
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-email-api-openapi.yml
- aid: porkbun-com:porkbun-com-hosting-api
  name: Porkbun Hosting API
  description: 'Three products share these endpoints; the `sku` you pass to `/hosting/create` picks one:


    • **Secure Static Hosting**: you upload the files; Porkbun serves them over HTTPS. SKUs `PIXIESECURESTATIC…`

    • **Cloud for WordPress**: a managed WordPress site, managed through WordPress itself. SKUs `CLOUDWORDPRESS…`

    • **Link in Bio** (paid): a page of links, edited with the `/linkinbio` endpoints. SKUs `PIXIELINKSM1` and `PIXIELINKSY1`.
    The free plan is turned on with `/linkinbio/create`, not here.


    All three: `/hosting/plans`, `/hosting/create`, `/hosting/get`, `/hosting/updateAutoRenew`, `/hosting/delete`.

    Static hosting only: `/hosting/deploy`, `/hosting/files`, `/hosting/getFile`, `/hosting/makeDir`, `/hosting/deleteFile`
    (anything else returns `NOT_SUPPORTED_FOR_PRODUCT`).

    WordPress only: `/hosting/wpRequest` and `/hosting/wpUploadMedia` (edit content and add images, no credentials needed),
    `/hosting/createWpCredentials`, `/hosting/getWpCredentials`, `/hosting/deleteWpCredentials`, and the site management below.


    A domain''s first purchase of a product is a 15-day free trial that auto-renews at the plan price; buying the same product
    again after cancelling is charged (one free trial per domain per product).


    **Cloud for WordPress site management:** `GET /hosting/get` shows the site''s PHP and WordPress versions, SSL, storage,
    search visibility, staging and background jobs; `setPhpVersion`, `setWordPressVersion`, `reissueSsl` and `setSearchVisibility`
    change them; `backups`, `createBackup`, `deleteBackup` and `restoreBackup` manage backups (add `"staging": true` for the
    staging copy). **Staging:** `getStaging`, `createStaging`, `resetStaging`, `publishStaging`, `deleteStaging`, and its
    settings `setStagingGate` (password), `setStagingGuard` (outbound email/API) and `setStagingEnvironment`.


    **Site-share keys** (`/apikey/share`, permission `site`, one domain) can use every call here except `/hosting/create`,
    `/hosting/delete` and `/hosting/updateAutoRenew`.'
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Hosting
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-hosting-api-openapi.yml
- aid: porkbun-com:porkbun-com-link-in-bio-api
  name: Porkbun Link in Bio API
  description: 'A Link in Bio page: a single page of links, served on the domain (or, for the free plan that comes with .com
    registrations, forwarded to `<domain>.l.ink`). Edits made here show up immediately in the page and in the editor on porkbun.com.


    • **Turn one on:** free with `/linkinbio/create` (50 links), or paid with `/hosting/create` and sku `PIXIELINKSM1` ($3/month)
    or `PIXIELINKSY1` ($30/year) for 1000 links plus scheduling, animation, passcode protection and analytics IDs. Buying
    a paid plan over a free page keeps its content. Cancelling a paid plan (`/hosting/delete`) takes the page down; its content
    is archived (support can restore it), and `/linkinbio/create` starts a new free page from placeholder content. A free
    page can''t be turned off through the API (`/hosting/delete` returns `NOT_SUPPORTED_FOR_PRODUCT`); to stop showing it,
    point the domain somewhere else.

    • **Edit it:** `get` returns everything with link ids; then `updateProfile`, `addLink`, `editLink`, `deleteLink`, `reorderLinks`,
    `updateSocials`, `updateAppearance`, `updateSettings`. Reading needs the `read` permission, editing `hosting`.


    Not available with sandbox keys.


    **Site-share keys** (`/apikey/share`, permission `site`, one domain) can read and edit the page, but not turn one on (`/linkinbio/create`)
    or buy or cancel a plan.'
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Link-in-bio
  tags_raw:
  - Link in Bio
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-link-in-bio-api-openapi.yml
- aid: porkbun-com:porkbun-com-marketplace-api
  name: Porkbun Marketplace API
  description: Browse domains listed for sale on Porkbun Marketplace (names Porkbun customers list themselves). To search
    every aftermarket at once (Afternic, Sedo, Atom, NameBright, DAX and Porkbun Marketplace), use `GET /aftermarket/search`.
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Marketplace
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-marketplace-api-openapi.yml
- aid: porkbun-com:porkbun-com-mock-api
  name: Porkbun Mock API
  description: Credential-free mock server returning schema-accurate example responses for any endpoint.
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Mock
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-mock-api-openapi.yml
- aid: porkbun-com:porkbun-com-porkbun-dns-api
  name: Porkbun Porkbun DNS API
  description: 'Create, read, update and delete DNS records in **Porkbun''s** nameservers, including DNSSEC.


    These endpoints manage the zone Porkbun serves. If a domain has been moved to a customer''s own Cloudflare account (see
    the **Cloudflare** section), Cloudflare''s nameservers answer for it instead — writes here still succeed and are kept
    in step in case the move is rolled back, but they do not change what resolves, and every response says so in `warnings`.
    Manage those domains with `/cloudflare/getRecords`, `/cloudflare/createRecord`, `/cloudflare/editRecord` and `/cloudflare/deleteRecord`.


    The same is true, more bluntly, of a domain delegated to any other DNS provider: we hold a zone for every domain in the
    account, so a write always succeeds locally. Whenever the nameservers answering for the domain are not ours, the write
    response carries a `warnings` string saying so and naming them. Check `warnings` on every write; `GET /dns/preflight/{domain}`
    reports the same thing (`nameservers-ours`) before you start.'
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Porkbun DNS
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-porkbun-dns-api-openapi.yml
- aid: porkbun-com:porkbun-com-pricing-api
  name: Porkbun Pricing API
  description: Domain pricing across all supported TLDs — no authentication required
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Pricing
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-pricing-api-openapi.yml
- aid: porkbun-com:porkbun-com-sandbox-api
  name: Porkbun Sandbox API
  description: Isolated sandbox/test environment (sandbox API keys, pk1_sb_…).
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Sandbox
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-sandbox-api-openapi.yml
- aid: porkbun-com:porkbun-com-ssl-api
  name: Porkbun SSL API
  description: Retrieve free SSL certificate bundles for domains registered at Porkbun
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - SSL
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-ssl-api-openapi.yml
- aid: porkbun-com:porkbun-com-utility-api
  name: Porkbun Utility API
  description: IP detection and credential verification
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Utility
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-utility-api-openapi.yml
- aid: porkbun-com:porkbun-com-webhooks-api
  name: Porkbun Webhooks API
  description: "Subscribe HTTPS endpoints to account events and Porkbun will `POST` a signed JSON payload to them as those\
    \ events happen — no polling required. Manage endpoints with the **Webhooks** endpoints in this reference, the MCP tools\
    \ (`create_webhook`, `list_webhooks`, …), or the web UI at `porkbun.com/account/api`.\n\n**Event types:** `domain.registered`,\
    \ `domain.renewed`, `domain.transfer.completed`, `domain.transfer.failed` (an inbound transfer was rejected, the auth\
    \ code was refused, or the domain is locked), `domain.expiring` (fires at 60/30/5 days before expiry), `dns.record.created`,\
    \ `dns.record.updated`, `dns.record.deleted`, `account.verification.code_sent`, `account.verification.completed`, `cloudflare.connect.completed`,\
    \ `cloudflare.connect.failed` (a Cloudflare move reached a terminal state — `status` in the payload distinguishes `done`\
    \ from `skipped`/`failed`, so you can stop polling `/cloudflare/getQueue`). Subscribe to specific types, to a prefix wildcard\
    \ like `dns.*`, or to `*` for everything (recommended — you'll receive new event types automatically). Call `GET /webhook/eventTypes`\
    \ for the live catalog.\n\n**Payload envelope** — every delivery has the same outer shape:\n\n```json\n{\n  \"event\"\
    : \"domain.registered\",\n  \"id\": \"018f9c2a-7b3e-7c41-9b8a-2f1e6d4c5a90\",\n  \"createdAt\": \"2026-06-17T18:30:00Z\"\
    ,\n  \"data\": { \"domain\": \"example.com\", \"tld\": \"com\", \"expireDate\": \"2027-06-17 18:30:00\" }\n}\n```\n\n\
    `id` is a UUIDv7 (time-ordered) and is also sent as the `X-Porkbun-Webhook-Id` header; use it to dedupe, since an endpoint\
    \ may occasionally receive the same event more than once. `createdAt` is UTC (ISO 8601). The `data` object is event-specific;\
    \ its fields are listed below.\n\n**What each event sends in `data`.** Dates inside `data` are UTC, formatted `YYYY-MM-DD\
    \ HH:MM:SS`. Fields may be added over time, so ignore ones you don't recognise. No event carries contact details, auth\
    \ codes, keys or other secrets.\n\n| Event | When it fires | `data` fields |\n|---|---|---|\n| `domain.registered` | A\
    \ registration completes | `domain`, `tld`, `expireDate` |\n| `domain.renewed` | A renewal completes (manual, API or auto-renew)\
    \ | `domain`, `tld`, `expireDate` (the new expiry) |\n| `domain.transfer.completed` | An inbound transfer finishes and\
    \ the domain is in the account | `domain`, `tld` |\n| `domain.transfer.failed` | An inbound transfer did not go through:\
    \ rejected by the losing registrar or registrant, auth code refused, or domain locked | `domain`, `tld`, `reason` (`rejected`,\
    \ `gave_up`, `invalid_auth_code`, `domain_locked`), `willRetry` (Porkbun resubmits on its own), `submitAttempts` |\n|\
    \ `domain.expiring` | 60, 30 and 5 days before expiry | `domain`, `tld`, `daysToExpire` (number: 60, 30 or 5), `expireDate`\
    \ |\n| `dns.record.created` | A record is added (website, API, MCP, or a connected app) | `domain`, `name`, `id`, `type`,\
    \ `content`, `ttl`, `prio` |\n| `dns.record.updated` | A record is changed | `domain`, `name`, `id`, `type`, `content`,\
    \ `ttl`, `prio` (the values after the change) |\n| `dns.record.deleted` | A record is removed | `domain`, `name`, `id`,\
    \ `type`, `content` (the values it had) |\n| `cloudflare.connect.completed` | A move to Cloudflare finished | `domain`,\
    \ `status` (`done`), `message`, `cfAccountId`, `zoneId`, `previousNameservers`, `assignedNameservers`, `completedAt` |\n\
    | `cloudflare.connect.failed` | A move to Cloudflare stopped without finishing | Same fields as completed; `status` is\
    \ `failed` or `skipped`, `message` says why, `zoneId` may be `null` and the nameserver lists empty |\n| `account.verification.code_sent`\
    \ | A verification code went to the account's email address or phone (from the website or the API) | `channel` (`email`\
    \ or `phone`), `method` (`email`, `sms` or `call`), `sentTo` (masked), `expiresInMinutes` |\n| `account.verification.completed`\
    \ | The account's email address or phone was verified (by link, website or API) | `channel`, `emailVerified`, `phoneVerified`\
    \ (the account's state after this) |\n| `webhook.test` | You call `POST /webhook/test` | `endpointId` (number), `message`\
    \ |\n\nField notes:\n\n- `domain` is the registered domain (`example.com`); `tld` is its extension without the dot (`com`).\n\
    - DNS events: `name` is the full hostname (`www.example.com`, or `example.com` for the apex). `id`, `ttl` and `prio` are\
    \ strings, the same as in `/dns/retrieve`, and `prio` is `null` for types that have none. Record changes made by Porkbun\
    \ itself for certificate issuance (`_acme-challenge` names) are not sent.\n- Verification events never contain the code:\
    \ it only proves the address or phone is real because it arrives there. `code_sent` tells an agent to ask the person for\
    \ it; `completed` tells it to retry what failed with `VERIFICATION_REQUIRED` once both are `true`. Login codes are not\
    \ sent.\n- Cloudflare events: `previousNameservers` and `assignedNameservers` are arrays of hostnames; `cfAccountId` and\
    \ `zoneId` are Cloudflare's IDs.\n\nExamples:\n\n```json\n{\n  \"event\": \"domain.expiring\",\n  \"id\": \"018f9c2a-7b3e-7c41-9b8a-2f1e6d4c5a91\"\
    ,\n  \"createdAt\": \"2026-06-17T09:00:00Z\",\n  \"data\": { \"domain\": \"example.com\", \"tld\": \"com\", \"daysToExpire\"\
    : 30, \"expireDate\": \"2026-07-17 18:30:00\"\n} }\n```\n\n```json\n{\n  \"event\": \"dns.record.updated\",\n  \"id\"\
    : \"018f9c2a-7b3e-7c41-9b8a-2f1e6d4c5a92\",\n  \"createdAt\": \"2026-06-17T18:31:05Z\",\n  \"data\": { \"domain\": \"\
    example.com\", \"name\": \"www.example.com\", \"id\": \"123456789\", \"type\": \"A\", \"content\":\n\"192.0.2.1\", \"\
    ttl\": \"600\", \"prio\": null } }\n```\n\n```json\n{\n  \"event\": \"cloudflare.connect.completed\",\n  \"id\": \"018f9c2a-7b3e-7c41-9b8a-2f1e6d4c5a93\"\
    ,\n  \"createdAt\": \"2026-06-17T19:02:11Z\",\n  \"data\": {\n    \"domain\": \"example.com\", \"status\": \"done\", \"\
    message\": \"Connected to Cloudflare.\",\n    \"cfAccountId\": \"0123456789abcdef0123456789abcdef\", \"zoneId\": \"fedcba9876543210fedcba9876543210\"\
    ,\n    \"previousNameservers\": [\"curitiba.ns.porkbun.com\", \"fortaleza.ns.porkbun.com\"],\n    \"assignedNameservers\"\
    : [\"anna.ns.cloudflare.com\", \"lee.ns.cloudflare.com\"],\n    \"completedAt\": \"2026-06-17 19:02:10\"\n  }\n}\n```\n\
    \nTo see any event's exact payload against your own handler, use a sandbox key and `POST /sandbox/triggerWebhook` with\
    \ `{\"eventType\": \"...\", \"domain\": \"example.com\"}`; `GET /webhook/delivery/{id}` shows the full payload of any\
    \ past delivery.\n\n**Delivery headers:**\n\n- `X-Porkbun-Event` — the event type (e.g. `domain.renewed`).\n- `X-Porkbun-Webhook-Id`\
    \ — the event UUID (matches `id` in the body).\n- `X-Porkbun-Webhook-Timestamp` — Unix seconds when the request was signed.\n\
    - `X-Porkbun-Signature` — `sha256=` + the signature (see below).\n\n**Verify the signature.** The signature is `HMAC-SHA256(secret,\
    \ \"{timestamp}.{rawBody}\")` where `secret` is the endpoint's signing secret, `{timestamp}` is the `X-Porkbun-Webhook-Timestamp`\
    \ header value, and `{rawBody}` is the exact bytes of the request body (verify before parsing). Compare using a constant-time\
    \ equality check, and reject timestamps that are too old (e.g. >5 minutes) to blunt replay attacks.\n\n```php\n$timestamp\
    \ = $_SERVER['HTTP_X_PORKBUN_WEBHOOK_TIMESTAMP'];\n$signature = $_SERVER['HTTP_X_PORKBUN_SIGNATURE']; // \"sha256=...\"\
    \n$body      = file_get_contents('php://input');\n$expected  = 'sha256=' . hash_hmac('sha256', $timestamp . '.' . $body,\
    \ $endpointSecret);\nif (!hash_equals($expected, $signature) || abs(time() - (int)$timestamp) > 300) {\n    http_response_code(400);\
    \ exit;\n}\n// signature OK — now json_decode($body) and process\n```\n\n```javascript\nimport crypto from 'node:crypto';\n\
    const ts  = req.header('X-Porkbun-Webhook-Timestamp');\nconst sig = req.header('X-Porkbun-Signature');\nconst expected\
    \ = 'sha256=' + crypto.createHmac('sha256', endpointSecret)\n  .update(`${ts}.${rawBody}`).digest('hex');\nconst ok =\
    \ crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(sig))\n  && Math.abs(Date.now()/1000 - Number(ts)) < 300;\n\
    ```\n\n**Delivery log & manual resend.** Every attempt is recorded — list recent deliveries with `GET /webhook/deliveries`\
    \ (filter by `endpointId` or `status`, newest first) and fetch one with its full payload via `GET /webhook/delivery/{id}`.\
    \ History is retained ~30 days. To replay a delivery (e.g. after fixing a bug on your side), call `POST /webhook/resend`\
    \ with the delivery `id`; it re-queues a fresh attempt reusing the **original event id**, so a consumer that dedupes on\
    \ `X-Porkbun-Webhook-Id` treats it as the same event. The target endpoint must still exist and be ACTIVE.\n\n**Responding\
    \ & retries.** Return any `2xx` status to acknowledge. Non-2xx responses, timeouts, or connection errors are retried with\
    \ exponential backoff (~1m, 5m, 30m, 2h, 6h) up to 6 attempts. An endpoint that racks up 20 consecutive failures is automatically\
    \ disabled and the account owner emailed; re-enable it (which resets the failure counter) via `POST /webhook/update` with\
    \ `status: \"ACTIVE\"`. Use `POST /webhook/test` to send a `webhook.test` event and confirm your verifier works end-to-end."
  humanURL: https://porkbun.com/api/json/v3/documentation
  baseURL: https://api.porkbun.com/api/json/v3
  tags:
  - Webhook
  tags_raw:
  - Webhooks
  properties:
  - type: OpenAPI
    url: openapi/porkbun-com-webhooks-api-openapi.yml
x-enrichment:
  date: '2026-11-21'
  status: enriched
  artifacts_added: 32
  pass: modular-v1
  engine: identity=local,contract=local,surfaces=local,docs=local,regulatory=local

Porkbun API — frequently asked questions

Does Porkbun have an API?

Yes. APIs.io lists 19 APIs from Porkbun, including Porkbun Account API, Porkbun Aftermarket API and Porkbun Agent Naming (ANS) API, and 16 more.

Is there an OpenAPI specification for the Porkbun API?

Yes. APIs.io indexes 19 OpenAPI specifications for Porkbun, each linked for download from this page.

How do I authenticate with the Porkbun API?

Porkbun documents its authentication (4 schemes). The details are profiled on APIs.io as Porkbun Authentication.

Does Porkbun have an MCP server?

Yes. APIs.io lists 1 MCP server for Porkbun: Remote MCP server at mcp.porkbun.com requiring OAuth.

Is the Porkbun API ready for AI agents?

Porkbun has a Kin Score of 48.5 out of 100 (developing) and an Agent Readiness score of 66.4 (agent-native), scored by API Evangelist on 2026-11-28.

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/porkbun-com"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/porkbun-com/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/porkbun-com/evidence"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.