# Firmy.cz Scraper – Czech Businesses by Category & Filters (`budoucnost-ai/firmy-cz-scraper`) Actor

Czech businesses from Firmy.cz (Seznam) by category, filters (cyclists welcome, Wi-Fi, parking, EV charging, dog friendly…), keyword and region. Full profiles: IČO, phones, e-mails, web, socials, opening hours, rating, features, photos, GPS. Dedupe across categories, ARES and website add-ons.

- **URL**: https://apify.com/budoucnost-ai/firmy-cz-scraper.md
- **Developed by:** [Budoucnost AI](https://apify.com/budoucnost-ai) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 business scrapeds

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 businesses by category, filters & region

Scrape **Firmy.cz**, the business directory of Seznam.cz and the largest catalogue of Czech companies, shops, restaurants, hotels, services and institutions (about 800 000 profiles). Pick a **category** (any level of the Firmy.cz tree), add the **filters** you see under *Upřesnit* on the site (cyclists welcome, Wi-Fi, parking, card payment, dog friendly, EV charging, wheelchair accessible, open now…), optionally a **region or district**, and get every business as one clean JSON record with the **full profile**: IČO, data box, all phones and e-mails, website, social links, weekly opening hours, rating and review count, AI review summary, all categories, all features and tags, photos, GPS and more.

Businesses that appear in several categories are returned **once**, with every category they were found in. Optional add-ons enrich each record with the official **ARES business register** (legal form, founding date, VAT, NACE, employee category) and a **website check** (status, HTTPS, title, e-mails and phones on the site, e-shop and online booking detection).

- No login, no API key, no browser. Data comes from the same JSON API the Firmy.cz front end uses, so it is fast (hundreds of profiles per minute) and does not break when the site's HTML changes.
- Pay only for what you get: **one event per unique business saved**. Failures, duplicates, cached profiles and businesses skipped by your own filters are never charged.
- Works with the Apify API, scheduler, integrations and MCP; the input is described in plain language so AI agents can drive it.

Maintained by [Budoucnost AI](https://apify.com/budoucnost-ai).

### Use cases

- **B2B lead lists** for a city, district or region: all restaurants in Brno with a terrace, all car services in okres Vyškov, all accounting firms in Prague.
- **Partner and location scouting** by amenity: hotels and campsites with the *Cyklisté vítáni* (cyclists welcome) badge along a cycling route, guesthouses that accept dogs, venues with a conference hall and EV charging.
- **Market research**: how many wellness centres, pharmacies or e-shops a category has per region, their ratings and review counts, which chains dominate.
- **CRM enrichment**: match your customers to Firmy.cz IDs and keep phones, e-mails, opening hours, rating and website fresh; combine with ARES to validate IČO, legal form and VAT status.
- **Data products and AI agents**: let an agent answer "find me 20 hotels in South Moravia that welcome cyclists and have a restaurant" with one Actor call.

### Input

| Field | Type | Description |
| --- | --- | --- |
| `categories` | string\[] | Category URLs (with or without `?filters`), paths like `Restauracni-a-pohostinske-sluzby/Restaurace` or plain names like `Hotely`. Parent categories include their subcategories. |
| `searchQueries` | string\[] | Free-text searches as on the site, e.g. `kavárna Olomouc`. |
| `startUrls` | url\[] | Any Firmy.cz URLs: category pages, search result pages, business detail pages. |
| `locality` | string | Region or district: `Jihomoravský kraj`, `okres Vyškov`, `Praha`, `CZ064`. Towns are added to the search text. |
| `strictLocality` | boolean | Skip businesses whose district lies outside the requested region (Firmy.cz also shows nearby ones). Default `true`. |
| `filters` | enum\[] | Listing filters combined with AND: `cykliste-vitani`, `family-friendly`, `s-wifi`, `s-parkovistem`, `platba-kartou`, `qr-platba`, `se-psem`, `bezbarierove`, `castecne-bezbarierove`, `nabijeni-elektromobilu`, `nyni-otevreno`, `klimatizovano`, `stravovani`, `konferencni-sal`, `se-salonkem`, `s-detskym-koutkem`, `se-zahradkou`, `prodejna`, `rezervace-ubytovani`. |
| `extraFilters` | string\[] | Any other filter or tag slug from a Firmy.cz URL (`svatba`, `polopenze`, `darkove-poukazy`…). |
| `maxItems` | integer | Total number of unique businesses to save. Default 100. |
| `maxItemsPerSource` | integer | Cap per category/query, 0 = none. |
| `includeDetails` | boolean | Fetch the full profile of every business (default). Off = listing data only, same price. |
| `dedupe` | boolean | Return each business once across categories and queries (default). |
| `includeUnverified` | boolean | Include profiles not verified by the owner (default, as on the site). |
| `excludeIds` | string\[] | Firmy.cz IDs you already have; skipped before any request, never charged. |
| `includeRegex` / `excludeRegex` | string | Case-insensitive regular expressions matched against everything visible in the listing (name, address, city, district, ZIP, category, features, description, website). Non-matching businesses are not fetched and not charged. |
| `cacheHours` | integer | Profiles are cached in a key-value store `firmy-cz-cache` in **your** account and reused for this many hours (default 24, 0 = off). |
| `enrichAres` | boolean | Add-on: ARES register data for the IČO. |
| `verifyWebsite` | boolean | Add-on: fetch the homepage and analyse it. |
| `mode` | enum | `scrape` (default) or `listCategories`: free export of the category tree and the filters available in each category with business counts. |
| `categoryDepth` | integer | Depth of the tree in `listCategories` mode (default 2). |
| `maxConcurrency`, `requestDelayMs` | | Politeness settings; defaults 5 and 250 ms. |
| `proxyConfiguration` | object | Apify datacenter proxy (default) is sufficient. |

#### Example input

```json
{
    "categories": [
        "https://www.firmy.cz/Cestovni-sluzby/Ubytovaci-sluzby/Hotely?cykliste-vitani",
        "Restauracni-a-pohostinske-sluzby/Restaurace",
        "Kempy"
    ],
    "filters": ["cykliste-vitani"],
    "locality": "Jihomoravský kraj",
    "maxItems": 500,
    "includeDetails": true,
    "enrichAres": true,
    "verifyWebsite": false,
    "excludeRegex": "penzion",
    "excludeIds": ["13074828"]
}
```

Finding category paths: open the category on Firmy.cz and copy the URL, or run the Actor once with `"mode": "listCategories"` to export the whole tree (12 top-level categories, ~1 500 subcategories) together with the filter slugs and how many businesses carry each one.

### Output

One dataset item per unique business. The most important fields:

| Field | Example |
| --- | --- |
| `id`, `url` | `13074828`, `https://www.firmy.cz/detail/13074828-zamek-racice-racice-pistovice-racice.html` |
| `name`, `legalName`, `nameAddition` | `Zámek Račice`, `e-Finance Zámek Račice, s.r.o.`, `s.r.o.` |
| `ico`, `dic`, `dataBoxId` | `05711576`, `CZ05711576`, `ftj93yk` |
| `description` | profile text |
| `address`, `street`, `houseNumber`, `city`, `zip`, `district`, `region`, `addressNote` | `Račice 1, 683 05`, …, `Vyškov`, `CZ0646` |
| `latitude`, `longitude`, `mapyUrl` | `49.2753`, `16.8693`, Mapy.com link |
| `phones[]`, `primaryPhone` | `[{ "number": "+420 515 555 549", "role": "Telefon" }]` |
| `emails[]`, `primaryEmail` | `[{ "email": "info@zamekracice.cz", "role": "E-mail" }]` |
| `website`, `websites[]`, `socialLinks[]`, `bookingUrl` | tracking parameters removed |
| `ratingStars`, `ratingPercent`, `ratingText`, `reviewCount`, `reviewsSummary`, `structuredRatings[]` | `4.5`, `88.7`, `186`, AI summary of reviews, sub-ratings (location, services, cleanliness, price) |
| `openingHours[]` | 7 days with `open`, `close`, second interval, `nonstop`, `closed`, `note`; plus `openingHoursNote`, `openingHoursLabel`, `isNonstop` |
| `mainCategory`, `categories[]` | `{ id, name, path, namePath }` for every category the business is filed under |
| `features[]`, `featureSlugs[]` | `Cyklisté vítáni`, `Wi-Fi`, `Parkoviště`, `Nabíjení elektromobilů`, business tags like `Svatba`, `Polopenze` |
| `tags[]` | `top-firma-2025`, `paid-profile`, `eshop`, `recommended:*` |
| `photos[]`, `logo`, `photoCount` | full-size URLs with thumbnails and dimensions |
| `isPaidProfile`, `isVerified`, `isEshop`, `topBadge`, `lastProfileUpdate`, `branchIds[]` | |
| `foundInCategories[]`, `foundByQueries[]` | every input category/query the business appeared in |
| `ares` | see below, `null` unless `enrichAres` |
| `websiteCheck` | see below, `null` unless `verifyWebsite` |
| `detailScraped`, `scrapedAt` | |

`ares`: `businessName`, `legalFormCode` + `legalForm`, `registeredAddress`, `registeredCity`, `registeredRegion`, `registeredDistrict`, `registeredZip`, `establishedAt`, `dissolvedAt`, `isActive`, `vatId`, `vatPayer`, `nace[]`, `mainNace`, `employeeCategoryCode` + `employeeCategory` (e.g. `10–19 zaměstnanců`), `institutionalSector`, `updatedAt`, `sourceUrl`.

`websiteCheck`: `status`, `ok`, `finalUrl`, `https`, `redirected`, `title`, `description`, `language`, `emails[]`, `phones[]`, `socialLinks[]`, `hasEshop`, `hasBooking`, `hasContactForm`, `generator` (CMS), `responseMs`, `error`.

Failed items (deleted profile, blocked request after retries) are stored as `{ id, url, error, foundInCategories }` without any charge, so you always see what was attempted.

#### Example output (shortened)

```json
{
    "id": 13071270,
    "url": "https://www.firmy.cz/detail/13071270-hotel-pansky-dum-korenov-jizerka.html",
    "name": "Hotel Panský dům",
    "legalName": "Panský dům a Pyramida, s.r.o.",
    "ico": "26049082",
    "dataBoxId": "mnmu3ie",
    "address": "Kořenov, Jizerka 20, 468 50",
    "city": "Kořenov, Jizerka",
    "district": "Jablonec nad Nisou",
    "latitude": 50.8185163889,
    "longitude": 15.3456305556,
    "phones": [{ "number": "+420 602 313 425", "role": "Telefon" }],
    "emails": [{ "email": "info@jizerka.cz", "role": "E-mail" }, { "email": "jizerka@dudovi.cz", "role": null }],
    "website": "https://www.jizerka.cz/",
    "socialLinks": [{ "network": "facebook", "url": "https://www.facebook.com/Panskydumapyramida" }],
    "ratingStars": 4.5,
    "ratingPercent": 87.9,
    "reviewCount": 35,
    "openingHours": [{ "day": "monday", "date": "2026-11-09", "open": "08:00", "close": "20:00", "nonstop": false, "closed": false }],
    "mainCategory": { "id": 338, "name": "Horské hotely", "path": "Cestovni-sluzby/Ubytovaci-sluzby/Horske-ubytovani/Horske-hotely" },
    "featureSlugs": ["family-friendly", "s-wifi", "platba-kartou", "stravovani", "konferencni-sal", "s-parkovistem", "se-psem", "cykliste-vitani"],
    "foundInCategories": ["Cestovni-sluzby/Ubytovaci-sluzby/Hotely?cykliste-vitani"],
    "ares": { "legalForm": "Společnost s ručením omezeným", "establishedAt": "2002-09-11", "vatPayer": true, "employeeCategory": "25–49 zaměstnanců" }
}
```

### Pricing

Pay per event. You are charged only after the item is stored in your dataset.

| Event | Price | When |
| --- | --- | --- |
| `business-scraped` | **$0.0014** ($1.40 per 1 000) | one unique business saved, with or without full details |
| `ares-enriched` | $0.001 | ARES record found and attached (`enrichAres`) |
| `website-verified` | $0.002 | homepage answered and was analysed (`verifyWebsite`) |
| Actor start | $0.00005 | per run |

Not charged: duplicates across categories, businesses skipped by `excludeIds`, `includeRegex`/`excludeRegex` or `strictLocality`, profiles served from your cache (still saved, still charged once as a business, but no request to Firmy.cz), deleted profiles, blocked requests, `listCategories` mode, failed add-on lookups.

**Examples**

- 1 000 hotels with full profiles: 1 000 × $0.0014 = **$1.40**.
- 5 000 restaurants with ARES data: 5 000 × ($0.0014 + $0.001) = **$12.00**.
- 300 campsites with ARES and website check: 300 × $0.0044 = **$1.32**.
- Category tree and filter export: **$0.00005** (start only).

Platform usage (compute, proxy) is included in the event prices on the standard setting; a run of 1 000 businesses takes roughly two minutes on 512 MB.

#### How it compares

Other Firmy.cz Actors in the Store charge between $0.5 and $12 per 1 000 results. Most of them read only the search result page (one phone, no e-mails, no features, no opening hours, no categories) or need a browser and charge $2–5 per 1 000. This Actor returns the complete profile from the Firmy.cz API, supports the site's own filters and regions, deduplicates across categories, lets you exclude IDs and regex-filter before paying, caches profiles for re-runs, and adds ARES and website verification nobody else offers at this price.

### Tips

- **Filters are exact Firmy.cz filters**: a business is returned only if its profile carries the feature. Use `listCategories` to see which filters exist for a category and how many businesses have them.
- **Several categories at once**: pass a parent category (`Cestovni-sluzby/Ubytovaci-sluzby`) to cover hotels, guesthouses, apartments and campsites in one run; the business is saved once with all matching categories in `foundInCategories`.
- **Strict regions**: Firmy.cz treats a region as a search area and may add nearby businesses; `strictLocality` (on by default) drops those. For a town, add it to `searchQueries` ("hotel Znojmo") and use `includeRegex` on the city name if you need it exact.
- **Incremental runs**: keep the IDs you already have and pass them in `excludeIds`, or rely on the 24-hour cache when re-running overlapping categories.
- **Large runs**: `maxConcurrency` 5 and the default 250 ms delay handle several thousand businesses per run without being blocked. If the log shows blocked requests, lower concurrency or raise the delay; the Actor stops itself after 12 consecutive blocks so you never pay for empty runs.

### Shared cache

Full profiles are public data and identical for every user, so the actor keeps a shared cache across all its users:
a profile fetched by anyone within your `cacheHours` (max 14 days) is reused instead of hitting Firmy.cz again. That
makes repeated runs faster and gentler on Firmy.cz; cache hits are charged like fresh profiles. Only the raw public
profile is cached, never your input, filters or results. Set `useSharedCache: false` or `cacheHours: 0` when you
need every profile fetched fresh. The per-account cache (`firmy-cz-cache` in your key-value stores) still works on top.

### FAQ

**Does it need a proxy?** The Apify datacenter proxy (included in every plan) is enough; the Actor rotates sessions automatically when Firmy.cz answers 403/429/434.

**Can I scrape a single company?** Yes, put its detail URL into `startUrls` or `categories`.

**Why is a business missing although I see it on the site?** Firmy.cz hides unverified profiles in some listings; set `includeUnverified` to `true` (default). Businesses outside the requested region are skipped when `strictLocality` is on.

**Are the e-mails and phones from the profile or the website?** From the Firmy.cz profile. The `verifyWebsite` add-on additionally extracts contacts found on the company's homepage into `websiteCheck`.

**How current is the data?** Live at the time of the run; with the cache enabled a profile may be up to `cacheHours` old within your own account.

**Is scraping Firmy.cz allowed?** The Actor reads publicly available business listings at a polite rate for legitimate purposes such as lead generation and research. You are responsible for complying with Firmy.cz terms, GDPR and local law for the data you collect, especially personal data of sole traders.

**Can an AI agent use it?** Yes. The input fields are self-describing; a typical call is `{ "categories": ["Hotely"], "locality": "Jihomoravský kraj", "filters": ["cykliste-vitani"], "maxItems": 50 }`.

### Changelog

- **1.0** (November 2026) – first release: category/query/URL inputs, 19 named filters plus free slugs, regions and districts with strict mode, full profiles, deduplication across categories, exclude IDs and regex pre-filters, profile cache, ARES and website add-ons, free category and filter export.

# Actor input Schema

## `categories` (type: `array`):

Firmy.cz categories to scrape, one per line: a category URL (with or without ?filters, e.g. https://www.firmy.cz/Cestovni-sluzby/Ubytovaci-sluzby/Hotely?cykliste-vitani), a category path (Restauracni-a-pohostinske-sluzby/Restaurace) or a category name (Hotely). Parent categories include all their subcategories. A name that is not a category is searched as a keyword. Businesses appearing in several categories are returned once with all of them in foundInCategories.

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

Free-text searches like on Firmy.cz, one per line (e.g. "kavárna Olomouc", "zubař Praha 6"). A town in the query is understood by Firmy.cz. Combined with Filters and Locality below.

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

Any Firmy.cz URLs: category pages, search result pages (?q=…) or business detail pages (/detail/…). Detail URLs are scraped directly.

## `locality` (type: `string`):

Limit all categories and queries to one Czech region (kraj) or district (okres): "Jihomoravský kraj", "kraj-jihomoravsky", "okres Vyškov", "Praha", or a NUTS code (CZ064). A town name that is not a region/district is added to the search text instead.

## `strictLocality` (type: `boolean`):

Firmy.cz treats a region as a search area and also shows nearby businesses. When on, businesses whose district is outside the requested region/district are skipped (not charged).

## `filters` (type: `array`):

Firmy.cz listing filters applied to every category and query. Only businesses carrying the feature are returned. Multiple filters are combined with AND.

## `extraFilters` (type: `array`):

Any other Firmy.cz filter or tag slug as it appears in the URL after "?" (e.g. svatba, darkove-poukazy, polopenze). Run the listCategories mode to export all slugs available for a category with counts.

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

Stop after this many unique businesses in total (across all categories and queries). Each saved business is one business-scraped event.

## `maxItemsPerSource` (type: `integer`):

Optional cap per category or query (0 = no cap). Useful to sample many categories evenly.

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

Open each business profile (one API call per business) for all e-mails, all phones, data box ID, social links, all categories, all features/tags, photos, weekly opening hours, AI review summary and structured ratings. Off = listing data only (name, address, GPS, one phone, website, rating, main category, features), faster and with the same price per business.

## `dedupe` (type: `boolean`):

Return each Firmy.cz business only once even if it appears in several categories or queries (recommended). The categories it was found in are listed in foundInCategories. Duplicates are never charged.

## `includeUnverified` (type: `boolean`):

Also return businesses whose profile Firmy.cz marks as not verified by the owner (the site shows them too).

## `enrichAres` (type: `boolean`):

Look up the IČO in the Czech business register (ARES): official name, legal form, registered office, founding date, active/dissolved, VAT ID and VAT status, NACE codes, employee-count category. Charged as one ares-enriched event only when the record is found.

## `verifyWebsite` (type: `boolean`):

Fetch the company homepage once: HTTP status, final URL after redirects, HTTPS, title, meta description, language, e-mails/phones/social links found on the page, e-shop and online-booking detection, contact form, CMS. Charged as one website-verified event only when the site answers.

## `excludeIds` (type: `array`):

Firmy.cz business IDs (the number at the start of /detail/<id>-…) you already have. They are skipped before the profile is fetched and never charged.

## `includeRegex` (type: `string`):

Case-insensitive regular expression tested against everything visible on the category listing (name, address, city, district, ZIP, main category, features, description, website). Only matching businesses are fetched and charged, e.g. "Brno|Praha" or "Wi-Fi.\*Parkoviště".

## `excludeRegex` (type: `string`):

Same as above, but matching businesses are skipped (not fetched, not charged), e.g. "penzion|apartm" or "s.r.o.".

## `cacheHours` (type: `integer`):

Full profiles are cached in a named key-value store "firmy-cz-cache" in your Apify account and reused by your later runs for this many hours (0 = off). Saves time and load on Firmy.cz when you re-run overlapping categories.

## `useSharedCache` (type: `boolean`):

Profiles fetched by any user of this actor within your cacheHours are reused (max 14 days old, public profile data only). Set false, or cacheHours to 0, for always-fresh data.

## `mode` (type: `string`):

scrape = businesses (default). listCategories = free export of the Firmy.cz category tree (for the categories above or all 12 top-level ones) plus the filters/tags available in each with business counts – no business events are charged.

## `categoryDepth` (type: `integer`):

How many levels below each root category to expand in listCategories mode.

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

Parallel requests to Firmy.cz. 5 is polite and fast enough for thousands of businesses per minute; lower it if you see blocked requests in the log.

## `requestDelayMs` (type: `integer`):

Random pause of 0.5–1.5× this value before every request.

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

Apify datacenter proxy is enough for Firmy.cz and is included in your plan. Switch to residential only if datacenter IPs get blocked.

## Actor input object example

```json
{
  "categories": [
    "https://www.firmy.cz/Cestovni-sluzby/Ubytovaci-sluzby/Hotely?cykliste-vitani"
  ],
  "searchQueries": [],
  "startUrls": [],
  "locality": "",
  "strictLocality": true,
  "filters": [],
  "extraFilters": [],
  "maxItems": 100,
  "maxItemsPerSource": 0,
  "includeDetails": true,
  "dedupe": true,
  "includeUnverified": true,
  "enrichAres": false,
  "verifyWebsite": false,
  "excludeIds": [],
  "includeRegex": "",
  "excludeRegex": "",
  "cacheHours": 24,
  "useSharedCache": true,
  "mode": "scrape",
  "categoryDepth": 2,
  "maxConcurrency": 5,
  "requestDelayMs": 250,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `businesses` (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 = {
    "categories": [
        "https://www.firmy.cz/Cestovni-sluzby/Ubytovaci-sluzby/Hotely?cykliste-vitani"
    ],
    "searchQueries": [],
    "startUrls": [],
    "locality": "",
    "extraFilters": [],
    "maxItems": 100,
    "excludeIds": [],
    "includeRegex": "",
    "excludeRegex": "",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("budoucnost-ai/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 = {
    "categories": ["https://www.firmy.cz/Cestovni-sluzby/Ubytovaci-sluzby/Hotely?cykliste-vitani"],
    "searchQueries": [],
    "startUrls": [],
    "locality": "",
    "extraFilters": [],
    "maxItems": 100,
    "excludeIds": [],
    "includeRegex": "",
    "excludeRegex": "",
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("budoucnost-ai/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 '{
  "categories": [
    "https://www.firmy.cz/Cestovni-sluzby/Ubytovaci-sluzby/Hotely?cykliste-vitani"
  ],
  "searchQueries": [],
  "startUrls": [],
  "locality": "",
  "extraFilters": [],
  "maxItems": 100,
  "excludeIds": [],
  "includeRegex": "",
  "excludeRegex": "",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call budoucnost-ai/firmy-cz-scraper --silent --output-dataset

```

## MCP server setup

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