{
  "openapi": "3.0.1",
  "info": {
    "title": "Clutch.co Company Scraper",
    "description": "Scrape Clutch.co company listings, profiles, and reviews by directory URL or service + location search. Optional company details and paginated reviews with pay-per-event charging.",
    "version": "1.0",
    "x-build-id": "e6UTm7dReznSsVy8R"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rigelbytes~clutch-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rigelbytes-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/rigelbytes~clutch-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rigelbytes-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/rigelbytes~clutch-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rigelbytes-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": {
          "startUrls": {
            "title": "Clutch URLs",
            "type": "array",
            "description": "Directory or company profile URLs copied from clutch.co (e.g. https://clutch.co/app-developers/nyc or https://clutch.co/profile/designli). When provided, URLs are used and search fields below are ignored.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchQuery": {
            "title": "Service / category",
            "type": "string",
            "description": "Clutch service to search (e.g. Mobile App Development). Ignored when Clutch URLs are provided."
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City, region, or country (e.g. New York). Leave empty for any location. Ignored when Clutch URLs are provided."
          },
          "maxItems": {
            "title": "Max companies",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of companies to scrape (0 = unlimited)",
            "default": 0
          },
          "scrapeCompanyDetails": {
            "title": "Scrape company details",
            "type": "boolean",
            "description": "Visit each company profile and extract website, phone, description, locations, and other profile fields. Charged as company-details.",
            "default": false
          },
          "scrapeReviews": {
            "title": "Scrape company reviews",
            "type": "boolean",
            "description": "Fetch all paginated reviews for each company. Charged as company-reviews.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "",
              "Sponsorship",
              "Verification",
              "ClutchRank",
              "NumberOfReviews",
              "ReviewRating",
              "CompanyName"
            ],
            "type": "string",
            "description": "Directory sort order. Applied only when using Service / category search (not URLs).",
            "default": ""
          },
          "agencySize": {
            "title": "Company size",
            "uniqueItems": true,
            "type": "array",
            "description": "Filter by number of employees. Applied only when using Service / category search.",
            "items": {
              "type": "string",
              "enum": [
                "Freelancer",
                "2 - 9",
                "10 - 49",
                "50 - 249",
                "250 - 999",
                "1,000 - 9,999",
                "10,000+"
              ],
              "enumTitles": [
                "Freelance",
                "2 - 9",
                "10 - 49",
                "50 - 249",
                "250 - 999",
                "1,000 - 9,999",
                "10,000+"
              ]
            }
          },
          "hourlyRate": {
            "title": "Hourly rate",
            "uniqueItems": true,
            "type": "array",
            "description": "Filter by average hourly rate. Applied only when using Service / category search.",
            "items": {
              "type": "string",
              "enum": [
                "0-25",
                "25-49",
                "50-99",
                "100-149",
                "150-199",
                "200-300",
                "300"
              ],
              "enumTitles": [
                "< $25",
                "$25 - $49",
                "$50 - $99",
                "$100 - $149",
                "$150 - $199",
                "$200 - $300",
                "$300+"
              ]
            }
          },
          "clientBudget": {
            "title": "Client budget",
            "enum": [
              "",
              "5000",
              "10000",
              "25000",
              "50000",
              "75000",
              "100000",
              "250000"
            ],
            "type": "string",
            "description": "Maximum typical project budget. Applied only when using Service / category search.",
            "default": ""
          },
          "minReviews": {
            "title": "Minimum reviews",
            "enum": [
              "",
              "1",
              "3",
              "5",
              "10",
              "15",
              "20"
            ],
            "type": "string",
            "description": "Only include companies with at least this many reviews. Applied only when using Service / category search.",
            "default": ""
          },
          "verifiedOnly": {
            "title": "Verified companies only",
            "type": "boolean",
            "description": "Only include Clutch-verified companies. Applied only when using Service / category search.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify proxy settings. Residential proxies are recommended.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}