# Panorama Firm (PL) Scraper — Polish business leads (`alwaysprimedev/panoramafirm-scraper`) Actor

Scrapes Polish business directory panoramafirm.pl. Returns structured records with company name, address, phone (E.164), email, website, NIP tax ID, categories, rating, reviews, opening hours and geo coordinates. Built for lead generation, CRM enrichment and market research in Poland.

- **URL**: https://apify.com/alwaysprimedev/panoramafirm-scraper.md
- **Developed by:** [Always Prime](https://apify.com/alwaysprimedev) (community)
- **Categories:** E-commerce, Lead generation, SEO tools
- **Stats:** 4 total users, 2 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 companies

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## 🇵🇱 Panorama Firm Scraper — Polish Business Leads on Demand

> Turn **panoramafirm.pl** — Poland's largest online business directory — into a clean, structured stream of B2B leads. Names, phones, emails, NIP tax IDs, addresses, ratings, reviews and geo coordinates, ready to drop into your CRM, outreach tool or BI dashboard.

### ✨ Why this scraper?

- 📞 **Real phone numbers in E.164 format** (`+48224230666`) — no obfuscation, no "click to reveal" placeholders.
- 📧 **Verified business emails** — service / placeholder addresses are filtered out automatically.
- 🏢 **Polish tax registry NIP** on every record — perfect for deduping against your own data or enriching with KRS / GUS lookups.
- ⭐ **Full review payloads** — author, rating, text and ISO date for every review on the listing.
- 🗺️ **Latitude & longitude** — drop the data straight into your map, route planner or geo-targeted ads.
- 🔁 **Smart deduplication** by NIP — the same business listed under multiple categories collapses into one row.
- 🛡️ **Resilient by design** — session rotation, automatic retries, 404 / 410 handling and anti-bot recovery built in.

### 🎯 Built for

- 🚀 **Sales & lead generation** — build prospect lists by city, category or keyword.
- 🧩 **CRM enrichment** — fill missing phones, emails, addresses, NIPs against your existing accounts.
- 📊 **Market research** — competitor mapping, market sizing, density analysis by region.
- 📍 **Local SEO & ads** — geo coordinates and category metadata for hyperlocal targeting.

### 📦 What you get per company

| Field                                                       | Description                                                                                                                       |
| ----------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| 🏷️ `name`                                                   | Company name                                                                                                                      |
| 🗂️ `categories`                                             | Business categories (comma-separated when more than one)                                                                          |
| 📝 `description`                                            | Short description / tagline                                                                                                       |
| 🏠 `address`, `street`, `postalCode`, `city`, `voivodeship` | Postal address — full string plus split components                                                                                |
| 📞 `phones`                                                 | Phone number(s) in **E.164** format (comma-separated when more than one)                                                          |
| 📧 `emails`                                                 | Email address(es) (comma-separated when more than one)                                                                            |
| 🌐 `website`                                                | Company website URL (normalized)                                                                                                  |
| 🆔 `nip`, `regon`, `krs`                                    | Polish business registry IDs — panoramafirm.pl publishes only NIP for almost every listing, so `regon` / `krs` are usually `null` |
| ⭐ `rating`, `reviewsCount`                                 | Aggregated rating and number of reviews                                                                                           |
| 💬 `reviews`                                                | Array of review objects with `author`, `rating`, `text`, `publishedAt` — `null` when none                                         |
| 🕐 `openingHours`                                           | Business hours per day of week (when published)                                                                                   |
| 🌍 `latitude`, `longitude`                                  | Geo coordinates (when available)                                                                                                  |
| 🔗 `socialLinks`                                            | Facebook / Instagram / LinkedIn URLs (comma-separated)                                                                            |
| 📌 `url`, `scrapedAt`                                       | Source URL and ISO timestamp                                                                                                      |

### ⚙️ Input

| Field              | Type               | Required | Default | Description                                                                                                                                  |
| ------------------ | ------------------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `searchTerms`      | array of string    | one of   | `[]`    | 🔍 Free-text keywords or company names, e.g. `["nike", "restauracja"]`. Each term is sent as the `what` parameter to panoramafirm.pl.        |
| `searchLocation`   | string             | no       | —       | 📍 Optional city/region applied to all search terms, e.g. `"Warszawa"`. Sent as the `where` parameter. If empty, the search runs nationwide. |
| `startUrls`        | array of `{ url }` | one of   | `[]`    | 🔗 Direct panoramafirm.pl URLs (search, category, or detail).                                                                                |
| `maxResults`       | integer            | no       | `100`   | 🔢 Cap on detail pages scraped per query. `0` = unlimited.                                                                                   |
| `maxConcurrency`   | integer            | no       | `5`     | ⚡ Parallel requests.                                                                                                                        |
| `deduplicateByNip` | boolean            | no       | `true`  | 🔁 Skip records sharing a NIP — same business often appears under multiple categories.                                                       |

At least one of `searchTerms` or `startUrls` must be provided.

> 💡 **Tip:** put the keyword in `searchTerms` and the city in `searchLocation` separately. Passing both inside a single term (e.g. `"nike Warszawa"`) gives the site a single token to match and yields far fewer results than splitting them.

### 🧪 Example input

```json
{
  "searchTerms": ["restauracja", "fryzjer"],
  "searchLocation": "Warszawa",
  "maxResults": 50
}
````

### 📤 Example output (single record)

```json
{
  "url": "https://panoramafirm.pl/mazowieckie,,warszawa,bemowo,drzeworytników,99/moton_sp._z_o.o.-srinig_fbz.html",
  "name": "Moton Sp. z o.o.",
  "categories": "Filtry",
  "description": "Firma Moton znajduje się w Warszawie. Działalność istnieje od 2010 roku i oferuje sprzedaż najwyższej klasy rozwiązań filtrujących.",
  "address": "ul. Drzeworytników 99, 01-385 Warszawa Bemowo woj: mazowieckie",
  "street": "ul. Drzeworytników",
  "postalCode": "01-385",
  "city": "Warszawa",
  "voivodeship": "mazowieckie",
  "phones": "+48224230666",
  "emails": "moton@filtry.org.pl",
  "website": "https://www.filtry.org.pl/",
  "nip": "5222940841",
  "regon": null,
  "krs": null,
  "rating": 4.75,
  "reviewsCount": 8,
  "reviews": [
    {
      "author": "Jarek",
      "rating": 5,
      "text": "Swoją lakiernię zaopatrujemy w filtry od tego sprzedawcy i zawsze jesteśmy zadowoleni.",
      "publishedAt": "2022-05-28T23:00:00.000Z"
    }
  ],
  "openingHours": null,
  "latitude": 52.22717,
  "longitude": 20.90655,
  "socialLinks": null,
  "scrapedAt": "2026-05-01T20:21:53.232Z"
}
```

### 📤 Output formats

The dataset is available as **JSON, CSV, Excel, HTML, JSONL, RSS** and **XML** — straight from the Apify dataset UI or via the API. Pipe it into Google Sheets, Make / Zapier, your warehouse, or any tool that speaks one of those formats.

### ⚖️ Legal & compliance

Panorama Firm allows crawling per its `robots.txt`. This actor scrapes **business contact data only** — names, addresses, phones, emails, websites and tax IDs of registered businesses — and does **not** target personal data of identifiable individuals. You are responsible for ensuring your usage complies with **GDPR**, the source's Terms of Service, and any applicable local laws — including how you store, process and contact the leads you collect.

# Actor input Schema

## `searchTerms` (type: `array`):

Free-text keywords or company names to search for. Example: \['nike', 'restauracja', 'fryzjer']. Each term is sent as the 'what' parameter to panoramafirm.pl. To narrow results to a specific city, use 'Search location' below.

## `searchLocation` (type: `string`):

Optional city / region name applied to all search terms. Example: 'Warszawa', 'Kraków', 'pomorskie'. If empty, the search runs nationwide.

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

Custom panoramafirm.pl URLs to start from (search results, category pages, or company detail pages).

## `maxResults` (type: `integer`):

Hard cap on number of company detail pages scraped per search term / start URL. Use 0 for no limit.

## `maxConcurrency` (type: `integer`):

Maximum number of parallel requests.

## `deduplicateByNip` (type: `boolean`):

Skip records with the same NIP (Polish tax ID). Some companies are listed under multiple categories and would otherwise appear several times.

## Actor input object example

```json
{
  "searchTerms": [],
  "startUrls": [],
  "maxResults": 100,
  "maxConcurrency": 5,
  "deduplicateByNip": true
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("alwaysprimedev/panoramafirm-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 = {}

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

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

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

```

## CLI example

```bash
echo '{}' |
apify call alwaysprimedev/panoramafirm-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=alwaysprimedev/panoramafirm-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Panorama Firm (PL) Scraper — Polish business leads",
        "description": "Scrapes Polish business directory panoramafirm.pl. Returns structured records with company name, address, phone (E.164), email, website, NIP tax ID, categories, rating, reviews, opening hours and geo coordinates. Built for lead generation, CRM enrichment and market research in Poland.",
        "version": "0.1",
        "x-build-id": "6KfB3c87HqHXrEOXT"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/alwaysprimedev~panoramafirm-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-alwaysprimedev-panoramafirm-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/alwaysprimedev~panoramafirm-scraper/runs": {
            "post": {
                "operationId": "runs-sync-alwaysprimedev-panoramafirm-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/alwaysprimedev~panoramafirm-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-alwaysprimedev-panoramafirm-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": {
                    "searchTerms": {
                        "title": "Search terms",
                        "type": "array",
                        "description": "Free-text keywords or company names to search for. Example: ['nike', 'restauracja', 'fryzjer']. Each term is sent as the 'what' parameter to panoramafirm.pl. To narrow results to a specific city, use 'Search location' below.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "searchLocation": {
                        "title": "Search location",
                        "type": "string",
                        "description": "Optional city / region name applied to all search terms. Example: 'Warszawa', 'Kraków', 'pomorskie'. If empty, the search runs nationwide."
                    },
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Custom panoramafirm.pl URLs to start from (search results, category pages, or company detail pages).",
                        "default": [],
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxResults": {
                        "title": "Maximum results per query",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Hard cap on number of company detail pages scraped per search term / start URL. Use 0 for no limit.",
                        "default": 100
                    },
                    "maxConcurrency": {
                        "title": "Max concurrency",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "Maximum number of parallel requests.",
                        "default": 5
                    },
                    "deduplicateByNip": {
                        "title": "Deduplicate by NIP",
                        "type": "boolean",
                        "description": "Skip records with the same NIP (Polish tax ID). Some companies are listed under multiple categories and would otherwise appear several times.",
                        "default": 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
                                    }
                                }
                            },
                            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
