# FirmenABC Scraper – Austrian Business Directory (`blackfalcondata/firmenabc-scraper`) Actor

Scrape FirmenABC — Austria's largest business directory with 800,000+ companies. Keyword+location search, direct URLs, or full-sitemap crawl. Extracts balance sheet, Firmenbuchnummer, managers, VAT ID, contact, GPS. Incremental mode.

- **URL**: https://apify.com/blackfalcondata/firmenabc-scraper.md
- **Developed by:** [Black Falcon Data](https://apify.com/blackfalcondata) (community)
- **Categories:** Business, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 business details extracteds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

### What does FirmenABC Scraper do?

FirmenABC Scraper extracts structured listing data from [firmenabc.at](https://firmenabc.at) — including contact details and location data. It supports full-catalog discovery, direct URL scraping, and controllable result limits, so you can run the same crawl consistently over time.

### Key features

- **Keyword + location search** — target specific industries or regions (e.g. `Bäckerei` in `Wien`). Works across all 9 Austrian federal states.
- **Full catalog crawl** — automatically discover and scrape all 800,000+ companies via the sitemap.
- **Direct URL mode** — pass specific `startUrls` to scrape known company profiles.
- **Balance sheet data** — latest Jahresabschluss figures (total assets, equity, net income, fixed assets, current assets, provisions, liabilities) from Firmenbuch filings.
- **Managers + Firmenbuchnummer** — board members, officers, legal form, and Firmenbuchnummer parsed from each profile.
- **Incremental mode** — recurring runs emit and charge only for listings that are new or whose tracked content changed. First run builds the baseline state; subsequent runs emit only new or changed records.
- **Compact mode** — AI-agent and MCP-friendly payloads with core fields only.

### What data can you extract from firmenabc.at?

Each result includes Core listing fields (`listingId`, `listingKey`, `name`, `url`, `street`, `postalCode`, `city`, and `region`, and more) and contact and apply information (`telephone` and `email`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

### Input

The main inputs are an optional list of start URLs and a result limit. Additional options are available in the input schema.

Key parameters:

- **`query`** — Search keyword (e.g. `Bäckerei`, `IT-Dienstleistungen`, `Steuerberater`). Leave empty to crawl via startUrls or the full sitemap.
- **`location`** — Austrian federal state or city (e.g. `Wien`, `Oberösterreich`, `Graz`). Leave empty to search all of Austria.
- **`startUrls`** — Optional: provide specific FirmenABC company detail URLs to scrape directly (e.g. https://www.firmenabc.at/wien-holding-gmbh_ocT). Ignored if `query` is set. Leave all search inputs empty for automatic full-catalog discovery.
- **`maxResults`** — Maximum number of companies to return. 0 = no limit (full catalog, 800k+). Use a small number for testing. (default: `100`)
- **`compact`** — Return only core fields (name, url, address, telephone, vatId, rechtsform, changeType). Ideal for AI-agent and MCP workflows to reduce token usage. (default: `false`)
- **`incrementalMode`** — Only emit companies that are new or have changed since the last run. Requires stateKey. Saves cost on repeated runs. (default: `false`)
- **`stateKey`** — Unique identifier for this tracking session (e.g. "at-all-companies"). Required when incrementalMode is true.
- **`emitUnchanged`** — When incremental mode is on, also emit companies with no detected changes (changeType=UNCHANGED). (default: `false`)
- **`emitExpired`** — When incremental mode is on, also emit companies that disappeared since the last run (changeType=EXPIRED). (default: `false`)

#### Input examples

**Keyword + location search** — Find all bakeries in Vienna.

```json
{
  "query": "Bäckerei",
  "location": "Wien",
  "maxResults": 50
}
````

**Keyword search nationwide** — Find IT service providers across all of Austria.

```json
{
  "query": "IT-Dienstleistungen",
  "maxResults": 100
}
```

**Single company by URL** — Fetch one known company profile with full detail fields.

```json
{
  "startUrls": ["https://www.firmenabc.at/wien-holding-gmbh_ocT"]
}
```

**Batch lookup — multiple URLs in one run** — Pass any number of known company URLs; each is fetched and enriched independently.

```json
{
  "startUrls": [
    "https://www.firmenabc.at/wien-holding-gmbh_ocT",
    "https://www.firmenabc.at/raiffeisen-bank-international-ag_ocT",
    "https://www.firmenabc.at/oesterreichische-post-ag_ocT"
  ]
}
```

**Targeted regional search** — Find tax advisors in Salzburg.

```json
{
  "query": "Steuerberater",
  "location": "Salzburg",
  "maxResults": 200
}
```

**Compact output for AI / MCP workflows** — Core fields only (name, address, phone, email, website, VAT ID, categories).

```json
{
  "query": "Rechtsanwalt",
  "location": "Wien",
  "maxResults": 50,
  "compact": true
}
```

**Incremental tracking** — Only emit companies that are new or changed since the last run.

→ First run builds the baseline state. Subsequent runs emit only new or changed records. Set `emitUnchanged: true` to also include unchanged records.

```json
{
  "query": "Bäckerei",
  "location": "Wien",
  "maxResults": 500,
  "incrementalMode": true,
  "stateKey": "wien-baeckereien-v1"
}
```

### Output

Each run produces a dataset of structured listing records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

#### Example listing record

```json
{
  "listingId": "a173e2fe588ab762b335313871d24f706d41f470df6f23f59f5100200b9c8d66",
  "listingKey": "ocT",
  "name": "Wien Holding GmbH",
  "url": "https://www.firmenabc.at/wien-holding-gmbh_ocT",
  "street": "Universitätsstr. 11",
  "postalCode": "1010",
  "city": "Wien",
  "region": "Wien",
  "country": "AT",
  "telephone": "01/4082569-0",
  "fax": "01408256937",
  "email": "office@wienholding.at",
  "website": "http://www.wienholding.at",
  "latitude": 48.2141682,
  "longitude": 16.3566291,
  "logoUrl": "https://media.firmenabc.at/logos/0c3098de-d384-4e36-b1af-65f279998b97_L1.jpg",
  "categories": [
    "finanzdienstleistungen-versicherungen",
    "holding-beteiligungsgesellschaft",
    "it-dienstleistungen",
    "medien-marketing-werbung",
    "sonstige-mit-den-versicherungsdienstleistungen-und-pensionsk",
    "unternehmensberatung-rechts-steuerberatung"
  ],
  "vatId": "ATU36779606",
  "foundingDate": "2001-10-25T00:00:00+02:00",
  "firmenbuchnummer": "FN 39079 w",
  "rechtsform": null,
  "managers": [
    {
      "name": "Herr Mag. Griebler Dietmar",
      "role": "Aufsichtsrat",
      "profileUrl": "/person/griebler-dietmar_jhljhd"
    },
    {
      "name": "Herr Eichelberger Werner",
      "role": "Aufsichtsrat",
      "profileUrl": "/person/eichelberger-werner_jifrqs"
    },
    {
      "name": "Frau/Herr Dr. Rest, EMBA Karin",
      "role": "Aufsichtsrat",
      "profileUrl": "/person/rest-emba-karin_jiftqi"
    },
    {
      "name": "Herr Mag. Maschek Christoph",
      "role": "Aufsichtsrat",
      "profileUrl": "/person/maschek-christoph_jiqfey"
    },
    {
      "name": "Frau Mag. Scharf Sabine",
      "role": "Aufsichtsrat",
      "profileUrl": "/person/scharf-sabine_jiubqf"
    },
    {
      "name": "Frau/Herr MSc Steinkellner Christine",
      "role": "Aufsichtsrat",
      "profileUrl": "/person/steinkellner-christine_jjehkj"
    },
    {
      "name": "Frau KommR Mag. Unterholzner Monika",
      "role": "Aufsichtsrat",
      "profileUrl": "/person/unterholzner-monika_mqnipb"
    },
    {
      "name": "Herr Mag. Stribl Oliver",
      "role": "Geschäftsführer",
      "profileUrl": "/person/stribl-oliver_jituaa"
    }
  ],
  "balanceYear": 2024,
  "balanceTotalAssets": 621204188.36,
  "balanceNetIncome": -10119845.69,
  "balanceFixedAssets": 562176002.4,
  "balanceEquity": 285824719.48,
  "balanceCurrentAssets": 56698459.94,
  "balanceProvisions": 18092901.4,
  "balanceLiabilities": 317282645.54,
  "balanceReceivables": 25847699.28,
  "balancePrepaidExpenses": 2329726.02,
  "portalUrl": "https://www.firmenabc.at",
  "sourceDomain": "firmenabc.at",
  "scrapedAt": "2026-04-19T14:49:20.052Z",
  "changeType": null,
  "trackedHash": null,
  "firstSeenAt": null,
  "lastSeenAt": null,
  "previousSeenAt": null,
  "expiredAt": null,
  "stateKey": null
}
```

#### Incremental fields

When `incremental: true`, each record also carries:

- `changeType` — one of `NEW`, `UPDATED`, `UNCHANGED`, `REAPPEARED`, `EXPIRED`. Default output covers `NEW` / `UPDATED` / `REAPPEARED`; set `emitUnchanged: true` or `emitExpired: true` to opt into the others.
- `firstSeenAt`, `lastSeenAt` — ISO-8601 timestamps tracking the listing across runs.

### How to scrape firmenabc.at

1. Go to [FirmenABC Scraper](https://apify.com/blackfalcondata/firmenabc-scraper?fpr=1h3gvi) in Apify Console.
2. Enter a search `query` (e.g. `Bäckerei`) and optional `location` (e.g. `Wien`), or paste specific company URLs into `startUrls`, or leave everything empty to crawl the full catalog.
3. Set `maxResults` to control how many results you need.
4. Click **Start** and wait for the run to finish.
5. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Extract listing data from firmenabc.at for market research and competitive analysis.
- Monitor new and changed listings on scheduled runs without processing the full dataset every time.
- Build outreach lists using contact details and apply URLs from listings.
- Use structured location data for regional analysis, mapping, and geo-targeting.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
- Export clean, structured data to dashboards, spreadsheets, or data warehouses.

### How much does it cost to scrape firmenabc.at?

FirmenABC Scraper uses [pay-per-event](https://docs.apify.com/platform/actors/paid-actors/pay-per-event) pricing.

- **Run start:** $0.005 per run
- **Business found (search-mode only):** $0.0015 per company discovered in search results
- **Business details extracted:** $0.004 per fully enriched record

`startUrls` and sitemap modes charge only the detail event — you already have the URL. Search mode charges both (found + detail) per company. This matches the structure of other Austrian business-directory scrapers while coming in ~20% cheaper.

Example costs:

| Mode | 10 results | 100 results | 500 results |
|---|---:|---:|---:|
| Search (query + location) | $0.060 | $0.555 | $2.755 |
| startUrls / sitemap | $0.045 | $0.405 | $2.005 |

#### Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of listings that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 250 results per run in sitemap mode (detail-only charging), daily polling (30 runs/month). Event-pricing examples scale linearly with result count.

| Churn rate | Full re-scrape run cost | Incremental run cost | Savings vs full re-scrape | Monthly cost after baseline |
|---|---:|---:|---:|---:|
| 5% — stable niche query | $1.005 | $0.055 | $0.95 (95%) | $2.60 |
| 15% — moderate broad query | $1.005 | $0.155 | $0.85 (85%) | $5.50 |
| 30% — high-volume aggregator | $1.005 | $0.305 | $0.70 (70%) | $9.85 |

Full re-scrape monthly cost at daily polling: $30.15. First month with incremental costs slightly more for the first run (full baseline) before incremental savings apply on subsequent runs.

Platform usage (compute and proxies) is billed separately by Apify based on actual consumption. Incremental runs consume less on result processing, though fixed per-run overhead stays the same.

### FAQ

#### How many results can I get from firmenabc.at?

The number of results depends on available listings on firmenabc.at (800,000+). Use the `maxResults` parameter to control how many results are returned per run.

#### Does FirmenABC Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed listings on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate FirmenABC Scraper with other apps?

Yes. FirmenABC Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use FirmenABC Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use FirmenABC Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode and `descriptionMaxLength` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape firmenabc.at?

This actor extracts publicly available data from firmenabc.at. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/firmenabc-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [Adzuna Job Scraper](https://apify.com/blackfalcondata/adzuna-scraper?fpr=1h3gvi) — Scrape adzuna.com - the global job board with 20+ country markets. Structured salary.
- [APEC.fr Scraper - French Executive Jobs](https://apify.com/blackfalcondata/apec-scraper?fpr=1h3gvi) — Scrape apec.fr - French executive job listings with salary ranges, company, location, skills,.
- [Arbeitsagentur Scraper - German Jobs](https://apify.com/blackfalcondata/arbeitsagentur-scraper?fpr=1h3gvi) — Scrape arbeitsagentur.de - Germany’s official employment portal with 1M+ listings. Contact data,.
- [AutoScout24 Scraper](https://apify.com/blackfalcondata/autoscout24-scraper?fpr=1h3gvi) — Scrape autoscout24.com - Europe's largest used car marketplace with 770K+ listings. Structured.
- [Bayt.com Scraper - Jobs from the Middle East](https://apify.com/blackfalcondata/bayt-scraper?fpr=1h3gvi) — Scrape bayt.com - the leading Middle East job board. Salary data, experience requirements.
- [Bilbasen Scraper - Denmark’s Car Marketplace](https://apify.com/blackfalcondata/bilbasen-scraper?fpr=1h3gvi) — Scrape bilbasen.dk - Denmark’s largest car marketplace. Full vehicle specifications, seller.
- [Bumeran Scraper](https://apify.com/blackfalcondata/bumeran-scraper?fpr=1h3gvi) — Scrape bumeran.com.ar - the largest job board across 8 LATAM countries. Work modality, contract.
- [Cadremploi Job Scraper](https://apify.com/blackfalcondata/cadremploi-scraper?fpr=1h3gvi) — Scrape cadremploi.fr - French management and executive jobs. Salary ranges, apply links.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

# Actor input Schema

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

Keyword to search for (e.g. "Bäckerei", "IT-Dienstleistungen", "Steuerberater"). Combine with location to narrow results.

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

Austrian federal state or city to filter by (e.g. "Wien", "Oberösterreich", "Graz"). Leave empty to search all of Austria.

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

Optional: provide specific FirmenABC company detail URLs to scrape directly (e.g. https://www.firmenabc.at/wien-holding-gmbh\_ocT). Ignored if query is set.

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

Maximum number of companies to return. 0 = no limit. Use a small number for testing.

## `compact` (type: `boolean`):

Return only core fields (name, url, address, telephone, vatId, rechtsform, changeType). Ideal for AI-agent and MCP workflows to reduce token usage.

## `incrementalMode` (type: `boolean`):

Only emit companies that are new or have changed since the last run. Requires stateKey. Saves cost on repeated runs.

## `stateKey` (type: `string`):

Unique identifier for this tracking session (e.g. "at-all-companies"). Required when incrementalMode is true.

## `emitUnchanged` (type: `boolean`):

When incremental mode is on, also emit companies with no detected changes (changeType=UNCHANGED).

## `emitExpired` (type: `boolean`):

When incremental mode is on, also emit companies that disappeared since the last run (changeType=EXPIRED).

## Actor input object example

```json
{
  "maxResults": 10,
  "compact": false,
  "incrementalMode": false,
  "emitUnchanged": false,
  "emitExpired": 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 = {
    "maxResults": 10
};

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

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

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "FirmenABC Scraper – Austrian Business Directory",
        "description": "Scrape FirmenABC — Austria's largest business directory with 800,000+ companies. Keyword+location search, direct URLs, or full-sitemap crawl. Extracts balance sheet, Firmenbuchnummer, managers, VAT ID, contact, GPS. Incremental mode.",
        "version": "0.1",
        "x-build-id": "6cAMpkBkZwysV0Ecn"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/blackfalcondata~firmenabc-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-blackfalcondata-firmenabc-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/blackfalcondata~firmenabc-scraper/runs": {
            "post": {
                "operationId": "runs-sync-blackfalcondata-firmenabc-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/blackfalcondata~firmenabc-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-blackfalcondata-firmenabc-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": {
                    "query": {
                        "title": "Search Query",
                        "type": "string",
                        "description": "Keyword to search for (e.g. \"Bäckerei\", \"IT-Dienstleistungen\", \"Steuerberater\"). Combine with location to narrow results."
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "Austrian federal state or city to filter by (e.g. \"Wien\", \"Oberösterreich\", \"Graz\"). Leave empty to search all of Austria."
                    },
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Optional: provide specific FirmenABC company detail URLs to scrape directly (e.g. https://www.firmenabc.at/wien-holding-gmbh_ocT). Ignored if query is set.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of companies to return. 0 = no limit. Use a small number for testing.",
                        "default": 100
                    },
                    "compact": {
                        "title": "Compact Output",
                        "type": "boolean",
                        "description": "Return only core fields (name, url, address, telephone, vatId, rechtsform, changeType). Ideal for AI-agent and MCP workflows to reduce token usage.",
                        "default": false
                    },
                    "incrementalMode": {
                        "title": "Incremental Mode",
                        "type": "boolean",
                        "description": "Only emit companies that are new or have changed since the last run. Requires stateKey. Saves cost on repeated runs.",
                        "default": false
                    },
                    "stateKey": {
                        "title": "State Key",
                        "type": "string",
                        "description": "Unique identifier for this tracking session (e.g. \"at-all-companies\"). Required when incrementalMode is true."
                    },
                    "emitUnchanged": {
                        "title": "Emit Unchanged Records",
                        "type": "boolean",
                        "description": "When incremental mode is on, also emit companies with no detected changes (changeType=UNCHANGED).",
                        "default": false
                    },
                    "emitExpired": {
                        "title": "Emit Expired Records",
                        "type": "boolean",
                        "description": "When incremental mode is on, also emit companies that disappeared since the last run (changeType=EXPIRED).",
                        "default": false
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
