# Porkbun Agent Naming (ANS) API

**Canonical:** https://apis.io/apis/porkbun-com/porkbun-com-agent-naming-ans-api/  
**Provider:** Porkbun — https://apis.io/providers/porkbun-com/  
**Base URL:** https://api.porkbun.com/api/json/v3  
**Documentation:** https://porkbun.com/api/json/v3/documentation

Porkbun Agent Naming (ANS) API is one of 19 APIs that [Porkbun](https://apis.io/providers/porkbun-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 1 JSON Schema definition. Tagged areas include Agent Naming (ANS). The published artifact set on APIs.io includes an OpenAPI specification and 1 JSON Schema.

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

## Operations (16)

| Method | Path | Summary |
|---|---|---|
| POST | `/ans/register` | Register an AI agent |
| POST | `/ans/advance/{agentId}` | Advance an agent toward ACTIVE |
| GET | `/ans/listAll` | List your AI agents |
| POST | `/ans/listAll` | List your AI agents |
| GET | `/ans/get/{agentId}` | Get an AI agent |
| POST | `/ans/get/{agentId}` | Get an AI agent |
| GET | `/ans/check/{agentId}` | Verify an agent independently |
| POST | `/ans/check/{agentId}` | Verify an agent independently |
| POST | `/ans/revoke/{agentId}` | Revoke an AI agent |
| POST | `/ans/enableDnssec/{agentId}` | Turn on DNSSEC for an agent's domain |
| POST | `/ans/search` | Search the AI agent directory |
| GET | `/ans/verifyHost/{host}` | Verify any agent by hostname (public) |
| POST | `/ans/rotateIdentity/{agentId}` | Re-issue an agent's identity certificate against a new key |
| GET | `/ans/certificates/{agentId}` | Get an agent's identity certificates (including the certificate itself) |
| GET | `/ans/verifyManifest` | Verify a signed manifest: did this agent produce this document? (public) |
| GET | `/ans/verifyArtifact` | Verify who published any file (public) |

## Machine-readable artifacts (2)

- **OpenAPI** — https://artifacts.apis.io/porkbun-com/openapi/porkbun-com-agent-naming-ans-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/porkbun-com/json-schema/porkbun-com-ans-verify-host-response-schema.json

## Other Porkbun APIs (12)

- [Porkbun Account API](https://apis.io/apis/porkbun-com/porkbun-com-account-api/)
- [Porkbun Aftermarket API](https://apis.io/apis/porkbun-com/porkbun-com-aftermarket-api/)
- [Porkbun API Key Management API](https://apis.io/apis/porkbun-com/porkbun-com-api-key-management-api/)
- [Porkbun Closeouts API](https://apis.io/apis/porkbun-com/porkbun-com-closeouts-api/)
- [Porkbun Cloudflare API](https://apis.io/apis/porkbun-com/porkbun-com-cloudflare-api/)
- [Porkbun DNS API](https://apis.io/apis/porkbun-com/porkbun-com-dns-api/)
- [Porkbun Domain API](https://apis.io/apis/porkbun-com/porkbun-com-domain-api/)
- [Porkbun Email API](https://apis.io/apis/porkbun-com/porkbun-com-email-api/)
- [Porkbun Hosting API](https://apis.io/apis/porkbun-com/porkbun-com-hosting-api/)
- [Porkbun Link in Bio API](https://apis.io/apis/porkbun-com/porkbun-com-link-in-bio-api/)
- [Porkbun Marketplace API](https://apis.io/apis/porkbun-com/porkbun-com-marketplace-api/)
- [Porkbun Mock API](https://apis.io/apis/porkbun-com/porkbun-com-mock-api/)

## Tags

Agent Naming (ANS)

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/porkbun-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/porkbun-com/porkbun-com-agent-naming-ans-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/porkbun-com/.
