{
  "openapi": "3.0.1",
  "info": {
    "title": "Clutch Reviews Scraper — Agencies, Reviews & Buyer Leads",
    "description": "Clutch.co scraper for agency research and lead lists. Get each agency's rating, hourly rate, min project size, team size, website and service mix, plus its reviews and the buyer behind each review. $1.40 per 1,000 agencies with reviews included; proxy usage extra.",
    "version": "0.1",
    "x-build-id": "PtVxCMXzg4aepjzHz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/peerless_columbine~clutch-companies-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-peerless_columbine-clutch-companies-reviews-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/peerless_columbine~clutch-companies-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-peerless_columbine-clutch-companies-reviews-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/peerless_columbine~clutch-companies-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-peerless_columbine-clutch-companies-reviews-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "startUrls"
        ],
        "properties": {
          "startUrls": {
            "title": "Clutch directories or company profiles",
            "type": "array",
            "description": "Clutch.co pages to scrape (required). Accepts directory/category/city pages, e.g. `https://clutch.co/agencies/ui-ux` (paginated, up to maxItems companies each), and single company profiles, e.g. `https://clutch.co/profile/clay-0` (one company each). Only public https://clutch.co URLs are accepted. Items may be plain URL strings or objects like {\"url\": \"...\"}. Duplicate companies across URLs are scraped once."
          },
          "includeCompanyReviews": {
            "title": "Include company reviews",
            "type": "boolean",
            "description": "Set true to include each company's public reviews (title, rating, date, quote, full text, per-dimension ratings) in a nested `reviews` array, following review pagination up to maxPages / maxReviewsPerCompany. If a later review page fails, the company row is marked coverage `partial` with a warning. No extra per-review fee. Required by reviewInsights and painPointAnalysis.",
            "default": false
          },
          "extractBuyerLeads": {
            "title": "Include buyer company and project records",
            "type": "boolean",
            "description": "Set true to add a `buyerLeads` array per company: one record per review with the reviewer's company, role, industry, size, location, project budget, length and category, plus review ID, rating, date and link. Fetches review pages even if includeCompanyReviews is false. Values Clutch does not publish stay null.",
            "default": false
          },
          "maxItems": {
            "title": "Companies per start URL",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of companies taken from each directory start URL (profile URLs always count as one). A ceiling, not a target: fewer are returned if the directory is shorter. Use a small value (e.g. 5) for a quick test. Allowed range: 1–100,000.",
            "default": 10000
          },
          "maxPages": {
            "title": "Maximum pages per directory or review thread",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Pagination ceiling, applied separately to each directory start URL (listing pages) and to each company's review pages. When it stops pagination early, run diagnostics in OUTPUT report that more pages remained. Set 1 for a quick test. Allowed range: 1–10,000.",
            "default": 2000
          },
          "maxReviewsPerCompany": {
            "title": "Maximum reviews per company",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of unique reviews kept per company (deduplicated by review ID). Only used when includeCompanyReviews or extractBuyerLeads is true. Compare `reviewsFetched` with `reviewCount` in the output to see whether the full history was collected. Allowed range: 1–100,000.",
            "default": 10000
          },
          "maxConcurrency": {
            "title": "Profile request concurrency",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Advanced, usually leave empty. Maximum number of company profiles fetched in parallel. If omitted: 5 in `balanced` mode, 100 in `competitor` mode. The Actor starts at minConcurrency and raises parallelism after successful profiles, lowering it after partial/failed ones. Must be ≥ minConcurrency. Example: `10`. Allowed range: 1–100."
          },
          "maxRequestRetries": {
            "title": "Transient request retries",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Advanced, usually leave empty. Retries per request for transient errors (timeouts, HTTP 429/5xx). If omitted: 2 in `balanced` mode, 100 in `competitor` mode. With a proxy, HTTP 403 is retried at most twice (to get a new exit IP); without a proxy, 403 fails immediately and is reported as an error row. Example: `3`. Allowed range: 0–100."
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify proxy settings. Recommended: Apify RESIDENTIAL proxy with country US, because Clutch often blocks direct cloud requests with HTTP 403 (proxy traffic is billed as platform usage). Example: {\"useApifyProxy\": true, \"apifyProxyGroups\": [\"RESIDENTIAL\"], \"apifyProxyCountry\": \"US\"}. If omitted, `balanced` mode uses no proxy and `competitor` mode uses Apify RESIDENTIAL. Set {\"useApifyProxy\": false} to disable explicitly."
          },
          "reviewInsights": {
            "title": "Review insights",
            "type": "boolean",
            "description": "Set true to add a rule-based `reviewInsights` object per company: rating breakdown, positive/mixed/negative split by star rating, keyword themes (communication, deadlines, quality, budget, project management) found in negative reviews with linked snippets, and improvement-request snippets. No AI and no extra fee. Requires includeCompanyReviews=true (the run fails otherwise).",
            "default": false
          },
          "enrichEmails": {
            "title": "Find public contact emails",
            "type": "boolean",
            "description": "Set true to visit each company's own website (homepage plus up to two same-site contact/about pages) and return email addresses published there, with source URLs, in `contactEmail` and `emailEnrichment`. Only emails actually shown on the pages; nothing is guessed. Website fetch failures are listed per company. Slows the run.",
            "default": false
          },
          "qualifyByPayment": {
            "title": "Identify online payment integrations",
            "type": "boolean",
            "description": "Set true to check the pages fetched by enrichEmails for embedded payment integrations (Stripe, PayPal, Shopify, Paddle, Lemon Squeezy, WooCommerce, Square, Chargebee) and fill `takesPayments`, `paymentProcessors` and `paymentEvidence`. No visible integration = unknown (null), not proof of no payments; it never measures revenue. Requires enrichEmails=true (the run fails otherwise).",
            "default": false
          },
          "maxCostUsd": {
            "title": "Company event budget (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Optional spending cap in USD for this Actor's per-company result fees across all start URLs; the run stops adding companies once the cap would be exceeded. 0 = no extra cap (only the Apify run's maximum total charge applies). Does not cap platform compute, proxy, storage or AI-provider costs. Example: `0.5` (about 350 companies at $1.40 per 1,000). Minimum: 0.",
            "default": 0
          },
          "painPointAnalysis": {
            "title": "AI pain-point analysis",
            "type": "boolean",
            "description": "Set true to run an AI summary of each company's reviews: overall sentiment, complaint themes with severity, strengths, dealbreakers and quick wins, each linked to review IDs. Uses up to 200 reviews per company, first 1,500 characters of each. Requires includeCompanyReviews=true. Billed by the AI provider (see aiProvider), outside maxCostUsd. If the AI call fails, reviews are still returned with a warning.",
            "default": false
          },
          "compatibilityMode": {
            "title": "Default configuration mode",
            "enum": [
              "balanced",
              "competitor"
            ],
            "type": "string",
            "description": "Preset for options you leave empty. `balanced` (default): maxConcurrency 5, minConcurrency 1, maxRequestRetries 2, no proxy. `competitor`: maxConcurrency 100, minConcurrency 1, maxRequestRetries 100, Apify RESIDENTIAL proxy (billed as proxy usage). Any value you set explicitly overrides the preset. Accepted values: `balanced` = Balanced defaults; `competitor` = Competitor defaults.",
            "default": "balanced"
          },
          "minConcurrency": {
            "title": "Minimum profile concurrency",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Advanced, leave at default unless tuning speed. Starting (and lowest) number of company profiles fetched in parallel; it grows toward maxConcurrency after successful profiles. Must not exceed maxConcurrency (the run fails otherwise). Allowed range: 1–100.",
            "default": 1
          },
          "aiProvider": {
            "title": "AI provider",
            "enum": [
              "apify",
              "openrouter"
            ],
            "type": "string",
            "description": "Only used when painPointAnalysis=true. `apify` (default): Apify's OpenRouter service, billed to the running Apify account (that account must have access to it). `openrouter`: direct OpenRouter API billed to your OpenRouter account; requires openrouterApiKey. There is no automatic fallback between providers. Accepted values: `apify` = Apify OpenRouter service; `openrouter` = OpenRouter with your own key.",
            "default": "apify"
          },
          "openrouterApiKey": {
            "title": "Your OpenRouter API key",
            "type": "string",
            "description": "Your own OpenRouter API key (secret input). Only needed when painPointAnalysis=true and aiProvider=`openrouter`; otherwise leave empty. Sent only to the official OpenRouter API and never written to the output. Format: OpenRouter key string, e.g. `sk-or-v1-…`."
          },
          "aiModel": {
            "title": "AI model",
            "enum": [
              "google/gemini-2.5-flash-lite",
              "nex-agi/nex-n2.5-mini:free"
            ],
            "type": "string",
            "description": "Model for painPointAnalysis (ignored otherwise). `google/gemini-2.5-flash-lite` (default, paid) works with both providers. `nex-agi/nex-n2.5-mini:free` requires aiProvider=`openrouter` plus openrouterApiKey; its availability and rate limits are set by OpenRouter and it has not been verified live. No fallback to a paid model. Accepted values: `google/gemini-2.5-flash-lite` = Gemini 2.5 Flash Lite — paid; `nex-agi/nex-n2.5-mini:free` = Nex N2.5 Mini — free variant.",
            "default": "google/gemini-2.5-flash-lite"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}