# Firmy.cz Scraper (`eudatalab/firmy-cz-scraper`) Actor

Czech business leads from Firmy.cz: company name, category, address with GPS, phones, e-mail, website, IČO, rating, opening hours. Pay per company. Search by keyword + city, or paste any Firmy.cz URL.

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

## Pricing

from $3.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/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

## Firmy.cz Scraper — Czech business leads with phone, e-mail, website & IČO

Turn any Firmy.cz search into a clean company list: name, category, full address with GPS, phone numbers, e-mail, website, IČO (company ID), rating and opening hours. Pay only per company delivered.

### Sample output

| name | categories | address | phone | email | website | ico | ratingPercent |
|---|---|---|---|---|---|---|---|
| AQUAPLUMB | Instalatérství a topenářství | Patočkova 4/6, Praha, Střešovice | +420 800 555 100 | pospisil@aquaplumb.cz | https://www.instalateri-pohotovost.cz/ | 24692506 | 100 |

### Use cases

- **B2B lead generation** — build call/e-mail lists of plumbers, dentists, accountants, car services… in any Czech city.
- **Market research** — count competitors per region, compare ratings and categories.
- **Data enrichment** — match IČO to your CRM, verify addresses and websites.
- **AI agents** — expose this Actor as a tool via the Apify MCP server and let an agent pull fresh Czech company data.

### Pricing

**Pay per event: $0.003 per company.** No companies, no charge. Set **Max companies** to cap the cost of a run (100 companies ≈ $0.30). Works on the Apify free plan within your free credits.

### How to use

1. Type what you are looking for (`instalatér`, `zubař`, `účetní`…) and a location (`Praha`, `Brno`, a region, or empty for all Czechia).
2. Keep **Open company pages** on to get IČO, e-mail and all phone numbers (about 2× more requests, same price).
3. Run. Export the dataset as Excel, CSV, JSON, or push it to Google Sheets / your CRM with an integration.

Advanced: paste any Firmy.cz search or category URL into **Start URLs**; it overrides the query.

### Input

| Field | Meaning | Default |
|---|---|---|
| What are you looking for | search term as on Firmy.cz | `instalatér` |
| Location | city / district / region | `Praha` |
| Start URLs | search or category URLs (override query) | — |
| Max companies | stop after N companies (= cost cap) | 100 |
| Open company pages | add IČO, e-mail, all phones, opening hours | on |
| Proxy | Apify Proxy settings | datacenter |

### Output fields

`url`, `firmyId`, `name`, `categories[]`, `street`, `city`, `postalCode`, `country`, `address`, `latitude`, `longitude`, `phone`, `phones[]`, `email`, `website`, `ico`, `description`, `ratingPercent` (0–100), `reviewCount`, `openingHours`, `openingNow`, `scrapedAt`

### Limits and fair use

Only publicly listed business information is read, exactly as shown on Firmy.cz. No login, no bypass of access controls, no private individuals' data. Respect Firmy.cz terms and GDPR when contacting the companies.

### Problems?

Open an issue on the **Issues** tab with your run ID — median response time is under 6 hours.

# Actor input Schema

## `query` (type: `string`):

Search term as you would type it on Firmy.cz, e.g. `instalatér`, `zubař`, `účetní`, `autoservis`. Ignored when Start URLs are given.

## `location` (type: `string`):

City, district or region, e.g. `Praha`, `Brno`, `Jihomoravský kraj`. Leave empty for the whole country.

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

Any Firmy.cz search or category URLs, e.g. `https://www.firmy.cz/?potrebuji=zuba%C5%99+Brno` or `https://www.firmy.cz/Remesla-a-sluzby`. Overrides query + location.

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

Stop after this many companies. One company = one charged event, so this is your cost cap. The form prefills 25 for a quick first run; raise it for production.

## `followDetails` (type: `boolean`):

Visit each company's own page to add IČO (company ID), e-mail, all phone numbers and opening hours. About 2× slower, same price per company.

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

Apify datacenter proxies are sufficient.

## Actor input object example

```json
{
  "query": "instalatér",
  "location": "Praha",
  "startUrls": [],
  "maxItems": 25,
  "followDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "query": "instalatér",
    "location": "Praha",
    "maxItems": 25,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("eudatalab/firmy-cz-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 = {
    "query": "instalatér",
    "location": "Praha",
    "maxItems": 25,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("eudatalab/firmy-cz-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 '{
  "query": "instalatér",
  "location": "Praha",
  "maxItems": 25,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call eudatalab/firmy-cz-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,eudatalab/firmy-cz-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/AsGIrSMfDmS95EAkt/builds/ZDNzndMw3qT1QD0N2/openapi.json
