{
  "openapi": "3.0.1",
  "info": {
    "title": "Clutch B2B Agencies & Verified Leads Scraper",
    "description": "Extract verified B2B agencies, software developers, marketing firms, hourly rates, project sizes, verified client reviews, and direct website contacts from Clutch.co.",
    "version": "0.1",
    "x-build-id": "uW14mFMDPbzRhlUbU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/trusted_tech_spot~clutch-b2b-agencies-leads-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-trusted_tech_spot-clutch-b2b-agencies-leads-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/trusted_tech_spot~clutch-b2b-agencies-leads-scraper/runs": {
      "post": {
        "operationId": "runs-sync-trusted_tech_spot-clutch-b2b-agencies-leads-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/trusted_tech_spot~clutch-b2b-agencies-leads-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-trusted_tech_spot-clutch-b2b-agencies-leads-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": {
          "categoryOrUrl": {
            "title": "⚡ 1-Click Instant Run - Category or Directory URL",
            "type": "string",
            "description": "Clutch category slug (e.g. 'web-developers', 'mobile-app-development', 'digital-marketing', 'software-developers') or direct Clutch.co directory/search URL.",
            "default": "web-developers"
          },
          "location": {
            "title": "Location / Country / City Filter",
            "type": "string",
            "description": "Target geographic region, state or country (e.g., 'United States', 'United Kingdom', 'Canada', 'Germany', 'New York'). Leave empty to include all locations.",
            "default": "United States"
          },
          "maxResults": {
            "title": "Maximum Agencies Count",
            "type": "integer",
            "description": "Maximum number of qualified B2B agency leads to extract and structure.",
            "default": 20
          },
          "minProjectSize": {
            "title": "Minimum Project Size Filter",
            "enum": [
              "Any",
              "$1,000+",
              "$5,000+",
              "$10,000+",
              "$25,000+",
              "$50,000+",
              "$100,000+"
            ],
            "type": "string",
            "description": "Optional minimum project size threshold (e.g., 'Any', '$5,000+', '$10,000+', '$25,000+', '$50,000+').",
            "default": "Any"
          },
          "hourlyRate": {
            "title": "Hourly Rate Filter Band",
            "enum": [
              "Any",
              "< $25 / hr",
              "$25 - $49 / hr",
              "$50 - $99 / hr",
              "$100 - $149 / hr",
              "$150 - $199 / hr",
              "$200+ / hr"
            ],
            "type": "string",
            "description": "Filter by agency hourly rate bracket (e.g. 'Any', '< $25 / hr', '$25 - $49 / hr', '$50 - $99 / hr', '$100 - $149 / hr', '$150 - $199 / hr', '$200 - $300 / hr').",
            "default": "Any"
          },
          "includeKeywords": {
            "title": "Include Keywords (Filter)",
            "type": "string",
            "description": "Filter results to only include agencies matching comma-separated keywords in their profile, bio, or service focus (e.g. 'React, Python, AI').",
            "default": ""
          },
          "excludeKeywords": {
            "title": "Exclude Keywords (Filter)",
            "type": "string",
            "description": "Filter out agencies containing these comma-separated keywords (e.g. 'Staffing, WordPress').",
            "default": ""
          },
          "enrichmentMode": {
            "title": "Data Enrichment Tier",
            "enum": [
              "Enriched",
              "Standard",
              "Basic"
            ],
            "type": "string",
            "description": "Select enrichment level: 'Enriched' derives Bayesian rating confidence, normalized pricing, deliverable contact channels, data completeness score, and cryptographic deduplication fingerprints.",
            "default": "Enriched"
          },
          "enableRagEnrichment": {
            "title": "Enable AI / Vector Ingestion & RAG Metadata",
            "type": "boolean",
            "description": "Automatically calculate cl100k token counts and output pre-chunked semantic passages optimized for LangChain, LlamaIndex, and OpenAI vector embeddings.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}