{
  "openapi": "3.0.1",
  "info": {
    "title": "Angi Scraper - Home Service Pro Leads, Reviews & Contacts",
    "description": "Scrape Angi (Angie's List) home-service pros by category & city: business name, phone, address, rating, reviews, paid-pro / Super Service Award badges, services, payment methods + lead score & monitoring. No login, no browser.",
    "version": "0.1",
    "x-build-id": "ng7b48PZLELir32aZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapesage~angi-leads-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapesage-angi-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/scrapesage~angi-leads-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapesage-angi-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/scrapesage~angi-leads-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapesage-angi-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": {
          "categories": {
            "title": "Service categories",
            "type": "array",
            "description": "Home-service categories to scrape (friendly names or Angi slugs). Examples: plumbing, electrical, hvac, roofing, landscaping, house cleaning, pest control, painting, flooring, handyman, garage doors, tree service, windows, fencing, appliance repair, foundation repair, remodeling.",
            "default": [
              "plumbing"
            ],
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations (City, ST)",
            "type": "array",
            "description": "US cities to scrape, each as \"City, ST\" or \"City, State\" (a state is required — Angi lists pros by city). Examples: \"Austin, TX\", \"Denver, CO\", \"Miami, FL\".",
            "default": [
              "Austin, TX"
            ],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs (optional)",
            "type": "array",
            "description": "Paste Angi category-listing URLs (…/companylist/us/tx/austin/plumbing.htm) or individual pro-profile URLs (…-reviews-158736564.htm) to scrape directly instead of, or in addition to, categories × locations.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max pros (results cap)",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of pro records to emit across the whole run. Reviews do not count toward this cap.",
            "default": 100
          },
          "maxPagesPerListing": {
            "title": "Max listing pages per category/city",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many result pages to page through per category+city (Angi pins sponsored pros at the top but the organic tail paginates; duplicates are removed automatically).",
            "default": 3
          },
          "includeProfileDetails": {
            "title": "Fetch full profile details (phone, badges, services)",
            "type": "boolean",
            "description": "Open each pro's profile page to extract the PHONE NUMBER, authoritative rating & review count, paid-pro / Super Service Award / verified badges, services offered, payment methods and business facts. Turn off for a faster, name + city + review-snippet only scan.",
            "default": true
          },
          "includeReviews": {
            "title": "Include customer reviews",
            "type": "boolean",
            "description": "Also emit each pro's customer reviews as separate rows (rating, text, author, date). Requires profile details.",
            "default": false
          },
          "maxReviewsPerPro": {
            "title": "Max reviews per pro",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Cap the number of review rows emitted per pro when \"Include customer reviews\" is on.",
            "default": 20
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Only keep pros with an overall star rating at or above this value (0 = no filter).",
            "default": 0
          },
          "minReviews": {
            "title": "Minimum review count",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep pros with at least this many reviews (0 = no filter).",
            "default": 0
          },
          "withPhoneOnly": {
            "title": "Only pros with a phone number",
            "type": "boolean",
            "description": "Drop pros for whom no phone number was found (requires profile details).",
            "default": false
          },
          "paidProOnly": {
            "title": "Only paid pros / advertisers",
            "type": "boolean",
            "description": "Keep only pros that are active Angi advertisers / paid profiles (a buying-intent signal).",
            "default": false
          },
          "superServiceAwardOnly": {
            "title": "Only Super Service Award winners",
            "type": "boolean",
            "description": "Keep only pros that have won Angi's Super Service Award.",
            "default": false
          },
          "deduplicateResults": {
            "title": "Deduplicate pros",
            "type": "boolean",
            "description": "Remove duplicate pros (same Angi provider id) within a run — useful when a pro appears across several categories or cities.",
            "default": true
          },
          "monitorMode": {
            "title": "Monitor mode (only new pros)",
            "type": "boolean",
            "description": "Remember pros from previous runs (in a named key-value store) and emit only NEW ones on each run. Pair with an Apify Schedule to track newly listed pros over time. Leave off for a normal full scrape.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Monitor store name",
            "type": "string",
            "description": "Name of the key-value store that holds the monitor-mode memory. Use different names to track different niches independently. Lowercase letters, digits and hyphens only.",
            "default": "angi-leads-monitor"
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many pages to fetch in parallel. Lower this if you hit blocks.",
            "default": 8
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Angi serves clean pages only to US residential IPs. The default (Apify Proxy RESIDENTIAL, US) is strongly recommended — datacenter IPs get Cloudflare-challenged.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}