# Nicelocal Reviews Scraper (`rainminer/nicelocal-scraper`) Actor

Extract business reviews from Nicelocal profile URLs where the site still serves listings, with best-effort parsing when pages redirect to the Zoon network.

- **URL**: https://apify.com/rainminer/nicelocal-scraper.md
- **Developed by:** [rainminer](https://apify.com/rainminer) (community)
- **Categories:** Lead generation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.49 / 1,000 reviews

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### What does Nicelocal Reviews Scraper do?

**Nicelocal Reviews Scraper** attempts to extract **local business reviews** from [Nicelocal](https://nicelocal.com/) profile URLs (`/{city}/{category}/{business}/`) and regional domains such as `nicelocal.co.uk`. Paste a Nicelocal or profile URL and export structured review data when HTML is available.

### Important limitations

- **Primary Nicelocal domains often redirect** to the Zoon network (`zoon.ru`, `zoon.com.ua`, etc.). The Actor logs a warning and tries best-effort parsing on the redirected page.
- **Reviews may work only on regions** still served by Nicelocal infrastructure; many global TLDs currently redirect away.
- **Zoon review lists are often loaded via JavaScript**, so Cheerio may return **zero reviews** even when the public site shows them in a browser.
- **Geo blocks** can occur — enable **Apify Proxy** (datacenter or residential) in input if fetches fail or return challenge pages.

The Actor always **validates URLs**, **fetches pages**, and **logs clearly** when no review markup is found (zero dataset items is expected in many runs).

### Why scrape Nicelocal reviews?

- **Local SEO monitoring** — Track ratings where Nicelocal pages remain accessible.
- **Reputation research** — Collect review text when embedded in HTML (Schema.org or Zoon markup).
- **Apify platform** — Schedule runs, export datasets, and integrate via API.

### What data can you extract?

| Field | Description |
| --- | --- |
| reviewId | Review identifier when present in HTML |
| businessName | Business name from page title or schema |
| rating | Star rating (1–5) when available |
| text | Review body text |
| reviewDate | Published date |
| reviewerName | Reviewer name when exposed |
| sourceHost | Host that served the page (Nicelocal or Zoon) |
| redirectedFromNicelocal | Whether the start URL redirected to Zoon |
| aggregateRating | Business average score |
| aggregateReviewCount | Total review count from schema |
| profileUrl | Final profile URL after redirects |

### How to scrape Nicelocal reviews

1. Open the Actor in Apify Console.
2. Add **Nicelocal profile URLs** (or `https://nicelocal.com/` to test redirects) under **Start URLs**.
3. Set **Maximum items** per URL.
4. If runs return blocked pages, enable **Proxy configuration**.
5. Run and download the dataset.

### Input

Nicelocal Reviews Scraper accepts **Start URLs**, **maxItems** per URL, and optional **proxy configuration** (default: no proxy).

Supported hosts include `nicelocal.com`, `www.nicelocal.com`, and country TLDs such as `nicelocal.co.uk`.

### Output example

```json
{
  "reviewId": "schema-1",
  "businessName": "Example Restaurant",
  "rating": 4,
  "text": "Great service and food.",
  "reviewDate": "2025-11-12T12:00:00.000Z",
  "reviewerName": "Guest",
  "sourceHost": "zoon.ru",
  "redirectedFromNicelocal": true,
  "aggregateRating": 4.2,
  "aggregateReviewCount": 18,
  "profileUrl": "https://zoon.ru/msk/restaurants/example/"
}
```

### How much does scraping cost?

Uses **Cheerio (HTTP only)** with **no proxy by default**. Runs that return zero items still consume minimal compute.

### FAQ

**Which URLs work?**\
Business paths like `https://nicelocal.com/london/restaurants/example/` or regional equivalents. Homepage URLs are accepted for redirect testing but usually do not yield reviews.

**Why zero results?**\
Redirects to Zoon plus client-side review loading are the most common causes. Check Actor logs for warnings.

### Image Credit

Image credit: [nicelocal.com](https://nicelocal.com/)

# Actor input Schema

## `startUrls` (type: `array`):

Zoon profile or /reviews/ URLs (recommended), or Nicelocal business paths. Primary Nicelocal TLDs redirect to the Zoon homepage without reviews — use a Zoon /reviews/ link for reliable results.

## `maxItems` (type: `integer`):

Maximum number of reviews to return per start URL.

## `proxyConfiguration` (type: `object`):

Optional proxy. Recommended for geo-restricted Nicelocal regions or when fetches are blocked.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://zoon.ru/msk/restaurants/launzh-restoran_tanzhirs_launzh_na_ulitse_pokrovka/reviews/"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://zoon.ru/msk/restaurants/launzh-restoran_tanzhirs_launzh_na_ulitse_pokrovka/reviews/"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rainminer/nicelocal-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [{ "url": "https://zoon.ru/msk/restaurants/launzh-restoran_tanzhirs_launzh_na_ulitse_pokrovka/reviews/" }],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("rainminer/nicelocal-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://zoon.ru/msk/restaurants/launzh-restoran_tanzhirs_launzh_na_ulitse_pokrovka/reviews/"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call rainminer/nicelocal-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rainminer/nicelocal-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/DfjjS2bR4PaNrM8OH/builds/9pVkHvmzeDf1JdXEv/openapi.json
