Find the right company

Updated on 2 décembre 2026

You have a row in your CRM or a name on an invoice, and you need the company in FirmIQ. Use the strongest key you have, in this order.

1. A number: one call

Look up a company by a number takes exactly one kind of number:

You have Send Example
VAT number vat_number vat_number=ATU12345678
LEI lei lei=529900ABCDEFGHIJKL12
EUID euid euid=ATBRA.123456-000
National register number country and register_number country=AT&register_number=FN 123456 a
German register number country, register_number and court country=DE&register_number=HRB 105671&court=München

Write the register number as the register prints it, or without spaces. The formats per country are in register numbers by country.

Shell
$curl "https://api.firmiq.com/v1/companies/lookup?country=AT&register_number=FN%20123456%20a" \
-H "Authorization: Bearer $FIRMIQ_KEY"

A VAT number, an LEI and an EUID are unique in the world, so they need no country.

2. A number that is not unique: 409 ambiguous

In Germany every register court counts its own numbers, so HRB 105671 exists at several courts. Without court, the answer is 409 ambiguous with the candidates:

JSON
1{
2 "error": {
3 "code": "ambiguous",
4 "message": "3 companies have the register number HRB 105671. Send court.",
5 "candidates": [
6 { "id": "…", "name": "Beispiel GmbH", "court": "München" },
7 { "id": "…", "name": "Muster AG", "court": "Hamburg" }
8 ]
9 }
10}

Pick the candidate whose name or court fits, and read it by its id. A 409 is not counted as a request.

3. A name only: search, then check

Without a number, search by name and narrow it with what you know:

Shell
$curl "https://api.firmiq.com/v1/companies?q=alpenblick%20maschinenbau&country=AT&city=Innsbruck&status=active" \
-H "Authorization: Bearer $FIRMIQ_KEY"

q also matches former names, so a company that was renamed is still found. Then check the match before you store it:

  • total is 1: take it.
  • total is more than 1: compare the postal code, the legal form or the formation date with your row. If nothing decides, let a person choose.
  • total is 0: drop the legal form from the name, then the city.

For a search field on your site, use name suggestions. They answer as the user types and are free.

4. Store the id

When you have the company, store its id next to your row and read by id from then on. Numbers and names change; the id does not. See which id to store.

What you will not find

A natural person without an entry in a public company register is not returned (451 hidden); see natural persons and privacy. A country that FirmIQ does not read yet is on the sources and coverage pages.

Need support?

Did this article not answer your question? Write to us.

Contact us