Name.ai Tools API

The Tools API from Name.ai — 3 operation(s) for tools.

GitHub OpenAPI

Operations 3

POST /api/tools/whois WHOIS/RDAP lookup for a domain #
POST /api/tools/{slug} Run a free tool; long-running tools return an async job ticket #
GET /api/tools/{slug}/status/{jobId} Poll an async tool job #

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-tools-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-tools-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Name.ai API — public REST API (OpenAPI 3.1) Tools 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: Tools
paths:
  /api/tools/whois:
    post:
      operationId: whoisLookup
      summary: WHOIS/RDAP lookup for a domain
      description: Looks up registrar, registrant, creation/expiration dates, and nameservers via RDAP (falling back to DomainIQ). Rate-limited to 10 lookups/day per caller IP for anonymous callers.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - domain
              properties:
                domain:
                  type: string
                  example: example.com
      responses:
        '201':
          description: Lookup succeeded. Deprecation/Sunset/Link headers appear only once the operation is deprecated (see x-deprecation-policy).
          content:
            application/json:
              schema:
                type: object
                properties:
                  lookup:
                    type: object
                    properties:
                      id:
                        type:
                        - string
                        - 'null'
                      domain:
                        type: string
                      result:
                        type: object
                        properties:
                          domain:
                            type: string
                          status:
                            type: string
                          registrar:
                            type: string
                          registrant:
                            type: string
                          creation_date:
                            type: string
                          expiration_date:
                            type: string
                          update_date:
                            type: string
                          nameservers:
                            type: array
                            items:
                              type: string
                          emails:
                            type: array
                            items:
                              type: string
                          raw_source:
                            type: string
                            enum:
                            - RDAP
                            - DomainIQ
                      created_at:
                        type: string
                        format: date-time
                  used:
                    type: integer
                  cap:
                    type: integer
                    example: 10
                  remaining:
                    type: integer
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
            Idempotency-Key:
              $ref: '#/components/headers/Idempotency-Key'
            Idempotent-Replayed:
              $ref: '#/components/headers/Idempotent-Replayed'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '400':
          description: Invalid domain name.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: WHOIS data unavailable for this domain.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Daily lookup quota exceeded (10/day per IP for anonymous callers).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              $ref: '#/components/headers/Retry-After'
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      tags:
      - Tools
  /api/tools/{slug}:
    post:
      operationId: runFreeTool
      summary: Run a free tool; long-running tools return an async job ticket
      description: Public. Runs one of the free tools listed at /tools. Fast tools answer 200 with the result inline. Long-running tools (e.g. slug "seo-crawl") answer 202 Accepted with a job id and a Location header pointing at the status endpoint to poll.
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
        example: seo-crawl
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: 'Tool-specific input (e.g. {"url": "https://example.com"} for seo-crawl).'
              additionalProperties: true
      responses:
        '200':
          description: Completed inline. Deprecation/Sunset/Link headers appear only once the operation is deprecated (see x-deprecation-policy).
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  cached:
                    type: boolean
                  result:
                    type: object
                    additionalProperties: true
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '202':
          description: Accepted — the job is running. Poll the Location header (also given as result.status_url). Deprecation/Sunset/Link headers appear only once the operation is deprecated (see x-deprecation-policy).
          headers:
            Location:
              $ref: '#/components/headers/Location'
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  cached:
                    type: boolean
                    enum:
                    - false
                  result:
                    type: object
                    required:
                    - mode
                    - jobId
                    - status_url
                    properties:
                      mode:
                        type: string
                        enum:
                        - async
                      jobId:
                        type: string
                      status_url:
                        type: string
        '400':
          description: Invalid input for this tool.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Unknown tool slug.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Per-IP tool quota exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              $ref: '#/components/headers/Retry-After'
      tags:
      - Tools
  /api/tools/{slug}/status/{jobId}:
    get:
      operationId: getFreeToolJobStatus
      summary: Poll an async tool job
      description: Returns the current state of a job ticket issued by POST /api/tools/{slug} (202). Keep polling until status is a terminal value.
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      - name: jobId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Job state. Deprecation/Sunset/Link headers appear only once the operation is deprecated (see x-deprecation-policy).
          content:
            application/json:
              schema:
                type: object
                required:
                - status
                properties:
                  status:
                    type: string
                    description: queued | running | done | failed
                  result:
                    type: object
                    additionalProperties: true
                  error:
                    type: string
                additionalProperties: true
          headers:
            Deprecation:
              $ref: '#/components/headers/Deprecation'
            Sunset:
              $ref: '#/components/headers/Sunset'
            Link:
              $ref: '#/components/headers/Link'
        '400':
          description: Invalid job id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Unknown tool or job.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Tools
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.
  headers:
    Retry-After:
      description: Seconds to wait before retrying (sent with 429).
      schema:
        type: integer
    RateLimit-Policy:
      description: Quota policy, e.g. "10;w=86400".
      schema:
        type: string
    Sunset:
      description: Date after which a deprecated operation is removed (RFC 8594).
      schema:
        type: string
        format: date-time
    Idempotent-Replayed:
      description: '"true" when this response was replayed from a previous request with the same Idempotency-Key (no new lookup, no quota consumed).'
      schema:
        type: string
        enum:
        - 'true'
    Location:
      description: Where to poll for the result of an accepted asynchronous job.
      schema:
        type: string
    RateLimit-Limit:
      description: Requests allowed in the current window (IETF RateLimit header fields).
      schema:
        type: integer
    RateLimit-Remaining:
      description: Requests remaining in the current window.
      schema:
        type: integer
    Link:
      description: 'On deprecated operations: <url>; rel="successor-version" pointing at the replacement.'
      schema:
        type: string
    RateLimit-Reset:
      description: Seconds until the window resets.
      schema:
        type: integer
    Deprecation:
      description: Present on deprecated operations (RFC 9745).
      schema:
        type: string
    Idempotency-Key:
      description: Echo of the request Idempotency-Key.
      schema:
        type: string
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      description: 'Client-generated unique key (e.g. a UUID) for safe retries. Scoped to the caller. On /api/tools/whois a repeat within 24h replays the stored response without a second lookup or quota hit (Idempotent-Replayed: true); on /api/domain/search the operation is idempotent by nature and the key is echoed.'
      schema:
        type: string
        maxLength: 255
  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".'