Find companies by asking in words
Reads a written request (prompt) into the structured filter, runs it through
the filter search, and answers the page with each hit's officer: the first
current representative who is a person (Geschäftsführung, Vorstand, Inhaber) meeting
the interpreted age condition, if the
request names one. Every hit comes from the register data; the model only maps
words to filter fields, and what it cannot map comes back verbatim in
unrecognized. An activity the request names is searched by the WZ 2025 code whose
official title, or whose entry in the official keyword index, describes it
("ambulanter Pflegedienst" is 86.94.1 Ambulante Pflegedienste), else in the business
purpose (company.purpose, a German word stem such as Hausverwaltung); it is not guessed as a
whole industry. A city is searched by the name the register writes ("Frankfurt" as
Frankfurt am Main, "Koeln" and "Cologne" as Köln).
Explicit filters win over the prompt on the same field (a whole roles block
replaces the reading's); filters takes no limit or cursor of its own —
those are the request's. only_active (the default) adds status: ["active"].
A prompt and filters that together name no criterion answer
422 prompt_not_understood, uncharged. An activity the prompt names that the reading
could not take comes back in unrecognized with its words. The same prompt reads the same
way for as long as its reading is kept.
Pages by limit and cursor as the filter search does: one page holds at most
100 companies, the first 10,000 are served, and a cursor holds the interpreted
filter it continues, so the prompt is not read again on the next page. Results
come in no particular order (they are not ranked): read every page to see them all.
The prompt is kept with your workspace for 90 days and then deleted.
Costs 1 credit per 10 returned results: ⌈returned/10⌉ a call, nothing when none is
found. The balance must hold ⌈limit/10⌉ before the call; the answer is charged for
what it returns.
Authorization
bearerAuth Your API key, sent as Authorization: Bearer rc_live_….
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
A written request for companies. The request is read into the structured filter
(interpreted_filter in the answer); explicit filters win over what it says on the same
field, and a whole roles block replaces the reading's.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://api.registercheck.de/v1/companies/find" \ -H "Authorization: Bearer $REGISTERCHECK_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "prompt": "Such mir alle Firmen im Baugewerbe in Bayern mit Geschäftsführer über 60 Jahre", "limit": 25 }'{ "object": "page", "prompt": "Such mir alle Firmen im Baugewerbe in Bayern mit Geschäftsführer über 60 Jahre", "interpreted_filter": { "company": { "industry": [ "F" ], "state": { "equals": "DE-BY" }, "status": [ "active" ] }, "roles": { "match": "all", "conditions": [ { "status": "current", "age": { "gte": 61 } } ] } }, "unrecognized": [], "total_count": 1, "data": [ { "company": { "object": "summary", "type": "company", "id": "cmp_01hxn3rys1fh58w4d1pb1x9s81", "name": "Beispiel Reisen GmbH", "status": "active", "legal_form": "gmbh", "register": { "court": { "code": "D2601", "name": "Amtsgericht München" }, "type": "HRB", "number": "999999", "formatted": "Amtsgericht München HRB 999999", "country": "DE" }, "address": { "city": "München" }, "registration_date": null, "founding_date": "2010-01-15" }, "officer": { "id": "per_01hxn3rys1fh58w4d1pb1x9s82", "name": "Erika Mustermann", "age": 66 } } ], "next_cursor": null, "near_place": null}