{
  "openapi": "3.0.1",
  "info": {
    "title": "Thumbtack Scraper — Pros, Reviews & Coverage — $2.78/1k",
    "description": "Thumbtack scraper for service providers by city: ratings, reviews, hires, prices, years in business. Coverage mode shows category gaps per city and service with the pro count. No login or cookies. MCP-ready for AI agents. $2.78 per 1,000 records.",
    "version": "1.0",
    "x-build-id": "eKdKn3B4as2uY09Gy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fortuitous_pirate~thumbtack-service-providers/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fortuitous_pirate-thumbtack-service-providers",
        "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/fortuitous_pirate~thumbtack-service-providers/runs": {
      "post": {
        "operationId": "runs-sync-fortuitous_pirate-thumbtack-service-providers",
        "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/fortuitous_pirate~thumbtack-service-providers/run-sync": {
      "post": {
        "operationId": "run-sync-fortuitous_pirate-thumbtack-service-providers",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "coverage",
              "listings"
            ],
            "type": "string",
            "description": "coverage: one row per city x service showing whether Thumbtack has a category page there and how many pros it shows (\"32 near you\"). listings: one row per service provider. Empty: coverage, or listings when Start URLs / Service Categories / Locations are filled."
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "US cities as \"City, ST\" (San Diego, CA), \"st/city-slug\" (ca/san-diego) or a 5-digit ZIP. Every city is combined with every service. Empty with no other input: San Diego, CA.",
            "items": {
              "type": "string"
            }
          },
          "services": {
            "title": "Services",
            "type": "array",
            "description": "Services in plain words (dog grooming, house cleaning, cake) or Thumbtack slugs (house-cleaning). The actor tries the slug, its plural/singular and Thumbtack's own search keywords until a category page matches, and reports which one matched. Empty with no other input: cake, dog grooming, house cleaning.",
            "items": {
              "type": "string"
            }
          },
          "listUrl": {
            "title": "Import list (CSV / Google Sheet URL)",
            "type": "string",
            "description": "Public CSV or Google Sheet link. Columns named city (optionally state) and service give city/service pairs; a column with only cities or only services is added to the lists above. Without a header row, rows like \"San Diego,CA,cake\" or \"Austin TX,plumbers\" work."
          },
          "maxItems": {
            "title": "Max rows",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of rows (coverage rows or provider rows) to return.",
            "default": 10
          },
          "includeDetails": {
            "title": "Include profile details (listings)",
            "type": "boolean",
            "description": "Open each provider's profile page for years in business, employees, background check, licenses, payment methods, social links (Facebook/Instagram/...), photo count, address ZIP, specialties and recent reviews. One extra page per provider.",
            "default": false
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "Add the highlighted review to each provider row and, with profile details on, the most recent reviews (author, rating, date, text).",
            "default": true
          },
          "maxReviewsPerPro": {
            "title": "Max reviews per provider",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "With profile details on: how many recent reviews to keep per provider (the profile page carries up to 5).",
            "default": 5
          },
          "maxZipsPerCity": {
            "title": "ZIP codes searched per city (listings)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Thumbtack shows roughly 4-15 pros per search ZIP and the set changes across a metro. Listings search up to this many ZIPs of each city (evenly spread) and stop early after 6 ZIPs in a row add nobody new. 1 = only the city page and its default ZIP.",
            "default": 15
          },
          "startUrls": {
            "title": "Start URLs (legacy, listings)",
            "type": "array",
            "description": "Thumbtack URLs: city category pages (https://www.thumbtack.com/ca/los-angeles/house-cleaning/), /k/<service>/near-me/ pages, instant-results search URLs with zip_code, or provider profile URLs (.../service/<id>).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "serviceCategories": {
            "title": "Service Categories (legacy)",
            "type": "array",
            "description": "Same as Services; kept for existing tasks. Filling it switches the default mode to listings.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations (legacy)",
            "type": "array",
            "description": "Same as Cities, in state/city form (ca/los-angeles); kept for existing tasks. Filling it switches the default mode to listings.",
            "items": {
              "type": "string"
            }
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Targets processed in parallel.",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Not needed: Thumbtack answers Apify's own IPs. If you set a proxy, requests that hit Thumbtack's AWS WAF challenge are retried directly."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}