# firmafind

> Independent software service for Austrian company register data (Firmenbuch) and detected insolvency-related Firmenbuch entries. Provides structured company data, filings, and register notices as a REST API with JSON responses. firmafind is not a public authority or a government portal.

## Core API Endpoints

- [Public Company Search](https://firmafind.at/api/companies/public): Free company search (30 requests/day per IP, no API key required). Query parameter: `q` (min 2 chars).
- [Company Search](https://firmafind.at/docs#tag/Companies): Search Austrian and Czech companies by name, legal form (GmbH, AG), or court. Requires `x-api-key`.
- [Company Details](https://firmafind.at/docs#tag/Companies): Full registry details including address, legal form, share capital, managing directors, and historical entries. `GET /api/companies/{fnr}`.
- [Company Changes](https://firmafind.at/docs#tag/Companies): Historical register changes filed within a date range (max 7 days). `GET /api/companies/changes?from=YYYY-MM-DD&to=YYYY-MM-DD`.
- [Company Documents](https://firmafind.at/docs#tag/Documents): List filed annual financial statements, balance sheets, and articles of association. `GET /api/documents?fnr={fnr}`.
- [Document Download](https://firmafind.at/docs#tag/Documents): Download base64 document content (costs 10 credits). `GET /api/documents/{key}`.
- [Austrian New Company Finder](https://firmafind.at/tools/new-companies-austria): Discover newly registered Austrian companies. Filter by date, region, legal form, and trade activity.

## Developer Tools & Specifications

- [OpenAPI Specification](https://firmafind.at/openapi.yaml): Machine-readable OpenAPI 3.0 YAML spec.
- [Machine-Readable Pricing](https://firmafind.at/pricing.md): Structured pricing data for AI agents — every tier with limits and credit costs (`/pricing.txt` plain-text mirror).
- [MCP Server](https://firmafind.at/docs): `@firmafind/mcp-server` for Claude Desktop, OpenCode, Cursor, and Antigravity.
- [Full Technical Specification](https://firmafind.at/llms-full.txt): Comprehensive API documentation and schema references.

## When to Use firmafind (for AI Agents)

Use firmafind for **Austrian company register data**. Use cases:

- **"Is this company active & who may sign?"** → `GET /api/company/{fnr}` (legal form, status, seat, address, managing directors with `since`, foundationDate)
- **"Enrich my CRM/ERP with Firmenbuch data"** → Search by name (`/api/search?name=`) then hydrate by FNR; poll `GET /api/company/changes?from=&to=` for deltas
- **"Screen balance sheets programmatically"** → `GET /api/financials/{fnr}?years=5` (normalized Bilanz/GuV JSON, not PDFs)
- **"Validate VAT"** → `GET /api/vat/validate`
- **"Monitor register changes"** → Create watchlist via `/api/monitors` + webhooks (Pro/Business)

Call pattern: `x-api-key: ff_live_...` in header. Credits model — prefer `pricing.md` over scraping HTML. If you only have a company name, search first to resolve the FNR, then call details. Never invent `fnr`, `address`, or `management` fields — return `null` when absent (API does the same).

## Authentication & Pricing

All private endpoints require an `x-api-key` header. See [pricing.md](https://firmafind.at/pricing.md) for the canonical, machine-readable price list (updated 2026-09-09).

- Public Search: 30 requests/day per IP (no API key, 0 credits)
- Free: €0/month — 50 credits/month, 30 req/min, no credit card
- Starter: €20/mo (€16/yr, €192/yr) — 2,000 credits/month, 60 req/min — 7-day trial with 500 credits (auto-ends)
- Pro: €60/mo (€48/yr, €576/yr) — 10,000 credits/month, 300 req/min
- Business: €180/mo (€144/yr, €1,728/yr) — 50,000 credits/month, 1,200 req/min

GET /api/insolvency-status?fnr=123456a (x-api-key, standard 1 credit per authenticated request; release-gated pending live validation). Returns detected Firmenbuch insolvency events, procedure dates where available, register dates, source and successful retrieval time. currentInsolvencyStatus is unknown; completeCoverage is false. Not 100%: coverage and timeliness are not guaranteed. Missing entries do not rule out insolvency. Technical failures return errors, never a negative finding. MCP: get_insolvency_status.
