{
  "data": {
    "id": "9i5Pd4hRAuFDfqWRp",
    "actId": "JxwOgWo4xq5H8hWrW",
    "userId": "IYgBDiXtHOijAaUel",
    "startedAt": "2026-11-23T03:27:37.806Z",
    "finishedAt": "2026-11-23T03:28:18.239Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "stats": {
      "durationMillis": 40324,
      "runTimeSecs": 40.324,
      "computeUnits": 0.044804444444444445,
      "imageSizeBytes": 3157934592
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "QYo53EZkJk0prePWY",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Yellow Pages Business Directory Scraper Input\",\n  \"description\": \"Search YellowPages.com for local businesses by keyword + location, browse a category, or enrich specific business profile URLs.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to fetch from YellowPages.com.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"search\",\n        \"category\",\n        \"businessDetail\"\n      ],\n      \"enumTitles\": [\n        \"Search businesses (keyword + location)\",\n        \"Browse a category (category + location)\",\n        \"Enrich specific business profile URLs\"\n      ],\n      \"default\": \"search\",\n      \"prefill\": \"search\"\n    },\n    \"searchTerms\": {\n      \"title\": \"Search terms (mode=search)\",\n      \"type\": \"string\",\n      \"description\": \"What to search for, e.g. `restaurants`, `plumbers`, `Starbucks`. Leave blank to list all businesses at the location.\",\n      \"editor\": \"textfield\",\n      \"default\": \"restaurants\",\n      \"prefill\": \"restaurants\"\n    },\n    \"geoLocationTerms\": {\n      \"title\": \"Location (mode=search)\",\n      \"type\": \"string\",\n      \"description\": \"City + state (e.g. `New York, NY`) or a 5-digit ZIP code (e.g. `10005`).\",\n      \"editor\": \"textfield\",\n      \"default\": \"New York, NY\",\n      \"prefill\": \"New York, NY\"\n    },\n    \"categorySlug\": {\n      \"title\": \"Category slug (mode=category)\",\n      \"type\": \"string\",\n      \"description\": \"YellowPages category slug, e.g. `plumbers`, `pizza`, `hair-salons`, `auto-repair-service`. Found in category browse URLs: yellowpages.com/{location}/{category}.\",\n      \"editor\": \"textfield\"\n    },\n    \"locationSlug\": {\n      \"title\": \"Location slug (mode=category)\",\n      \"type\": \"string\",\n      \"description\": \"YellowPages location slug, e.g. `new-york-ny`, `los-angeles-ca`, `chicago-il`.\",\n      \"editor\": \"textfield\"\n    },\n    \"detailUrls\": {\n      \"title\": \"Business profile URLs (mode=businessDetail)\",\n      \"type\": \"array\",\n      \"description\": \"Full YellowPages business profile URLs (containing `/mip/`), e.g. `https://www.yellowpages.com/new-york-ny/mip/some-business-123456`.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"sortBy\": {\n      \"title\": \"Sort order\",\n      \"type\": \"string\",\n      \"description\": \"How YellowPages should order results (applies to search and category modes).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"default\",\n        \"distance\",\n        \"average_rating\",\n        \"name\"\n      ],\n      \"enumTitles\": [\n        \"Default (recommended)\",\n        \"Distance\",\n        \"Rating (highest first)\",\n        \"Name (A-Z)\"\n      ],\n      \"default\": \"default\",\n      \"prefill\": \"default\"\n    },\n    \"fetchBusinessDetails\": {\n      \"title\": \"Fetch full business details\",\n      \"type\": \"boolean\",\n      \"description\": \"For search/category modes, visit each business's profile page to add hours, general info, and services/products. Slower and less reliable — leave off for fast, reliable runs.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"minRating\": {\n      \"title\": \"Minimum rating (stars)\",\n      \"type\": \"string\",\n      \"description\": \"Only keep businesses with at least this star rating.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"1\",\n        \"2\",\n        \"3\",\n        \"4\",\n        \"5\"\n      ],\n      \"enumTitles\": [\n        \"1+ stars\",\n        \"2+ stars\",\n        \"3+ stars\",\n        \"4+ stars\",\n        \"5 stars\"\n      ]\n    },\n    \"minReviewCount\": {\n      \"title\": \"Minimum review count\",\n      \"type\": \"integer\",\n      \"description\": \"Only keep businesses with at least this many reviews.\",\n      \"minimum\": 0,\n      \"maximum\": 100000\n    },\n    \"minYearsInBusiness\": {\n      \"title\": \"Minimum years in business\",\n      \"type\": \"integer\",\n      \"description\": \"Only keep businesses that have been operating for at least this many years.\",\n      \"minimum\": 0,\n      \"maximum\": 200\n    },\n    \"hasWebsiteOnly\": {\n      \"title\": \"Has a website only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only keep businesses that list a website link.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"openNowOnly\": {\n      \"title\": \"Currently open only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only keep businesses shown as currently open.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted records.\",\n      \"minimum\": 1,\n      \"maximum\": 500,\n      \"default\": 30,\n      \"prefill\": 30\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# YellowPages.com Business Listings and Ratings Scraper\n\nYellowPages.com remains one of the largest searchable directories of US local businesses — restaurants, contractors, salons, repair shops and more. This actor turns a keyword-and-location search, a category browse page, or a list of business profile URLs into structured records with contact info, star rating, review count and hours.\n\n## What this actor does\n\n- Searches by keyword plus a city/state or ZIP code, matching YellowPages' own search box\n- Browses a specific category-and-location combination using YellowPages' category slugs\n- Enriches a known list of business profile URLs directly, skipping the search step entirely\n- Sorts results by relevance, distance, rating or name, the same options YellowPages itself offers\n- Filters on minimum rating, minimum review count, years in business, website presence and currently-open status\n- Omits any field a listing didn't actually show — no empty strings or nulls in the output\n\n## Output per business\n\n- `businessId` — YellowPages' internal listing ID\n- `name`, `businessUrl`\n- `website` — the business's own site, when listed\n- `phone`\n- `categories[]`, `primaryCategory`\n- `rating` — 0.5–5.0 stars, only once the business has at least one review\n- `reviewCount`, `yearsInBusiness`\n- `openStatus` — e.g. \"open now\", \"open 24 hours\", \"Closed\"\n- `streetAddress`, `city`, `state`, `zipCode`, `fullAddress`\n- `snippet` — short description or review excerpt shown on the results page\n- `generalInfo` — longer business description, only with profile enrichment or `businessDetail` mode\n- `servicesProducts[]` — listed services or products, only with profile enrichment or `businessDetail` mode\n- `hours[]` — `{day, hours}` opening-hours entries, only with profile enrichment or `businessDetail` mode\n- `searchLocation` — the location you searched with (`search`/`category` modes)\n- `recordType: \"business\"`, `scrapedAt`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search`, `category` or `businessDetail` |\n| `searchTerms` | string | `restaurants` | What to search for (mode=search); leave blank to list everything at the location |\n| `geoLocationTerms` | string | `New York, NY` | City + state or a 5-digit ZIP code (mode=search) |\n| `categorySlug` | string | – | YellowPages category slug, e.g. `plumbers` (mode=category) |\n| `locationSlug` | string | – | YellowPages location slug, e.g. `new-york-ny` (mode=category) |\n| `detailUrls` | array | `[]` | Business profile URLs to fetch directly (mode=businessDetail) |\n| `sortBy` | string | `default` | `default`, `distance`, `average_rating` or `name` |\n| `fetchBusinessDetails` | boolean | `false` | Visit each business's profile page for hours, description and services (search/category modes); slower |\n| `minRating` | string | – | Only keep businesses rated at least this many stars (1–5) |\n| `minReviewCount` | integer | – | Only keep businesses with at least this many reviews |\n| `minYearsInBusiness` | integer | – | Only keep businesses operating at least this many years |\n| `hasWebsiteOnly` | boolean | `false` | Only keep businesses that list a website |\n| `openNowOnly` | boolean | `false` | Only keep businesses currently shown as open |\n| `maxItems` | integer | `30` | Hard cap on emitted records (1–500) |\n\n### Example: top-rated plumbers in a city\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchTerms\": \"plumbers\",\n  \"geoLocationTerms\": \"New York, NY\",\n  \"sortBy\": \"average_rating\",\n  \"minRating\": \"4\",\n  \"maxItems\": 50\n}\n```\n\n### Example: search by ZIP code, open right now\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchTerms\": \"pizza\",\n  \"geoLocationTerms\": \"10005\",\n  \"openNowOnly\": true,\n  \"maxItems\": 30\n}\n```\n\n### Example: a full category browse with enrichment\n\n```json\n{\n  \"mode\": \"category\",\n  \"categorySlug\": \"hair-salons\",\n  \"locationSlug\": \"los-angeles-ca\",\n  \"fetchBusinessDetails\": true,\n  \"maxItems\": 20\n}\n```\n\n### Example: enrich a known list of profile URLs\n\n```json\n{\n  \"mode\": \"businessDetail\",\n  \"detailUrls\": [\n    \"https://www.yellowpages.com/new-york-ny/mip/local-plumbing-new-york-ny-550182424\"\n  ]\n}\n```\n\n## Use cases\n\n- **Local SEO and marketing agencies** — build a prospect list by category and city\n- **Lead generation** — filter on rating, review count and years in business to find established targets\n- **Market research** — compare business density and ratings across categories and cities\n- **Directory cross-checking** — reconcile a business's YellowPages listing against your own records\n- **Competitive tracking** — watch a category's ratings and review counts shift over time\n- **Bulk enrichment** — turn a list of known profile URLs into structured contact records\n\n## FAQ\n\n**Is this affiliated with YellowPages.com or YP Holdings?**\nNo. This is an independent actor that reads publicly available pages on yellowpages.com; it is not affiliated with YP Holdings.\n\n**What's the real difference between `search` and `category` mode?**\n`search` matches the YellowPages search box — a free-text keyword plus a city/ZIP, sortable any way YellowPages allows. `category` goes straight to a specific category-and-location browse page when you already know both slugs, skipping the keyword search.\n\n**Why is `rating` missing for some businesses?**\nYellowPages only shows a star rating once a business has at least one review; unrated businesses omit the field instead of showing a zero.\n\n**Why are `generalInfo`, `servicesProducts` and `hours` sometimes absent?**\nThose fields only come from a business's own profile page. They appear when `fetchBusinessDetails` is on, or always in `businessDetail` mode — leaving enrichment off keeps `search`/`category` runs faster.\n\n**What location formats work?**\n`City, ST` (e.g. `Chicago, IL`) or a 5-digit ZIP code (e.g. `60601`); coverage is US-only.\n\n**How current is the listing data?**\nEach run reads the live YellowPages page, so results reflect whatever is currently published.\n\n**Why did a heavily filtered search come back empty?**\nCombining several filters — minimum rating, minimum reviews and open-now, for example — can legitimately exclude every match in a small result set; try a broader location or fewer filters at once.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "yellowpages-com-business-listings-and-ratings",
      "title": "YellowPages.com Business Listings and Ratings Scraper",
      "description": "Search YellowPages.com businesses by keyword and location or ZIP, browse a category, or enrich known profile URLs, filtering by rating, review count and years in business.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# YellowPages.com Business Listings and Ratings Scraper\n\nYellowPages.com remains one of the largest searchable directories of US local businesses — restaurants, contractors, salons, repair shops and more. This actor turns a keyword-and-location search, a category browse page, or a list of business profile URLs into structured records with contact info, star rating, review count and hours.\n\n## What this actor does\n\n- Searches by keyword plus a city/state or ZIP code, matching YellowPages' own search box\n- Browses a specific category-and-location combination using YellowPages' category slugs\n- Enriches a known list of business profile URLs directly, skipping the search step entirely\n- Sorts results by relevance, distance, rating or name, the same options YellowPages itself offers\n- Filters on minimum rating, minimum review count, years in business, website presence and currently-open status\n- Omits any field a listing didn't actually show — no empty strings or nulls in the output\n\n## Output per business\n\n- `businessId` — YellowPages' internal listing ID\n- `name`, `businessUrl`\n- `website` — the business's own site, when listed\n- `phone`\n- `categories[]`, `primaryCategory`\n- `rating` — 0.5–5.0 stars, only once the business has at least one review\n- `reviewCount`, `yearsInBusiness`\n- `openStatus` — e.g. \"open now\", \"open 24 hours\", \"Closed\"\n- `streetAddress`, `city`, `state`, `zipCode`, `fullAddress`\n- `snippet` — short description or review excerpt shown on the results page\n- `generalInfo` — longer business description, only with profile enrichment or `businessDetail` mode\n- `servicesProducts[]` — listed services or products, only with profile enrichment or `businessDetail` mode\n- `hours[]` — `{day, hours}` opening-hours entries, only with profile enrichment or `businessDetail` mode\n- `searchLocation` — the location you searched with (`search`/`category` modes)\n- `recordType: \"business\"`, `scrapedAt`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search`, `category` or `businessDetail` |\n| `searchTerms` | string | `restaurants` | What to search for (mode=search); leave blank to list everything at the location |\n| `geoLocationTerms` | string | `New York, NY` | City + state or a 5-digit ZIP code (mode=search) |\n| `categorySlug` | string | – | YellowPages category slug, e.g. `plumbers` (mode=category) |\n| `locationSlug` | string | – | YellowPages location slug, e.g. `new-york-ny` (mode=category) |\n| `detailUrls` | array | `[]` | Business profile URLs to fetch directly (mode=businessDetail) |\n| `sortBy` | string | `default` | `default`, `distance`, `average_rating` or `name` |\n| `fetchBusinessDetails` | boolean | `false` | Visit each business's profile page for hours, description and services (search/category modes); slower |\n| `minRating` | string | – | Only keep businesses rated at least this many stars (1–5) |\n| `minReviewCount` | integer | – | Only keep businesses with at least this many reviews |\n| `minYearsInBusiness` | integer | – | Only keep businesses operating at least this many years |\n| `hasWebsiteOnly` | boolean | `false` | Only keep businesses that list a website |\n| `openNowOnly` | boolean | `false` | Only keep businesses currently shown as open |\n| `maxItems` | integer | `30` | Hard cap on emitted records (1–500) |\n\n### Example: top-rated plumbers in a city\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchTerms\": \"plumbers\",\n  \"geoLocationTerms\": \"New York, NY\",\n  \"sortBy\": \"average_rating\",\n  \"minRating\": \"4\",\n  \"maxItems\": 50\n}\n```\n\n### Example: search by ZIP code, open right now\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchTerms\": \"pizza\",\n  \"geoLocationTerms\": \"10005\",\n  \"openNowOnly\": true,\n  \"maxItems\": 30\n}\n```\n\n### Example: a full category browse with enrichment\n\n```json\n{\n  \"mode\": \"category\",\n  \"categorySlug\": \"hair-salons\",\n  \"locationSlug\": \"los-angeles-ca\",\n  \"fetchBusinessDetails\": true,\n  \"maxItems\": 20\n}\n```\n\n### Example: enrich a known list of profile URLs\n\n```json\n{\n  \"mode\": \"businessDetail\",\n  \"detailUrls\": [\n    \"https://www.yellowpages.com/new-york-ny/mip/local-plumbing-new-york-ny-550182424\"\n  ]\n}\n```\n\n## Use cases\n\n- **Local SEO and marketing agencies** — build a prospect list by category and city\n- **Lead generation** — filter on rating, review count and years in business to find established targets\n- **Market research** — compare business density and ratings across categories and cities\n- **Directory cross-checking** — reconcile a business's YellowPages listing against your own records\n- **Competitive tracking** — watch a category's ratings and review counts shift over time\n- **Bulk enrichment** — turn a list of known profile URLs into structured contact records\n\n## FAQ\n\n**Is this affiliated with YellowPages.com or YP Holdings?**\nNo. This is an independent actor that reads publicly available pages on yellowpages.com; it is not affiliated with YP Holdings.\n\n**What's the real difference between `search` and `category` mode?**\n`search` matches the YellowPages search box — a free-text keyword plus a city/ZIP, sortable any way YellowPages allows. `category` goes straight to a specific category-and-location browse page when you already know both slugs, skipping the keyword search.\n\n**Why is `rating` missing for some businesses?**\nYellowPages only shows a star rating once a business has at least one review; unrated businesses omit the field instead of showing a zero.\n\n**Why are `generalInfo`, `servicesProducts` and `hours` sometimes absent?**\nThose fields only come from a business's own profile page. They appear when `fetchBusinessDetails` is on, or always in `businessDetail` mode — leaving enrichment off keeps `search`/`category` runs faster.\n\n**What location formats work?**\n`City, ST` (e.g. `Chicago, IL`) or a 5-digit ZIP code (e.g. `60601`); coverage is US-only.\n\n**How current is the listing data?**\nEach run reads the live YellowPages page, so results reflect whatever is currently published.\n\n**Why did a heavily filtered search come back empty?**\nCombining several filters — minimum rating, minimum reviews and open-now, for example — can legitimately exclude every match in a small result set; try a broader location or fewer filters at once.\n",
      "input": {
        "title": "Yellow Pages Business Directory Scraper Input",
        "description": "Search YellowPages.com for local businesses by keyword + location, browse a category, or enrich specific business profile URLs.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to fetch from YellowPages.com.",
            "editor": "select",
            "enum": [
              "search",
              "category",
              "businessDetail"
            ],
            "enumTitles": [
              "Search businesses (keyword + location)",
              "Browse a category (category + location)",
              "Enrich specific business profile URLs"
            ],
            "default": "search",
            "prefill": "search"
          },
          "searchTerms": {
            "title": "Search terms (mode=search)",
            "type": "string",
            "description": "What to search for, e.g. `restaurants`, `plumbers`, `Starbucks`. Leave blank to list all businesses at the location.",
            "editor": "textfield",
            "default": "restaurants",
            "prefill": "restaurants"
          },
          "geoLocationTerms": {
            "title": "Location (mode=search)",
            "type": "string",
            "description": "City + state (e.g. `New York, NY`) or a 5-digit ZIP code (e.g. `10005`).",
            "editor": "textfield",
            "default": "New York, NY",
            "prefill": "New York, NY"
          },
          "categorySlug": {
            "title": "Category slug (mode=category)",
            "type": "string",
            "description": "YellowPages category slug, e.g. `plumbers`, `pizza`, `hair-salons`, `auto-repair-service`. Found in category browse URLs: yellowpages.com/{location}/{category}.",
            "editor": "textfield"
          },
          "locationSlug": {
            "title": "Location slug (mode=category)",
            "type": "string",
            "description": "YellowPages location slug, e.g. `new-york-ny`, `los-angeles-ca`, `chicago-il`.",
            "editor": "textfield"
          },
          "detailUrls": {
            "title": "Business profile URLs (mode=businessDetail)",
            "type": "array",
            "description": "Full YellowPages business profile URLs (containing `/mip/`), e.g. `https://www.yellowpages.com/new-york-ny/mip/some-business-123456`.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "sortBy": {
            "title": "Sort order",
            "type": "string",
            "description": "How YellowPages should order results (applies to search and category modes).",
            "editor": "select",
            "enum": [
              "default",
              "distance",
              "average_rating",
              "name"
            ],
            "enumTitles": [
              "Default (recommended)",
              "Distance",
              "Rating (highest first)",
              "Name (A-Z)"
            ],
            "default": "default",
            "prefill": "default"
          },
          "fetchBusinessDetails": {
            "title": "Fetch full business details",
            "type": "boolean",
            "description": "For search/category modes, visit each business's profile page to add hours, general info, and services/products. Slower and less reliable — leave off for fast, reliable runs.",
            "default": false,
            "prefill": false
          },
          "minRating": {
            "title": "Minimum rating (stars)",
            "type": "string",
            "description": "Only keep businesses with at least this star rating.",
            "editor": "select",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "enumTitles": [
              "1+ stars",
              "2+ stars",
              "3+ stars",
              "4+ stars",
              "5 stars"
            ]
          },
          "minReviewCount": {
            "title": "Minimum review count",
            "type": "integer",
            "description": "Only keep businesses with at least this many reviews.",
            "minimum": 0,
            "maximum": 100000
          },
          "minYearsInBusiness": {
            "title": "Minimum years in business",
            "type": "integer",
            "description": "Only keep businesses that have been operating for at least this many years.",
            "minimum": 0,
            "maximum": 200
          },
          "hasWebsiteOnly": {
            "title": "Has a website only",
            "type": "boolean",
            "description": "Only keep businesses that list a website link.",
            "default": false,
            "prefill": false
          },
          "openNowOnly": {
            "title": "Currently open only",
            "type": "boolean",
            "description": "Only keep businesses shown as currently open.",
            "default": false,
            "prefill": false
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "minimum": 1,
            "maximum": 500,
            "default": 30,
            "prefill": 30
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "YellowPages.com Business Listings and Ratings Scraper Output",
        "description": "Local businesses scraped from YellowPages.com — name, contact info, address, rating, categories, hours, and more.",
        "properties": {
          "businesses": {
            "type": "string",
            "title": "Yellow Pages businesses",
            "description": "Dataset containing all scraped Yellow Pages business records.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "defaultRunOptions": {
        "build": "latest",
        "timeoutSecs": 3600,
        "memoryMbytes": 2048
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Businesses",
              "transformation": {
                "fields": [
                  "name",
                  "primaryCategory",
                  "phone",
                  "fullAddress",
                  "rating",
                  "reviewCount",
                  "businessUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.1",
    "imageDigest": "8e2ec347e29133797a656d28c96a802bec75ed657c7683d3d67cbf9613c5051e",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.044804444444444445
    }
  }
}