# Firmy.cz Scraper: Czech Business Leads with Email & IČO (`firsthand/firmy-cz-scraper`) Actor

Firmy.cz scraper: Czech companies by trade and city with phone, IČO, website, address, GPS and rating where listed; email, all phones, data box and opening hours from the company page. Search like on firmy.cz or paste links. Excel and CSV export from $0.0003 per business.

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

## Pricing

from $0.30 / 1,000 businesses

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 Email & IČO

Export Czech businesses from [Firmy.cz](https://www.firmy.cz) (the Seznam business directory) by trade and city: name, category, phone, IČO, website, address, GPS and rating, as listed on Firmy.cz. Turn on company details for email, every phone number, data box ID, opening hours and all categories. Search the same way as on the site or paste Firmy.cz links. Download the results as Excel, CSV or JSON, or call the Actor through the API.

### What you get

- **Business**: name, legal form, main category, phone with its type (mobile, landline, free line), IČO, website, full address with street, postal code, city and district, latitude and longitude, rating, rating in percent, number of reviews, description, logo, whether the business pays for its listing (`isPaidListing`), link to the Firmy.cz page. Fields stay empty when the business does not list them.
- **With "Add email, all phones, data box and opening hours" on**, each company page adds: email (and every other email listed), all phone numbers, all websites, datová schránka (data box ID), opening hours for a regular week (plus a note such as a public holiday in the coming days), all categories, features (for example card payment or non-stop service), social links and the date the company last updated its profile.
- **With "Visit company website" on**, the Actor also opens the company's own website (home page plus up to 5 pages: kontakt, o nás, tým, ochrana osobních údajů) and adds: emails found there, DIČ (VAT number), links to Facebook, Instagram, LinkedIn, YouTube and TikTok, and whether the email domain has a mail server. When Firmy.cz shows no email, the main `email` column is filled from the website.

### How to use it

1. Type what you are looking for (`instalatér`, `restaurace`, `účetní`, a company name) and one or more places (`Praha`, `Brno`, `Kladno`). Every query runs in every place; leave places empty to search the whole Czech Republic.
2. Or paste Firmy.cz links: searches like `https://www.firmy.cz/?q=instalatér praha`, categories like `https://www.firmy.cz/Auto-moto/Auto-moto-prodejci/Autobazary` or `https://en.firmy.cz/Automotive`, or company pages `https://www.firmy.cz/detail/...`.
3. Optional: limits per query and in total.
4. Run and download the dataset.

### Firmy.cz export do Excelu a CSV

Every run saves a table you can download as Excel, CSV, JSON or HTML from the Storage tab, or fetch through the Apify API. One row is one Firmy.cz business, in the same order as on the site.

### Example output

```json
{
  "id": "2697757",
  "name": "AQUAPLUMB",
  "legalForm": "s.r.o.",
  "category": "Instalatérství a topenářství",
  "phone": "+420800555100",
  "phoneType": "Bezplatná linka",
  "website": "https://www.instalateri-pohotovost.cz",
  "ico": "24692506",
  "address": "Patočkova 4/6, 169 00 Praha, Střešovice",
  "street": "Patočkova 4/6",
  "postalCode": "16900",
  "city": "Praha, Střešovice",
  "district": "Praha 6",
  "latitude": 50.090232849121094,
  "longitude": 14.384037017822266,
  "rating": 4.5,
  "ratingPercent": 93.04,
  "reviewsCount": 3,
  "url": "https://www.firmy.cz/detail/2697757-aquaplumb-praha-stresovice.html",
  "position": 1,
  "searchQuery": "instalatér",
  "searchLocation": "praha",
  "email": "info@aquaplumb.cz",
  "emails": ["info@aquaplumb.cz", "pospisil@aquaplumb.cz"],
  "phones": [
    {"number": "+420800555100", "type": "Bezplatná linka"},
    {"number": "+420220960636", "type": "Telefon"},
    {"number": "+420777949698", "type": "Telefon"}
  ],
  "dataBoxId": "m4drt8t",
  "openingHours": {"monday": "nonstop", "tuesday": "nonstop", "wednesday": "07:00-22:00"},
  "categories": ["Instalatérství a topenářství", "Instalace plynu a plynařské práce", "Kanalizace"],
  "features": ["Platba kartou", "Nonstop pohotovost"],
  "updatedAt": "2026-10-15 07:13:15"
}
```

### Website fields

With "Visit company website" on, every row gets these fields (empty when there is no website or nothing was found):

```json
{
  "websiteStatus": "ok",
  "websiteEmails": ["info@instalater-novak.cz", "anna@instalater-novak.cz"],
  "emailSource": "directory",
  "websitePhones": ["+420377123456"],
  "websiteSocialLinks": {"facebook": "https://www.facebook.com/example", "instagram": "https://www.instagram.com/example"},
  "people": [{"name": "Anna Beispiel", "role": "Jednatel"}],
  "registerNumber": null,
  "registerCourt": null,
  "vatId": "CZ12345678",
  "websiteEmailHasMx": true
}
```

`websiteStatus` says what happened: `ok`, `unreachable` (the site is down), `http_403` or another `http_<code>` (the site refused the visit or answered with an error), `not_html` (the link is a file, not a page), `platform` (the link points to Facebook, Doctolib or another platform, not to the company's own site), `skipped_cost_limit` (the run reached your maximum cost), `skipped_time_limit` (the run was too close to its timeout to visit the site) or `error`. Data protection and job mailboxes found on a site stay in `websiteEmails` at the end of the list, but never become the main `email` and are not charged. `emailSource` says whether the main `email` came from the directory or from the website.

### Pricing

Pay per result, no monthly fee and no start fee of our own:

| What | Price |
|---|---|
| Business row (phone, IČO, website, address, GPS, rating) | $0.0003 |
| Email, all phones, data box and opening hours from the company page | $0.0003 per business |
| Company website: emails, DIČ, social links | $0.002 per business, only when the website gave at least one of these |

1,000 businesses cost $0.30, or $0.60 with company page details. You pay only for rows in your dataset; a business already returned in the same run is not charged twice, and an empty company page is not charged. Set "Maximum cost per run" in the run options to cap the spend. With "Visit company website" on, add up to $2.00 per 1,000 businesses: the $0.002 is charged only for a business whose website gave an email, a social link, a person or a register or VAT number; a site that is down, refuses the visit or shows nothing useful is free.

### Firmy.cz API for developers

Start the Actor through the Apify API or the Python and JavaScript clients and read the dataset when it finishes. Input example:

```json
{
  "searchQueries": ["instalatér", "topenář"],
  "locations": ["Praha", "Brno"],
  "includeDetails": true,
  "enrichWebsite": true,
  "maxItems": 500
}
```

Inputs written for other Firmy.cz actors on Apify also work: `searchQuery`, `searchTerms`, `query`, `location`, `locality`, `searchUrls`, `urls`, `maxResults`, `max_items`, `fetchDetails`, `category` (top-level category slugs such as `auto-moto` or `sluzby-a-remesla`), `minRating`, `withPhoneOnly` and `icoList` (a list of IČO numbers to look up) are read as the matching fields. For the website option `scrapeWebsite`, `enrichWebsites`, `scrapeContacts` and `websiteEnrichment` work too.

### Good to know

- One company can have several branches on Firmy.cz; each branch is its own row with its own address and phone, and the IČO is the same.
- Firmy.cz finds the place inside the query, so `instalatér` in `Praha` searches the same as `instalatér praha` on the site. For a small town the site also adds businesses from nearby places; use the `city` field to keep only the town you need.
- Without `maxItems` a run stops at 100 businesses; set 0 for no limit. Common trades in big cities return hundreds or thousands of businesses.
- Not every business lists an email; for them `email` stays empty.
- Company websites are visited from Apify servers without a proxy. In our tests about 90% of Czech sites opened; the rest refused the visit or were down, and those businesses are not charged for the website.
- Emails of web agencies, hosting companies, consumer mediators and data protection authorities found on a site are dropped. When the site has an email on its own domain, emails on other domains are dropped too.
- The Actor reads public Firmy.cz data only. Use it in line with the GDPR and the rules for business contact in your country.

# Actor input Schema

## `searchQueries` (type: `array`):

What you would type in the Firmy.cz search box, for example 'restaurace', 'účetní', 'autoservis' or a company name.

## `locations` (type: `array`):

Places, for example 'Brno', 'Kladno' or 'Jihomoravský kraj'. Every query runs in every place. Empty searches the whole Czech Republic.

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

Search pages (https://www.firmy.cz/?q=instalatér praha), category pages (https://www.firmy.cz/Auto-moto/Auto-moto-prodejci/Autobazary, https://en.firmy.cz/Automotive) or company pages (https://www.firmy.cz/detail/...).

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

Opens each company page for its email, every phone number, all websites, data box ID, opening hours, all categories, features and social links. Charged once per business.

## `enrichWebsite` (type: `boolean`):

Opens the company's own website (home page plus up to 5 pages: contact, imprint, about, team) and adds the emails found there, social profile links and the DIČ (VAT number). The main email column is filled from the website when the directory has none. Charged once per business, only when the website gave at least one of these. Websites are visited without a proxy.

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

Businesses in total across all queries, places and links. 100 if empty, 0 means no limit.

## `maxItemsPerQuery` (type: `integer`):

Limit for each query in each place and for each link. Empty or 0 means no limit.

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

The site works without a proxy. Turn Apify Proxy on only if runs get refused.

## Actor input object example

```json
{
  "searchQueries": [
    "instalatér"
  ],
  "locations": [
    "Praha"
  ],
  "includeDetails": true,
  "enrichWebsite": false,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "searchQueries": [
        "instalatér"
    ],
    "locations": [
        "Praha"
    ],
    "includeDetails": true,
    "enrichWebsite": false,
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("firsthand/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 = {
    "searchQueries": ["instalatér"],
    "locations": ["Praha"],
    "includeDetails": True,
    "enrichWebsite": False,
    "maxItems": 100,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("firsthand/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 '{
  "searchQueries": [
    "instalatér"
  ],
  "locations": [
    "Praha"
  ],
  "includeDetails": true,
  "enrichWebsite": false,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call firsthand/firmy-cz-scraper --silent --output-dataset

```

## MCP server setup

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