Directories.ai API

Directories.ai API as documented publicly: 4 operations. Contract generated from the documentation by API Evangelist (2026-11-05); not the provider's own document.

Operations 4

GET /directories List all directories #
GET /directories/{id}/listings List listings #
POST /directories/{id}/listings Create listing #
POST /mcp Call the tools/list method to return the available tools and their input schemas. #

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/directories-ai:directories-ai-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

directories-ai-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Directories.ai API
  version: '2026-11-05'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-05: 4 operation(s) read from 2 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Directories.ai has published no machine-readable contract that
    the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 0
    documentation: 4
    pages-with-code: 1
    pages-read: 2
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-05'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://directories.ai/docs/api
  - https://directories.ai/docs/mcp-integration-guide
servers:
- url: https://api.directories.ai/v1
paths:
  /directories:
    get:
      operationId: get_directories
      tags:
      - Directories
      summary: List all directories
      x-source: https://directories.ai/docs/api
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetDirectoriesResponse'
      x-evidence:
        kind: documentation
  /directories/{id}/listings:
    get:
      operationId: get_directories_id_listings
      tags:
      - Directories
      summary: List listings
      x-source: https://directories.ai/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: page
        in: query
        required: false
        schema:
          type: integer
        description: 'Page number (default: 1)'
      - name: limit
        in: query
        required: false
        schema:
          type: integer
        description: 'Items per page (default: 20)'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_directories_id_listings
      tags:
      - Directories
      summary: Create listing
      x-source: https://directories.ai/docs/api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostDirectoriesIdListingsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /mcp:
    post:
      operationId: post_mcp
      tags:
      - Mcp
      summary: Call the tools/list method to return the available tools and their input schemas.
      description: The page shows a fetch example posting JSON‑RPC to https://directories.ai/mcp with method "tools/list".
      x-source: https://directories.ai/docs/mcp-integration-guide
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostMcpRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostMcpResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetDirectoriesResponse:
      type: object
      properties:
        id:
          type: string
          description: Directory identifier
        name:
          type: string
          description: Directory name
        slug:
          type: string
          description: URL-friendly slug
        created_at:
          type: string
          description: Creation timestamp
    PostDirectoriesIdListingsRequest:
      type: object
      properties:
        title:
          type: string
          description: Title of the listing
        description:
          type: string
          description: Description of the listing
        website_url:
          type: string
          description: Website URL of the listing
        category:
          type: string
          description: Category of the listing
      required:
      - title
      - description
      - website_url
      - category
    PostMcpRequest:
      type: object
      properties:
        jsonrpc:
          type: string
          description: JSON-RPC version, e.g., "2.0".
        id:
          type: integer
          description: Request identifier.
        method:
          type: string
          description: Must be "tools/list".
        params:
          type: object
          description: Optional parameters object (empty for tools/list).
      required:
      - jsonrpc
      - id
      - method
    PostMcpResponse:
      type: object
      properties:
        result:
          type: object
          description: Result object containing the list of tools and their schemas.
tags:
- name: Directories
- name: Mcp