Name.ai Market API

The Market API from Name.ai — 1 operation(s) for market.

GitHub OpenAPI

Operations 1

GET /api/market/listings Browse marketplace (aftermarket) domain listings #

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/name-ai:name-ai-market-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

name-ai-market-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Name.ai API — public REST API (OpenAPI 3.1) Market API
  version: 1.3.0
  description: 'Public, no-authentication-required endpoints for domain search/availability, WHOIS lookup, and TLD pricing/requirements. These are the same endpoints backing the name.ai MCP server (see /.well-known/mcp.json) — this spec documents them as plain REST for any client that isn''t speaking MCP.


    Versioning: the unauthenticated endpoints below are the stable public surface and are additive-only (fields are added, never removed or renamed, without a new path). Keyed partner/developer endpoints are URL-path versioned under /api/v1/ (documented below). Deprecations are announced with Deprecation and Sunset response headers (RFC 9745 / RFC 8594) at least 90 days before removal, and in the changelog at https://name.ai/developers. Errors use one typed shape (see components.schemas.Error). List endpoints paginate with a `page` object: follow `page.next_cursor` until it is null (preferred), or step `offset` by `limit` until `offset >= total`. Both work on the same endpoint. Many items at once: POST /api/batch takes up to 20 read operations in one request. Rate limits: every public endpoint returns IETF RateLimit-Limit / RateLimit-Remaining / RateLimit-Reset / RateLimit-Policy headers, and 429s carry Retry-After. Retries: send an Idempotency-Key header on POST operations. Sandbox: the public read endpoints need none — they are free, unauthenticated and safe to call repeatedly. The Partner API has one, selected by the `environment` on your credential rather than by a separate hostname, so the same /api/partner/v1 paths serve sandbox and live; sandbox credentials are issued on approval and sandbox orders fire real signed webhooks (https://name.ai/syndicate-partners/sandbox).'
  contact:
    url: https://name.ai/get-in-touch
servers:
- url: https://name.ai
  description: Production, and the Partner API sandbox — the credential’s environment selects which inventory tier answers.
tags:
- name: Market
paths:
  /api/market/listings:
    get:
      operationId: listMarketListings
      summary: Browse marketplace (aftermarket) domain listings
      description: Public. Cursor- or offset-paginated (see the Page schema; cursor is preferred for walking the whole list). Buy-now/floor prices are null unless the caller sends a Bearer token with scope pricing:read (see /auth.md).
      security:
      - {}
      - oauth2:
        - pricing:read
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 200
          default: 24
      - name: offset
        in: query
        schema:
          type: integer
          minimum: 0
          default: 0
      - name: cursor
        in: query
        description: Opaque cursor from a previous response’s page.next_cursor. Wins over offset when both are sent. A cursor issued for different filters or a different sort is rejected with 400 invalid_cursor.
        schema:
          type: string
      - name: q
        in: query
        description: Substring filter on the domain name.
        schema:
          type: string
      - name: tld
        in: query
        schema:
          type: string
      - name: max
        in: query
        description: Maximum buy-now price, USD.
        schema:
          type: number
      - name: sort
        in: query
        schema:
          type: string
          enum:
          - newest
          - price_asc
          - price_desc
          default: newest
      responses:
        '200':
          description: One page of listings. Deprecation/Sunset/Link headers appear only once the operation is deprecated (see x-deprecation-policy).
          content:
            application/json:
              schema:
                type: object
                required:
                - items
                - page
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/MarketListing'
                  page:
                    $ref: '#/components/schemas/Page'
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '400':
          $ref: '#/components/responses/BadRequest'
      tags:
      - Market
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - message
          - code
          properties:
            message:
              type: string
              description: Human-readable explanation.
            code:
              type: string
              description: Machine-readable error code, e.g. bad_request, unauthorized, validation_error, lookup_failed, quota_exceeded, not_found, rate_limited, invalid_grant.
    Page:
      type: object
      description: 'Pagination. Two ways to walk a list and they interoperate: follow page.next_cursor until it is null (preferred — a cursor names the row you stopped at, so rows inserted or removed while you page cannot shift the window under you), or add limit to offset until offset >= total. next_cursor is returned on offset pages too, so you can switch part-way through.'
      required:
      - limit
      - offset
      - total
      - has_more
      - next_cursor
      properties:
        limit:
          type: integer
          minimum: 1
          maximum: 200
        offset:
          type: integer
          minimum: 0
          description: Offset applied to this request. 0 on a page fetched with a cursor, where no offset was used.
        total:
          type: integer
          minimum: 0
          description: Total matching items across all pages.
        has_more:
          type: boolean
          description: Whether a further page exists. Exact — not inferred from the page being full.
        next_cursor:
          type:
          - string
          - 'null'
          description: Opaque cursor for the next page, or null on the last one. Valid only for the filters and sort order it was issued with; reusing it with different ones returns 400 invalid_cursor rather than a wrong window.
    MarketListing:
      type: object
      properties:
        id:
          type: string
          format: uuid
        domain:
          type: string
        tld:
          type: string
        price:
          type: object
          properties:
            bin:
              type:
              - number
              - 'null'
              description: Buy-now price in USD. null when the caller is not authenticated with pricing:read.
            floor:
              type:
              - number
              - 'null'
            currency:
              type: string
              example: USD
        approved:
          type: boolean
        marketplace_visible:
          type: boolean
        created_at:
          type: string
          format: date-time
  headers:
    Sunset:
      description: Date after which a deprecated operation is removed (RFC 8594).
      schema:
        type: string
        format: date-time
    Link:
      description: 'On deprecated operations: <url>; rel="successor-version" pointing at the replacement.'
      schema:
        type: string
    Deprecation:
      description: Present on deprecated operations (RFC 9745).
      schema:
        type: string
  responses:
    BadRequest:
      description: Malformed or invalid request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    oauth2:
      type: oauth2
      description: Optional — only /api/domain/search reads it, and only to unmask aftermarket prices. Every endpoint in this spec works with no auth at all. See /AUTH.md for the full flow (RFC 7591 dynamic client registration, PKCE required, no client secret).
      flows:
        authorizationCode:
          authorizationUrl: https://name.ai/oauth/authorize
          tokenUrl: https://name.ai/api/oauth/token
          scopes:
            pricing:read: See real marketplace/aftermarket prices instead of the signed-out placeholder.
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Developer/partner key. Send x-api-key and x-api-secret headers. Keys are issued self-serve at POST /api/v1/keys by a signed-in user.
    sessionCookie:
      type: apiKey
      in: cookie
      name: next-auth.session-token
      description: A signed-in name.ai browser session.
x-api-versioning:
  strategy: url-path
  current: v1
  deprecationSignal:
  - Deprecation
  - Sunset
  minimumNoticeDays: 90
x-deprecation-policy:
  signals:
  - Deprecation
  - Sunset
  - Link rel="deprecation"
  minimumNoticeDays: 90
  changelog: https://name.ai/developers
  summary: 'A deprecated operation returns Deprecation: true and Sunset: <RFC 9111 date> on every response for at least 90 days before removal; the replacement is linked via Link: <url>; rel="successor-version".'