{
  "openapi": "3.1.0",
  "info": {
    "title": "Clutch B2B Agency Directory",
    "version": "1.0",
    "description": "B2B agencies from Clutch as JSON: rating, reviews, hourly rate, size, location\n\nCalled through the ApiClay gateway with an ApiClay token or API key (https://apiclay.com/dashboard/keys). Pricing, trial, fees and full parameter notes: https://apiclay.com/api/clutchcompanies/llms.txt",
    "x-apiclay-vendor": "clutchcompanies",
    "x-apiclay-pricing": "0.01 credits/request, 10 trial requests"
  },
  "externalDocs": {
    "description": "Full documentation for AI agents (Markdown)",
    "url": "https://apiclay.com/api/clutchcompanies/llms.txt"
  },
  "servers": [
    {
      "url": "https://api.apiclay.com/v1/api/clutchcompanies"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    },
    {
      "tokenHeader": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "ApiClay API key (apiclay_…) or session token"
      },
      "tokenHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "token",
        "description": "ApiClay API key (apiclay_…) or session token"
      }
    }
  },
  "paths": {
    "/companies": {
      "get": {
        "operationId": "get_companies",
        "summary": "Companies in a category",
        "responses": {
          "200": {
            "description": "The upstream response (JSON unless the route or `X-ApiClay-Html` chooses another output)"
          },
          "default": {
            "description": "Gateway error, JSON: SOURCE_UNAVAILABLE = upstream or datasource failed, unknown path, or malformed request; POLICY_LIMIT_EXCEEDED = rate limit, daily cap, or the vendor's request policy was hit; SERVER_BUSY = gateway at capacity; retry with backoff; INSUFFICIENT_BALANCE = no credits left once trial and plan requests are used up; AUTH_FAILED = missing or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Results page: 0, 1, 2 ..."
            },
            "description": "Results page: 0, 1, 2 ..."
          },
          {
            "name": "category",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Category from a Clutch link, e.g. web-developers, app-developers, seo-firms"
            },
            "description": "Category from a Clutch link, e.g. web-developers, app-developers, seo-firms"
          }
        ]
      }
    },
    "/companies/in": {
      "get": {
        "operationId": "get_companies_in",
        "summary": "Companies in a sub-category or country",
        "responses": {
          "200": {
            "description": "The upstream response (JSON unless the route or `X-ApiClay-Html` chooses another output)"
          },
          "default": {
            "description": "Gateway error, JSON: SOURCE_UNAVAILABLE = upstream or datasource failed, unknown path, or malformed request; POLICY_LIMIT_EXCEEDED = rate limit, daily cap, or the vendor's request policy was hit; SERVER_BUSY = gateway at capacity; retry with backoff; INSUFFICIENT_BALANCE = no credits left once trial and plan requests are used up; AUTH_FAILED = missing or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Results page: 0, 1, 2 ..."
            },
            "description": "Results page: 0, 1, 2 ..."
          },
          {
            "name": "category",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "description": "First part of a Clutch link, e.g. agencies or web-developers"
            },
            "description": "First part of a Clutch link, e.g. agencies or web-developers"
          },
          {
            "name": "subcategory",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Second part, e.g. digital-marketing or india"
            },
            "description": "Second part, e.g. digital-marketing or india"
          }
        ]
      }
    }
  }
}
