Palmyr Domains API

The Domains API from Palmyr — 4 operation(s) for domains.

GitHub OpenAPI

Operations 5

GET /domains/{domain}/dns GET /domains/:domain/dns #
POST /domains/{domain}/dns POST /domains/:domain/dns #
GET /domains/{domain} GET /domains/:domain #
GET /domains GET /domains #
POST /domains/register Register a domain for one year via Namecheap. #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/palmyr-ai:palmyr-ai-domains-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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.

OpenAPI Specification

palmyr-ai-domains-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Palmyr Domains API
  description: Autonomous infrastructure for AI agents — pay with USDC on Solana or Base via x402.
  version: 0.4.7
  x-guidance: 'Palmyr is a paid HTTP API that lets agents buy and operate their own infrastructure: phone numbers, email inboxes, custom domains, cloud servers, third-party API keys. Identity = wallet address. Pay with USDC; the wallet that pays becomes the owner of the resource. Every paid endpoint returns 402 with a valid x402 challenge. Use the `extra.facilitator` field on each accepts entry to route the settlement (CDP for EVM, self-hosted for Solana). Solana uses a server-paid fee-payer pattern — payers only need USDC, never SOL. Some routes price dynamically (x-payment-info.price.mode === ''dynamic'', e.g. POST /social/twitter/buy) — never assume a fixed amount for these; send the request unpaid to get a 402 whose `accepts` carry the live price, then pay that. Check before you pay: free preflight routes (x-payment-info.price.mode === ''free'') let you probe availability and price first — GET /pricing, GET /domains/check, GET /domains/pricing, GET /phone/numbers/search, plus free POST /agents/register. Other free helpers: GET /api, /health, /version. Async operations that aren''t finished when they respond return a `poll_url` alongside `operation_id` and a `status` (and sometimes `poll_after_seconds`) — e.g. POST /compute/servers (server provisioning ~60s) and the /transfers endpoints. Treat any response carrying `poll_url` as in-progress: GET the poll_url until `status` is terminal (completed/failed; for servers, running).'
servers:
- url: https://palmyr.ai
tags:
- name: Domains
paths:
  /domains/{domain}/dns:
    get:
      summary: GET /domains/:domain/dns
      parameters:
      - name: domain
        in: path
        required: true
        description: 'Path parameter: domain'
        schema:
          type: string
      - name: X-Payment
        in: header
        required: true
        description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
        schema:
          type: string
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.01'
        protocols:
        - x402: {}
      extensions:
        bazaar:
          discoverable: true
          serviceName: Palmyr
          tags: []
          iconUrl: https://palmyr.ai/assets/bazaar-icon.png
          schema:
            properties:
              input:
                type: object
                additionalProperties: true
              output:
                type: object
                additionalProperties: true
          info:
            input:
              type: http
              method: GET
              queryParams: {}
            inputSchema:
              properties:
                queryParams:
                  type: object
                  additionalProperties: true
              required: []
            output:
              example: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      tags:
      - Domains
      operationId: getDomainsByDomainDns
      x-operation-id-source: derived
    post:
      summary: POST /domains/:domain/dns
      parameters:
      - name: domain
        in: path
        required: true
        description: 'Path parameter: domain'
        schema:
          type: string
      - name: X-Payment
        in: header
        required: true
        description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
        schema:
          type: string
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.01'
        protocols:
        - x402: {}
      extensions:
        bazaar:
          discoverable: true
          serviceName: Palmyr
          tags: []
          iconUrl: https://palmyr.ai/assets/bazaar-icon.png
          schema:
            properties:
              input:
                type: object
                additionalProperties: true
              output:
                type: object
                additionalProperties: true
          info:
            input:
              type: http
              method: POST
              bodyType: json
              body: {}
            inputSchema:
              properties:
                body:
                  type: object
                  additionalProperties: true
              required: []
            output:
              example: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      tags:
      - Domains
      operationId: postDomainsByDomainDns
      x-operation-id-source: derived
  /domains/{domain}:
    get:
      summary: GET /domains/:domain
      parameters:
      - name: domain
        in: path
        required: true
        description: 'Path parameter: domain'
        schema:
          type: string
      - name: X-Payment
        in: header
        required: true
        description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
        schema:
          type: string
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.01'
        protocols:
        - x402: {}
      extensions:
        bazaar:
          discoverable: true
          serviceName: Palmyr
          tags: []
          iconUrl: https://palmyr.ai/assets/bazaar-icon.png
          schema:
            properties:
              input:
                type: object
                additionalProperties: true
              output:
                type: object
                additionalProperties: true
          info:
            input:
              type: http
              method: GET
              queryParams: {}
            inputSchema:
              properties:
                queryParams:
                  type: object
                  additionalProperties: true
              required: []
            output:
              example: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      tags:
      - Domains
      operationId: getDomainsByDomain
      x-operation-id-source: derived
  /domains:
    get:
      summary: GET /domains
      parameters:
      - name: X-Payment
        in: header
        required: true
        description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
        schema:
          type: string
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.01'
        protocols:
        - x402: {}
      extensions:
        bazaar:
          discoverable: true
          serviceName: Palmyr
          tags: []
          iconUrl: https://palmyr.ai/assets/bazaar-icon.png
          schema:
            properties:
              input:
                type: object
                additionalProperties: true
              output:
                type: object
                additionalProperties: true
          info:
            input:
              type: http
              method: GET
              queryParams: {}
            inputSchema:
              properties:
                queryParams:
                  type: object
                  additionalProperties: true
              required: []
            output:
              example: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      tags:
      - Domains
      operationId: getDomains
      x-operation-id-source: derived
  /domains/register:
    post:
      summary: Register a domain for one year via Namecheap.
      description: 'Register a domain for one year via Namecheap. Pricing is dynamic per-TLD — the 402 challenge returns the exact USDC amount (~$10 typical). Body: { domain }'
      tags:
      - Domains
      parameters:
      - name: X-Payment
        in: header
        required: true
        description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
        schema:
          type: string
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '10'
        protocols:
        - x402: {}
      extensions:
        bazaar:
          discoverable: true
          serviceName: Palmyr Domains
          category: domains
          tags:
          - domains
          - domain
          - register
          - namecheap
          iconUrl: https://palmyr.ai/assets/bazaar-icon.png
          schema:
            properties:
              input:
                type: object
                additionalProperties: true
              output:
                type: object
                additionalProperties: true
          info:
            input:
              type: http
              method: POST
              bodyType: json
              body: {}
            inputSchema:
              properties:
                body:
                  type: object
                  additionalProperties: true
              required: []
            output:
              example: {}
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      operationId: postDomainsRegister
      x-operation-id-source: derived
components:
  securitySchemes:
    x402:
      type: apiKey
      in: header
      name: X-Payment
      description: x402 payment payload (Solana or EVM USDC). See the 402 challenge response on any paid endpoint.