# De Bundesanzeiger Company Search (`gettingtechnicl/de-bundesanzeiger-company-search`) Actor

Scrape the German Federal Gazette (Bundesanzeiger) public company search portal to extract structured business records including: company name (company\_name), company registration number (handelsregister\_nummer), legal form (legal\_form: GmbH, AG, KG, OHG, etc.), registration date (registration\_d

- **URL**: https://apify.com/gettingtechnicl/de-bundesanzeiger-company-search.md
- **Developed by:** [Terry Gluff](https://apify.com/gettingtechnicl) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.00 / 1,000 verified record extracteds

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/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/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.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/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

## De Bundesanzeiger Company Search

Autonomously generated defensive-architecture scraper (immutable boilerplate + LLM-authored drive_target/extract_primary).

Objective: Scrape the German Federal Gazette (Bundesanzeiger) public company search portal to extract structured business records including: company name (company_name), company registration number (handelsregister_nummer), legal form (legal_form: GmbH, AG, KG, OHG, etc.), registration date (registration_date), company status (status: active, dissolved, merged, insolvent), registered office address (registered_address, city, postal_code, state), principal business activity (business_activity_description), managing directors/partners names and appointment dates (director_names, director_titles, director_appointment_dates), shareholder names and shareholding percentage (shareholder_names, share_percentage), company capital (capital_amount), VAT registration number (vat_number), and filing history with document types, publication dates, and direct document URLs (filing_history, publication_dates, document_urls). The search interface is fully publicly accessible without authentication, offering both basic keyword lookup by company name or registration number and advanced filtering by legal form, registration date range, company status, and federal state (Bundesland)—all results render as structured HTML listings with linked detail pages containing complete company profile data, official filings, and downloadable gazette documents.

# Actor input Schema

## `search_query` (type: `string`):

Company name, registration number, or keyword to search for in the Bundesanzeiger.
## `category` (type: `string`):

Filter results to a specific publication category (e.g. a specific legal form group or filing type).
## `max_items` (type: `integer`):

Hard cap on the total number of search result records saved.
## `deep_crawl` (type: `boolean`):

Visit each result's detail page to extract additional fields such as directors, shareholders, capital, and filing history.
## `max_detail_pages` (type: `integer`):

Cap on the number of detail pages visited when deep_crawl is enabled.
## `proxyConfiguration` (type: `object`):

Optional Apify Proxy configuration. Leave unset to run without a proxy (default: no proxy, no extra traffic cost).

## Actor input object example

```json
{
  "search_query": "Siemens",
  "category": "ida-0",
  "max_items": 3,
  "deep_crawl": true,
  "max_detail_pages": 3,
  "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 = {
    "search_query": "Siemens",
    "max_items": 3,
    "max_detail_pages": 3,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("gettingtechnicl/de-bundesanzeiger-company-search").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 = {
    "search_query": "Siemens",
    "max_items": 3,
    "max_detail_pages": 3,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("gettingtechnicl/de-bundesanzeiger-company-search").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 '{
  "search_query": "Siemens",
  "max_items": 3,
  "max_detail_pages": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call gettingtechnicl/de-bundesanzeiger-company-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=gettingtechnicl/de-bundesanzeiger-company-search",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "De Bundesanzeiger Company Search",
        "description": "Scrape the German Federal Gazette (Bundesanzeiger) public company search portal to extract structured business records including: company name (company_name), company registration number (handelsregister_nummer), legal form (legal_form: GmbH, AG, KG, OHG, etc.), registration date (registration_d",
        "version": "0.0",
        "x-build-id": "2yUrTTednJi7cFoRh"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/gettingtechnicl~de-bundesanzeiger-company-search/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-gettingtechnicl-de-bundesanzeiger-company-search",
                "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/gettingtechnicl~de-bundesanzeiger-company-search/runs": {
            "post": {
                "operationId": "runs-sync-gettingtechnicl-de-bundesanzeiger-company-search",
                "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/gettingtechnicl~de-bundesanzeiger-company-search/run-sync": {
            "post": {
                "operationId": "run-sync-gettingtechnicl-de-bundesanzeiger-company-search",
                "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",
                "required": [
                    "search_query"
                ],
                "properties": {
                    "search_query": {
                        "title": "Search Term",
                        "type": "string",
                        "description": "Company name, registration number, or keyword to search for in the Bundesanzeiger."
                    },
                    "category": {
                        "title": "Publication Category",
                        "enum": [
                            "ida-0",
                            "ida-6",
                            "ida-7",
                            "ida-73",
                            "ida-74",
                            "ida-75",
                            "ida-93",
                            "ida-999991",
                            "ida-54",
                            "ida-76",
                            "ida-999992",
                            "ida-12",
                            "ida-13",
                            "ida-14",
                            "ida-15",
                            "ida-29",
                            "ida-59",
                            "ida-11",
                            "ida-51",
                            "ida-87",
                            "ida-16",
                            "ida-62",
                            "ida-999995",
                            "ida-1",
                            "ida-2",
                            "ida-3",
                            "ida-5",
                            "ida-4",
                            "ida-94",
                            "ida-34",
                            "ida-35",
                            "ida-30",
                            "ida-999996",
                            "ida-67",
                            "ida-69",
                            "ida-70",
                            "ida-71",
                            "ida-63",
                            "ida-91",
                            "ida-78",
                            "ida-66",
                            "ida-64",
                            "ida-89",
                            "ida-65",
                            "ida-68",
                            "ida-9999922",
                            "ida-18",
                            "ida-36",
                            "ida-90",
                            "ida-56",
                            "ida-57",
                            "ida-58",
                            "ida-72",
                            "ida-19",
                            "ida-20",
                            "ida-21",
                            "ida-61"
                        ],
                        "type": "string",
                        "description": "Filter results to a specific publication category (e.g. a specific legal form group or filing type).",
                        "default": "ida-0"
                    },
                    "max_items": {
                        "title": "Max Items",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Hard cap on the total number of search result records saved.",
                        "default": 100
                    },
                    "deep_crawl": {
                        "title": "Deep Crawl",
                        "type": "boolean",
                        "description": "Visit each result's detail page to extract additional fields such as directors, shareholders, capital, and filing history.",
                        "default": true
                    },
                    "max_detail_pages": {
                        "title": "Max Detail Pages",
                        "type": "integer",
                        "description": "Cap on the number of detail pages visited when deep_crawl is enabled.",
                        "default": 25
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Optional Apify Proxy configuration. Leave unset to run without a proxy (default: no proxy, no extra traffic cost)."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
