{
  "openapi": "3.0.1",
  "info": {
    "title": "Clutch Scraper",
    "description": "Scrape Clutch.co agencies and B2B service providers by category, location, budget, hourly rate, team size and industry: rating, reviews, rates, min project size, employees, offices, service lines with %, website. Client reviews with sub-ratings too.",
    "version": "0.1",
    "x-build-id": "K0VdV07dGOw2hYgJR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automly~clutch-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automly-clutch-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/automly~clutch-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automly-clutch-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/automly~clutch-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automly-clutch-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",
        "properties": {
          "scrapeType": {
            "title": "What to save",
            "enum": [
              "companies",
              "reviews"
            ],
            "type": "string",
            "description": "Companies (one row per agency or service provider), or the client reviews of the companies found (one row per review).",
            "default": "companies"
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Clutch categories to list, as they appear in Clutch links: web-developers, agencies/digital-marketing, seo-firms, developers/artificial-intelligence, it-services/msp. You can also paste a category link.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Cities, states or countries to search each category in: New York, Chicago, California, United Kingdom, London, UK, Berlin, Germany, Toronto, Canada. For a city outside the US, add its country after a comma. If a place is not found, paste the Clutch link of that location's page under Clutch links instead.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Clutch links",
            "type": "array",
            "description": "Or paste Clutch links, one per line: any directory page with your filters (clutch.co/web-developers/chicago?hourly_rate=%2450+-+%2499) or a company profile (clutch.co/profile/simform). Profile links always come with full company details.",
            "items": {
              "type": "string"
            }
          },
          "budget": {
            "title": "Client budget",
            "enum": [
              "any",
              "5000",
              "10000",
              "25000",
              "50000",
              "100000",
              "250000"
            ],
            "type": "string",
            "description": "Only companies that take projects of this budget (their minimum project size fits it). The filters apply to the categories above; Clutch links keep the filters already in them.",
            "default": "any"
          },
          "hourlyRates": {
            "title": "Hourly rates",
            "type": "array",
            "description": "Only companies in these hourly rate bands (any of them).",
            "items": {
              "type": "string",
              "enum": [
                "< $25",
                "$25 - $49",
                "$50 - $99",
                "$100 - $149",
                "$150 - $199",
                "$200 - $300",
                "$300+"
              ],
              "enumTitles": [
                "< $25 / hr",
                "$25 - $49 / hr",
                "$50 - $99 / hr",
                "$100 - $149 / hr",
                "$150 - $199 / hr",
                "$200 - $300 / hr",
                "$300+ / hr"
              ]
            }
          },
          "employees": {
            "title": "Company size",
            "type": "array",
            "description": "Only companies with this many employees (any of them).",
            "items": {
              "type": "string",
              "enum": [
                "Freelancer",
                "2 - 9",
                "10 - 49",
                "50 - 249",
                "250 - 999",
                "1,000 - 9,999",
                "10,000+"
              ],
              "enumTitles": [
                "Freelancer",
                "2 - 9 employees",
                "10 - 49 employees",
                "50 - 249 employees",
                "250 - 999 employees",
                "1,000 - 9,999 employees",
                "10,000+ employees"
              ]
            }
          },
          "industries": {
            "title": "Industry focus",
            "type": "array",
            "description": "Only companies that serve these industries (any of them).",
            "items": {
              "type": "string",
              "enum": [
                "Advertising & marketing",
                "Arts, entertainment & music",
                "Automotive",
                "Beauty",
                "Business services",
                "Construction",
                "Consumer products & services",
                "Contracting",
                "eCommerce",
                "Education",
                "Energy & natural resources",
                "Financial services",
                "Fitness",
                "Food & Beverage",
                "Gambling",
                "Gaming",
                "Government",
                "GPS, Navigation & GIS",
                "Hospitality & leisure",
                "Information technology",
                "Insurance",
                "Legal",
                "Legal Cannabis",
                "Manufacturing",
                "Media",
                "Medical",
                "Non-profit",
                "Other industries",
                "Politics",
                "Real estate",
                "Recreation",
                "Retail",
                "Sports",
                "Supply Chain, Logistics, and Transport",
                "Telecommunications",
                "Utilities"
              ]
            }
          },
          "minReviews": {
            "title": "Minimum reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Only companies with at least this many reviews on Clutch, like 5, 10 or 20. 0 for any."
          },
          "maxCompanies": {
            "title": "Max companies per search or link",
            "minimum": 0,
            "type": "integer",
            "description": "How many companies to save for each search or link (on a reviews run: how many companies to read reviews from). 0 saves all of them.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include company details",
            "type": "boolean",
            "description": "Open each company's profile to add its tagline, description, founding year, every office, languages, industries and client sizes with %, focus areas, badges and social links. Slower, and charged as a detailed company.",
            "default": false
          },
          "maxReviewsPerCompany": {
            "title": "Max reviews per company",
            "minimum": 0,
            "type": "integer",
            "description": "For a reviews run: how many reviews to save for each company. 0 saves all of them.",
            "default": 20
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "default",
              "date_desc",
              "rating_desc",
              "rating_asc"
            ],
            "type": "string",
            "description": "For a reviews run with a limit per company: which reviews to pick first (newest, highest or lowest rated).",
            "default": "default"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "The default works for most runs. If results come back empty, try a different proxy option.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}