{
  "openapi": "3.0.1",
  "info": {
    "title": "Angi Scraper — Pros, Reviews & Category Coverage — $3.5/1k",
    "description": "Angi (Angie's List) scraper for home service pros: ratings, reviews, phones, licenses, plus coverage mode that counts pros per city and service to expose market gaps. Listings or coverage rows. No login or cookies. MCP-ready for AI agents. $3.5 per 1,000 records.",
    "version": "1.0",
    "x-build-id": "WQdhEbL63jDr090mO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fortuitous_pirate~angi-home-services-contractors-reviews/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fortuitous_pirate-angi-home-services-contractors-reviews",
        "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~angi-home-services-contractors-reviews/runs": {
      "post": {
        "operationId": "runs-sync-fortuitous_pirate-angi-home-services-contractors-reviews",
        "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~angi-home-services-contractors-reviews/run-sync": {
      "post": {
        "operationId": "run-sync-fortuitous_pirate-angi-home-services-contractors-reviews",
        "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": [
              "listings",
              "coverage"
            ],
            "type": "string",
            "description": "listings = one row per pro (name, rating, reviews, services, badges, years in business, response time...). coverage = one row per city x service with whether Angi has the category there and how many pros it shows (cheap: one page per pair). Empty input runs a coverage sample for San Diego."
          },
          "cities": {
            "title": "Cities or ZIP codes",
            "type": "array",
            "description": "Locations to search, e.g. \"San Diego, CA\", \"Austin, Texas\", \"92109\". Every city is combined with every service.",
            "items": {
              "type": "string"
            }
          },
          "services": {
            "title": "Services",
            "type": "array",
            "description": "What you are looking for, in plain words or as an Angi slug: \"plumbing\", \"house cleaning\", \"roofers\", \"pool cleaning\", \"pest-control\". Up to 3 slug spellings are tried and the matched one is reported in matchedSlug.",
            "items": {
              "type": "string"
            }
          },
          "zipCodes": {
            "title": "ZIP codes",
            "type": "array",
            "description": "US ZIP codes; each is converted to its city and searched like a city.",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category (single)",
            "type": "string",
            "description": "One Angi category slug, e.g. plumbing. Same as adding it to Services."
          },
          "startUrls": {
            "title": "Angi URLs",
            "type": "array",
            "description": "Category pages (https://www.angi.com/companylist/us/ca/san-diego/plumbing.htm) or pro profiles (...-reviews-12345.htm).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "listUrl": {
            "title": "Import list (CSV or Google Sheet URL)",
            "type": "string",
            "description": "Public CSV / Google Sheet. Each row: a city (\"San Diego, CA\" or ZIP), a city plus a service (\"San Diego,CA,plumbing\"), or an Angi URL."
          },
          "maxItems": {
            "title": "Max pros per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Listings mode: maximum pros returned for each city x service (Angi shows 10 per page). The legacy input name maxResults is still accepted.",
            "default": 10
          },
          "includeDetails": {
            "title": "Open each pro profile (phone, licenses, price range)",
            "type": "boolean",
            "description": "Fetches every pro's profile page and adds phone, license numbers, bonded/insured, services offered, review star distribution, project price range and photo counts. One extra request per pro.",
            "default": false
          },
          "maxReviewsPerPro": {
            "title": "Recent reviews per pro",
            "minimum": 0,
            "maximum": 25,
            "type": "integer",
            "description": "With profile details on: how many of the latest reviews to include per pro (0-25).",
            "default": 0
          },
          "state": {
            "title": "State (legacy)",
            "type": "string",
            "description": "Legacy single search: US state code, e.g. ca. Also used as the default state for cities given without one."
          },
          "city": {
            "title": "City (legacy)",
            "type": "string",
            "description": "Legacy single search: city slug, e.g. san-francisco."
          },
          "service": {
            "title": "Service type (legacy)",
            "type": "string",
            "description": "Legacy single search: Angi service slug, e.g. plumbing."
          },
          "concurrency": {
            "title": "Parallel searches",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many city x service searches run at once.",
            "default": 3
          },
          "residentialFallback": {
            "title": "Fall back to residential proxy when blocked",
            "type": "boolean",
            "description": "Angi's Cloudflare blocks some datacenter IPs. When a request is blocked on the proxy below and without proxy, retry it through Apify RESIDENTIAL (US).",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy tried first. Apify datacenter proxy works for most pages.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}