{
  "openapi": "3.0.1",
  "info": {
    "title": "Clutch.co Agency Reviews Scraper",
    "description": "Scrape client reviews posted on Clutch.co agency profiles. Collect review ratings, text, project details, reviewer information, and company ratings, with filters for location, review score, and company size.",
    "version": "0.1",
    "x-build-id": "4P1ceVtnDEdWEjVut"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/morkerr~clutch-co-agency-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-morkerr-clutch-co-agency-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/morkerr~clutch-co-agency-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-morkerr-clutch-co-agency-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/morkerr~clutch-co-agency-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-morkerr-clutch-co-agency-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 URLs",
            "type": "array",
            "description": "Mix directory URLs and company profile URLs. The actor detects /profile/ URLs and scrapes their reviews; directory URLs are paginated to discover company profiles. #reviews and page query parameters are supported.",
            "items": {
              "type": "string"
            },
            "default": [
              "https://clutch.co/agencies/digital-marketing",
              "https://clutch.co/profile/ignite-visibility"
            ]
          },
          "maxPagesPerDirectory": {
            "title": "Maximum directory pages",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum listing pages to visit for each directory URL. Set lower to limit runtime; the actor stops early when a page has no companies.",
            "default": 100
          },
          "maxCompanies": {
            "title": "Maximum companies",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum company profiles to visit in one run.",
            "default": 100
          },
          "maxReviewsPerCompany": {
            "title": "Maximum reviews per company",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Set to 0 to collect every matching review across the pages allowed below.",
            "default": 100
          },
          "maxReviewPagesPerCompany": {
            "title": "Maximum review pages per company",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum paginated review pages to visit for each company profile. Review rating filters apply across all visited pages; scraping stops at this page limit or the review-count limit.",
            "default": 100
          },
          "minCompanyRating": {
            "title": "Minimum company rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Only include companies with at least this overall Clutch rating. 0 disables this filter.",
            "default": 0
          },
          "minCompanyReviews": {
            "title": "Minimum company review count",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Only include companies with at least this many Clutch reviews. 0 disables this filter.",
            "default": 0
          },
          "minHourlyRate": {
            "title": "Minimum hourly rate (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "A company passes when its published hourly range overlaps this value.",
            "default": 0
          },
          "maxHourlyRate": {
            "title": "Maximum hourly rate (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "A company passes when its published hourly range overlaps this value. 0 means no upper limit.",
            "default": 0
          },
          "minEmployees": {
            "title": "Minimum employees",
            "minimum": 0,
            "type": "integer",
            "description": "A company passes when its published employee range overlaps this value.",
            "default": 0
          },
          "maxEmployees": {
            "title": "Maximum employees",
            "minimum": 0,
            "type": "integer",
            "description": "A company passes when its published employee range overlaps this value. 0 means no upper limit.",
            "default": 0
          },
          "location": {
            "title": "Company location contains",
            "type": "string",
            "description": "Case-insensitive text match against the company location, e.g. United States or San Diego.",
            "default": ""
          },
          "minReviewRating": {
            "title": "Minimum individual review rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Only output review records with at least this rating. 0 disables this filter.",
            "default": 0
          },
          "maxReviewRating": {
            "title": "Maximum individual review rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "0 means no upper limit.",
            "default": 0
          },
          "pageTimeoutSecs": {
            "title": "Page timeout (seconds)",
            "minimum": 10,
            "maximum": 300,
            "type": "integer",
            "description": "Maximum navigation time for each Clutch page.",
            "default": 60
          },
          "captchaWaitSecs": {
            "title": "Wait for CAPTCHA or security challenge (seconds)",
            "minimum": 0,
            "maximum": 120,
            "type": "integer",
            "description": "When Clutch shows a CAPTCHA or browser verification challenge, wait this long for it to clear automatically before continuing. The actor does not solve CAPTCHAs.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional Apify Proxy. Enable it and choose available proxy groups or a country. Proxy usage may incur charges on your Apify account.",
            "default": {
              "useApifyProxy": false,
              "apifyProxyGroups": []
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}