# Greek Business Directory Scraper (`moving_beacon-owner1/greek-business-directory-scraper`) Actor

Production-ready Apify Actor to extract business listings, professionals, addresses, telephone numbers, emails, official websites, and geographic coordinates from the Greek yellow pages directory **Vrisko.gr** (`https://www.vrisko.gr`).

- **URL**: https://apify.com/moving_beacon-owner1/greek-business-directory-scraper.md
- **Developed by:** [Jamshaid Arif](https://apify.com/moving_beacon-owner1) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.99 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Greek Business Directory Scraper (Vrisko.gr)

Production-ready Apify Actor to extract business listings, professionals, addresses, telephone numbers, emails, official websites, and geographic coordinates from the Greek yellow pages directory **Vrisko.gr** (`https://www.vrisko.gr`).

***

### Features

- **Comprehensive Business Search**: Query by trade, profession, or keyword (`what`) in Greek or Latin characters across any Greek municipality, island, or region (`where`).
- **Rich Contact Extraction**: Extracts company name, primary phone, additional phone lines, decoded email addresses, and external company websites.
- **Structured Address Breakdown**: Captures street name, house number, Greek 5-digit postal code, city/locality, and prefecture/region.
- **Detail-Page Schema.org Enrichment**: Optionally visits listing detail pages to parse schema.org `LocalBusiness` JSON-LD for exact geo-coordinates (latitude/longitude), complete address breakdowns, and official websites.
- **Listing Classification**: Distinguishes between paid advertisement entries (`paid`) and standard directory listings (`free`).
- **Anti-Bot Resilience**: Uses `curl-cffi` with Chrome TLS fingerprint impersonation, polite request throttling, and automated retry handling with exponential backoff on HTTP 429 / 5xx responses.
- **Proxy Support**: Integrates seamlessly with Apify Proxy (residential Greek or European proxies recommended).
- **Dual Mode**: Runs seamlessly as an Apify Actor or as a standalone Python module with a synchronous `scrape()` function.

***

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `what` | String | `"γιατρος"` | Profession, service, or business activity to search (e.g. `γιατρος`, `λογιστής`, `ξενοδοχείο`, `εστιατόριο`, `δικηγόρος`). |
| `where` | String | `"θεσσαλονίκη"` | City, municipality, or region in Greece (e.g. `αθήνα`, `θεσσαλονίκη`, `πάτρα`, `ηράκλειο`). Leave empty to search all of Greece. |
| `max_records` | Integer | `20` | Maximum number of business listings to scrape and save to the dataset. |
| `max_pages` | Integer | `2` | Maximum search result pages to crawl (each page returns up to 20 listings). |
| `details` | Boolean | `true` | When enabled, visits individual listing pages to extract verified JSON-LD contact metadata and GPS coordinates. |
| `details_limit` | Integer | `5` | Maximum number of listings to enrich via detail pages (`0` enriches all matched records). |
| `delay` | Float | `0.5` | Politeness pause in seconds between consecutive network requests. |
| `timeout` | Integer | `40` | Network request timeout in seconds. |
| `proxyConfiguration` | Object | `{"useApifyProxy": true}` | Apify Proxy configuration. Greek or European residential proxy groups are recommended for large-scale crawling. |

***

### Example Input JSON

```json
{
  "what": "γιατρος",
  "where": "θεσσαλονίκη",
  "max_records": 20,
  "max_pages": 2,
  "details": true,
  "details_limit": 5,
  "delay": 0.5,
  "timeout": 40,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyCountry": "GR"
  }
}
```

***

### Output Dataset Fields

Each record output to the default Apify Dataset contains the following normalized fields:

| Field | Type | Description |
|---|---|---|
| `name` | String | Commercial, professional, or corporate name |
| `category` | String | Primary trade or professional classification |
| `description` | String | Profile summary or description text |
| `address` | String | Full formatted address string |
| `street` | String | Street address and house number |
| `postal_code` | String | Greek postal code |
| `city` | String | Municipality, town, or locality |
| `region` | String | Prefecture or administrative region |
| `phone` | String | Primary contact telephone number |
| `phones` | Array | List of all extracted telephone numbers |
| `email` | String | Contact email address |
| `website` | String | Official corporate website URL |
| `rating` | Float | Average customer rating score (if published) |
| `review_count` | Integer | Total count of reviews (if published) |
| `latitude` | Float | Geographic latitude coordinate |
| `longitude` | Float | Geographic longitude coordinate |
| `listing_type` | String | Listing tier (`paid` or `free`) |
| `detail_url` | String | Direct canonical URL to the listing on vrisko.gr |
| `source` | String | Origin identifier (`vrisko.gr`) |
| `scraped_at` | String | ISO 8601 UTC timestamp when scraped |

***

### Example Output Record

```json
{
  "name": "ΑΝΑΝΙΑΔΗΣ ΔΙΟΝΥΣΙΟΣ",
  "category": "Δερματολόγοι - Αφροδισιολόγοι",
  "description": "Στο σύγχρονα εξοπλισμένο ιατρείο μας στη Θεσσαλονίκη, αναλαμβάνουμε τη σωστή διάγνωση - θεραπεία, αλλά και την πρόληψη δερματικών παθήσεων και αφροδίσιων νοσημάτων...",
  "address": "Τσιμισκή 100, 54622 Θεσσαλονίκη - Διαγώνιος, ΘΕΣΣΑΛΟΝΙΚΗΣ",
  "street": "Τσιμισκή 100",
  "postal_code": "54622",
  "city": "Θεσσαλονίκη - Διαγώνιος",
  "region": "ΘΕΣΣΑΛΟΝΙΚΗΣ",
  "phone": "2310264343",
  "phones": [
    "2310264343"
  ],
  "email": "anandion@otenet.gr",
  "website": "https://dermatologos-thessaloniki.eu",
  "rating": null,
  "review_count": null,
  "latitude": 40.629798889160156,
  "longitude": 22.947463989257812,
  "listing_type": "paid",
  "detail_url": "https://www.vrisko.gr/advdetails/_601b7d1657j_g467a3440612_6e7457",
  "source": "vrisko.gr",
  "scraped_at": "2026-11-18T10:00:00.000000+00:00"
}
```

***

### Compliance, Privacy & Legal Guidelines

- **Public Directory Data**: This actor collects only publicly accessible business contact information published by listing owners in the open Vrisko directory.
- **GDPR & Privacy Compliance**: Contact details for registered sole proprietors or individuals should be handled in accordance with the EU General Data Protection Regulation (GDPR). Do not use extracted contact details for unsolicited marketing communications without lawful basis.
- **Polite Crawling**: Default request throttling is configured to prevent server strain. When running large crawls, use residential proxies with country targeting (`GR`) and maintain sensible delays.
- **No Challenge Bypass**: The actor strictly uses standard HTTP client requests and adheres to published web standards without bypassing CAPTCHA or anti-bot challenge screens.

***

# Actor input Schema

## `what` (type: `string`):

Profession, trade, service, or business activity to search for (e.g., 'γιατρος', 'λογιστής', 'ξενοδοχείο', 'εστιατόριο', 'δικηγόρος', 'φαρμακείο').

## `where` (type: `string`):

City, municipality, or region in Greece (e.g., 'θεσσαλονίκη', 'αθήνα', 'πάτρα', 'ηράκλειο'). Leave empty to search all of Greece.

## `max_records` (type: `integer`):

Maximum number of listings to collect.

## `max_pages` (type: `integer`):

Maximum search result pages to crawl (20 results per page).

## `details` (type: `boolean`):

Fetch detail pages to extract structured schema.org JSON-LD data (website, email, postal breakdown, coordinates).

## `details_limit` (type: `integer`):

Maximum number of detail pages to enrich. Set to 0 to enrich all matched records.

## `delay` (type: `number`):

Delay in seconds between requests to maintain polite crawling and prevent rate limiting.

## `timeout` (type: `integer`):

HTTP request timeout in seconds.

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

Apify Proxy or custom proxy settings. Greek or European residential proxies are recommended.

## Actor input object example

```json
{
  "what": "γιατρος",
  "where": "θεσσαλονίκη",
  "max_records": 20,
  "max_pages": 2,
  "details": true,
  "details_limit": 5,
  "delay": 0.5,
  "timeout": 40
}
```

# Actor output Schema

## `results` (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 = {
    "what": "γιατρος",
    "where": "θεσσαλονίκη",
    "max_records": 20,
    "max_pages": 2,
    "details_limit": 5,
    "delay": 0.5,
    "timeout": 40
};

// Run the Actor and wait for it to finish
const run = await client.actor("moving_beacon-owner1/greek-business-directory-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 = {
    "what": "γιατρος",
    "where": "θεσσαλονίκη",
    "max_records": 20,
    "max_pages": 2,
    "details_limit": 5,
    "delay": 0.5,
    "timeout": 40,
}

# Run the Actor and wait for it to finish
run = client.actor("moving_beacon-owner1/greek-business-directory-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 '{
  "what": "γιατρος",
  "where": "θεσσαλονίκη",
  "max_records": 20,
  "max_pages": 2,
  "details_limit": 5,
  "delay": 0.5,
  "timeout": 40
}' |
apify call moving_beacon-owner1/greek-business-directory-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moving_beacon-owner1/greek-business-directory-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/fCTXZuje1C7gHzNA4/builds/2UN7aoMV4pVoIW9WO/openapi.json
