# PolandYP Business Scraper · Contacts & categories · $1.5/1K (`mlg14/poland-scraper`) Actor

Get Polish business directory listings and company profiles from PolandYP by category, city or URL for lead generation, local market research and contact lists. Returns contacts, locations and categories. $1.5/1K results.

- **URL**: https://apify.com/mlg14/poland-scraper.md
- **Developed by:** [MLG Data](https://apify.com/mlg14) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 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

## PolandYP Scraper

Scrape PolandYP business listings and public company profiles by category, city, or profile URL. Export PolandYP company data to JSON, CSV, or Excel for local market research, directory analysis, and contact-list preparation. This actor provides a repeatable PolandYP data feed without manually opening each listing.

The actor follows the directory's paginated public pages. It returns one record per company and can visit each profile for its published website, description, hours, categories, location, and other details. The source is a business directory: it does not publish KRS annual financial statements, revenue, assets, equity, or profit in these pages.

### What data can you extract from PolandYP?

Each dataset item represents one public company listing. Fields that a company has not published are absent or empty. `includeDetails` controls whether the actor opens individual profiles; profile-only fields will be absent when it is disabled.

| Field | Description | Example |
| --- | --- | --- |
| `listingId` | Directory identifier used to deduplicate listings | `705549` |
| `listingUrl` | Direct link to the public company profile | A PolandYP `/company/` URL |
| `companyName` | Name displayed on the directory | Name shown on the listing |
| `address` | Published street and postal address | `Świętego Tomasza 11, Kraków, 31-014, Poland` |
| `city` | City when it is explicitly marked in the listing or profile | `Kraków` |
| `country` | Country of the listing | `Poland` |
| `phone` | Public contact telephone number | `+48 728 411 782` |
| `mobilePhone` | Separately displayed mobile number | `+48 ...` |
| `website` | Company website shown on its public profile | A company website URL |
| `description` | Public profile description, with page formatting removed | Business summary text |
| `categories` | Public business categories assigned to the profile | `["Restaurants"]` |
| `establishedYear` | Year of establishment when supplied | `2022` |
| `employees` | Displayed employee count or range | `11-15` |
| `latitude` | Latitude from the listing map or profile data | `50.06333527118404` |
| `longitude` | Longitude from the listing map or profile data | `19.937986296979922` |
| `verified` | Whether the listing displays its verified marker | `true` |
| `workingHours` | Published weekly hours, kept as readable text | `Monday: 02:00 pm - 12:00 am; ...` |
| `imageUrl` | Main image URL from public profile data | An image URL |
| `updatedAt` | Profile's displayed last-update timestamp | `2025-06-10 12:18:15` |
| `registrationNumber` | Registration number only when explicitly shown | A public number, if available |
| `vatNumber` | VAT number only when explicitly shown | A public number, if available |

The actor never infers a city from free-form address text. When the page does not label a city, `city` stays empty even when the address appears to contain a place name. This makes the field safer to use as a filter or grouping key. Likewise, an unavailable registration or VAT number is not fabricated from an unrelated directory identifier.

### How to scrape PolandYP

1. Choose a category such as `Restaurants`, `Lawyers`, or `Construction_services`. The category must correspond to a public PolandYP category slug. Alternatively, paste one or more category or company profile URLs into `startUrls`.
2. Optionally enter a city such as `Kraków` or `Warszawa`. This narrows a selected category. A supplied start URL takes precedence over the category and city inputs.
3. Set `maxItems` to the number of unique companies needed. Leave `includeDetails` enabled if you need the website, description, categories, hours, and richer profile fields.
4. Run the actor. It walks pages of 20 listings, follows profile links when requested, and stops at the item cap or the end of the available pages.
5. Open the dataset to download JSON, CSV, or Excel. Use the listing ID or URL as a stable key when joining the output to your own records.

For a quick first run, the prefilled Restaurants category works without finding a URL. For a specific company, use its complete public `/company/` URL in `startUrls`; a direct profile URL returns one record. For several categories, supply their public category URLs in the same list and set a total item cap. Duplicate listing IDs across those categories are emitted once per run.

### Input

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `category` | string | `Restaurants` | Public category name or slug, used when `startUrls` is empty. Spaces are converted to underscores. |
| `city` | string | Empty | Optional city filter for the selected category. Use the city spelling shown on the site. |
| `startUrls` | string array | `[]` | Public PolandYP category and company profile URLs. These override `category` and `city`. |
| `maxItems` | integer | `100` | Maximum unique company records across all starts. `0` removes the fixed cap. |
| `includeDetails` | boolean | `true` | Visit every profile for fields beyond the listing card. |
| `proxyConfiguration` | object | Platform proxy | Request routing for directory and profile pages. |

Example for a city and category:

```json
{
  "category": "Restaurants",
  "city": "Kraków",
  "maxItems": 40,
  "includeDetails": true
}
```

Example for known public URLs:

```json
{
  "startUrls": [
    "https://www.polandyp.com/category/Lawyers",
    "https://www.polandyp.com/category/Construction_services"
  ],
  "maxItems": 100,
  "includeDetails": false
}
```

Use `includeDetails: false` when you need a fast pass over names, addresses, phone numbers, map coordinates, and verified markers. Re-enable it for a full profile export. A direct company URL is always read as a profile because no directory card exists for that start.

### Output example

The following selected values came from a 40-record run of the Restaurants category. The company name and external website are omitted from this documentation example; the dataset contains the complete original fields.

```json
{
  "listingId": "705549",
  "address": "Świętego Tomasza 11, Kraków, 31-014, Poland",
  "city": "Kraków",
  "country": "Poland",
  "phone": "+48 728 411 782",
  "establishedYear": 2022,
  "latitude": 50.06333527118404,
  "longitude": 19.937986296979922,
  "verified": true,
  "categories": ["Restaurants"],
  "employees": "11-15",
  "updatedAt": "2025-06-10 12:18:15"
}
```

The dataset schema documents every supported field. Records from listing cards alone contain fewer keys than records enriched from profiles. A missing key and a null value both mean the source did not provide a usable value. Consumers should check for the presence of optional fields instead of assuming every company fills the same template.

### Use cases

- **Local market mapping:** Build a list of public businesses in a category and compare their distribution across Polish cities.
- **Supplier discovery:** Find potential local suppliers, then review their published website, address, and phone before outreach.
- **Location planning:** Plot directory coordinates to inspect the density of businesses around a prospective site.
- **Directory quality checks:** Compare verified markers, published hours, and last-update dates across listings.
- **Category research:** Examine how businesses are classified on public profiles and spot overlaps between sectors.
- **Contact-list preparation:** Export public business contact information for internal review, with the listing URL retained as a source reference.

These use cases rely on directory information, not official registration or financial filings. Verify important decisions against primary sources and the business itself. The actor does not enrich records with hidden emails or data behind sign-in.

### How much does it cost to scrape PolandYP?

The current private actor pricing is **$0.0015 per dataset result**, equal to **$1.5 per 1,000 companies**. Billing follows records actually delivered to the dataset. Profile visits made by `includeDetails` do not create extra result events, so the result price is the same for card-only and full-profile output. A company appearing in multiple selected categories is deduplicated within one run.

| Delivered results | Result-event cost |
| ---: | ---: |
| 10 | $0.015 |
| 40 | $0.06 |
| 100 | $0.15 |
| 1,000 | $1.50 |

The platform may show separate run usage depending on account and plan. The examples above cover the configured result events. Set `maxItems` before a broad category crawl, especially when using `0`, because some categories contain thousands of listings. A small trial run is useful for checking whether the available fields suit your purpose.

### Tips for best results

Start with the narrowest relevant category and add a city if you need geographically focused records. The directory presents 20 companies per category page, so a 40-item request normally spans two pages. The actor keeps paging until it has enough unique records, encounters a short final page, or sees no new IDs. It deduplicates by the directory's listing ID, so the same profile linked by several supplied categories appears only once.

Choose `includeDetails` based on the fields you will use. Directory cards already show names, addresses, phone numbers, verification badges, and many map coordinates. Company profiles add structured website and map data plus descriptions, hours, categories, image URLs, employee ranges, and update timestamps where present. Full details require one extra request per company and therefore take longer than a card-only export.

If a category label entered by hand returns no records, open its category page in your browser and paste that URL into `startUrls`. Display labels and URL slugs are not always identical. For a single known business, a direct profile URL avoids browsing a category. Keep URLs on the public PolandYP domain; other sites are outside this actor's scope.

For repeated exports, retain `listingId` as the comparison key. A listing may change its name, contact details, or category while keeping that ID. `updatedAt` reflects the profile's own displayed update date when available; it is not the time of your scrape. If you schedule the actor, compare fresh datasets by ID and by the fields you care about. Scheduling does not create a built-in change-only monitor.

### Limits

PolandYP is a business directory, and a listing is not a KRS financial statement. The public pages examined for this actor expose company identity, contact, category, and location data. They do not provide balance sheets, revenue, profit, statement dates, or raw financial filings. `registrationNumber` and `vatNumber` are returned only when a profile explicitly displays those labels; most profiles in the tested category did not.

The site offers an email enquiry link that leads to sign-in. This actor does not follow that flow or claim to reveal an email address. A visible “E-mail” marker on a card is not treated as an email value. The site advertises richer information in a separate data product; that content is not part of the public profile output.

Field coverage varies considerably. In the 40-record verification run, listing ID, URL, name, address, phone, website, and category were present in all 40 records. An explicitly labeled city appeared in 25, coordinates in 38, employee ranges in 5, and working hours in 6. Category and company populations change over time, so these figures describe the verification sample rather than a guarantee for every category.

The Restaurants category showed 11,940 listings and 597 pages during source inspection. City filters split that large category into smaller page sequences. Other categories can have different totals, and a site's own result cap or temporary page error can end a crawl early. Pages were accessible from the tested network without a login or a challenge, but availability can change. Occasional profile failures leave the corresponding card data intact when it can still be delivered.

### Automated workflows

The input and output are ordinary JSON. One workflow can run `{"category":"Restaurants","city":"Kraków","maxItems":40}` each month, then compare `listingId`, `phone`, `website`, and `updatedAt` against the prior export. Another can provide a short list of company profile URLs and return the current public detail fields for those exact listings. Set a modest item cap for a scheduled workflow so a changing category size does not unexpectedly broaden the export.

Dataset rows can be filtered after a run. For example, keep only records where `verified` is true and `website` is present, or group rows by the `categories` array. Since a business can have several categories, treat that array as a set of labels rather than one exclusive sector. Map coordinates are numeric, making the output suitable for geographic analysis, but the site can omit a map marker for some listings.

### Use with AI agents (MCP)

Add this actor to any MCP client (Claude, Cursor, VS Code, n8n...) with one URL:

`https://mcp.apify.com?tools=mlg14/poland-scraper`

An agent gets one flat record per PolandYP business with name, address, phone, website and categories. Keep results bounded with `maxItems`, and set `includeDetails` to false for faster listing-only runs.

**Prompt 1:** "Get 20 restaurants in Kraków from the PolandYP business directory."

```json
{
  "category": "Restaurants",
  "city": "Kraków",
  "maxItems": 20,
  "includeDetails": false
}
```

**Prompt 2:** "Find law firms in Warszawa on PolandYP with their website and contact details."

```json
{
  "category": "Lawyers",
  "city": "Warszawa",
  "maxItems": 20,
  "includeDetails": true
}
```

**Prompt 3:** "Collect 50 construction service companies in Poland from PolandYP."

```json
{
  "category": "Construction_services",
  "maxItems": 50
}
```

### FAQ

#### Is scraping PolandYP legal?

The actor reads publicly visible business-directory pages. You are responsible for following applicable terms, privacy rules, and restrictions on how you use the records. Use public contact information responsibly and do not use the output to misuse personal data.

#### Do I need an account on the directory?

No directory login is used for these public listings. The actor does not enter sign-in areas or retrieve email addresses hidden behind an enquiry workflow. You need an Apify account to run and export the actor's dataset.

#### Do I need to configure a proxy?

The default input uses the platform proxy. The verification run completed with that configuration. Keep the default unless you have a specific network requirement. Temporary blocks or unavailable pages can still occur later, and a retry may help.

#### How fast is a run?

Card-only runs request category pages. Full-detail runs also request each company profile, so their time grows with `maxItems`. The verified 40-record run completed successfully on the platform; network conditions and the number of profiles can change the duration. Start small when estimating a larger category crawl.

#### Can I schedule a run or monitor changes?

You can schedule regular runs and compare their datasets by `listingId`. The actor emits current records on each run; it does not store history or emit only changed businesses. Keep old datasets if you need to calculate changes over time.

#### Can I export to spreadsheets?

Yes. Download the dataset as CSV or Excel from the platform, or retrieve JSON through its dataset API. Arrays such as `categories` may appear as serialized values in tabular exports, so check the target application's import settings.

#### Why are city, hours, employees, or registration fields empty?

Not every profile supplies these fields. Some listings show a free-form address without a separately labeled city, and only a minority in the verified sample included hours or employee ranges. Empty values are left empty instead of being guessed from names, maps, or unrelated identifiers.

#### Can this actor return KRS financial metrics?

No. The public PolandYP pages used here are directory listings, not the official financial-document register. The actor does not present directory IDs as KRS numbers or invent financial figures. Use an official filing source when assets, liabilities, revenue, or profit are required.

### Integrations

Run the actor through the Apify API, a scheduled task, or an automation service, then consume its default dataset. Webhooks can notify a downstream process when a run finishes. Exported CSV and Excel files can feed a spreadsheet, while JSON rows can be joined to an internal directory by `listingId`. For a repeatable process, keep the input category, city, profile-detail setting, and item cap in a saved task so later exports are comparable.

### Support

Open an issue on the Issues tab; we reply within 24h and add fields on request. Include the category or public profile URL and the field you expected so the listing can be checked against the source page.

# Actor input Schema

## `category` (type: `string`):

Category name or URL slug to browse. Example: Restaurants, Lawyers or Construction_services. Use when start URLs are empty; leave empty only if you pass startUrls.

## `city` (type: `string`):

Optional Polish city name to narrow the selected category. Example: Kraków or Warszawa. Leave empty to cover the whole category across Poland.

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

Optional PolandYP category or company profile URLs, as a list of strings. Example: \["https://www.polandyp.com/company/12345"]. When set, they take precedence over category and city; leave empty otherwise.

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

Stop after this many unique company records across all URLs. Example: 50 for a sample. Set 0 for no fixed cap; use a small number for testing and AI agent calls.

## `includeDetails` (type: `boolean`):

Visit each company profile to collect website, description, categories and hours. Allowed values: true or false. Example: false for a faster, cheaper listing-only run. Leave true for full contact data.

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

Proxy settings for directory and profile requests; the default uses Apify Proxy.

## Actor input object example

```json
{
  "category": "Restaurants",
  "startUrls": [],
  "maxItems": 100,
  "includeDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `companies` (type: `string`):

Scraped company records in the default dataset.

# 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 = {
    "category": "Restaurants"
};

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

# Run the Actor and wait for it to finish
run = client.actor("mlg14/poland-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 '{
  "category": "Restaurants"
}' |
apify call mlg14/poland-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mlg14/poland-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/4p8sy5g7DakjUrcZ1/builds/KzZwdeG5wayWncDEn/openapi.json
