API referencev1
Company data from the official registers as JSON: one company by its number, a search, and the changes of every day.
Introduction
The FirmIQ API returns what the official registers and gazettes say about a company: its register data, its officers, its filed accounts, its shareholders and every dated change.
Every call is a GET over HTTPS and answers with JSON in UTF-8. The version is part of the address. A change that would break your code gets a new version, and v1 stays.
A list is never null: without entries it is []. A single value that is not known is null, and its field is always there.
Base address
cURL
Authentication
Send your key in the Authorization header of every call. The key is not accepted in the address, so it does not get into logs or a browser history.
Keep the key on your server. Do not put it into a web page or an app.
Header
Requests and usage
A request is one company or one person in one calendar month (UTC). Reading the same one again in that month is free, with any sections. A search counts each company it returns. A call that fails or finds nothing is not counted.
Every answer says where you stand:
X-Requests-Usedheader
Companies and persons counted this month, this call included.
X-Requests-Includedheader
The requests your plan includes per month.
X-Request-Countedheader
true when this call added to the count, false when it was a repeat or free.
Response headers
Endpoints
- GET/companies/{id}Retrieve a company
- GET/companies/lookupLook up a company by a number
- GET/companiesSearch companies
- GET/companies/suggestSuggest names
- GET/companies/{id}/publicationsList a company's publications
- GET/companies/{id}/documentsList a company's documents
- GET/changesList changes
- GET/persons/{id}Retrieve a person
- GET/usageRetrieve your usage
The company object
The base properties come with every level. A higher level adds sections, which you ask for with include.
Propertiesevery level
iduuid
The FirmIQ id. It never changes; store it.
namestring
The registered name.
other_nameslist
Trading names, abbreviations and translations, each with its kind.
jurisdictionstring
The law the company is formed under: a country code, or country and state.
legal_formobject
code, the name in English and in the register's language, and the ELF code of ISO 20275.
statusenum
The status of the company. Valid values:
in_formation- The company is being formed and is not in the register yet.
active- The company is in the register and no proceeding against it is open.
dormant- The register lists the company as not trading.
in_liquidation- The company is being wound up. It exists until the register deletes it.
insolvency- An insolvency proceeding of the company itself is open.
dissolved- The company was dissolved.
struck_off- The register deleted the company.
merged- The company was merged into another company.
unknown- No source states a status yet.
status_detailstring or null
The status in the register's own words, and why.
founded_ondate + precision
The day of formation; founded_on_precision says how exact.
first_registered_ondate or null
The day of the first register entry.
dissolved_ondate or null
The day the company ended.
registrationslist
The register entries: role (home, host, tax), authority, number, branch number, status. A branch abroad is a host entry.
identifierslist
Other numbers by scheme: euid, lei, eori, gln and the national ones (fr_siren, nl_kvk, ch_uid …).
vatlist
The VAT numbers: valid since, the name and address the tax authority has, and the day of the last check.
addresseslist
kind (seat, business, postal), the address in parts, care_of, coordinates.
industrieslist
scheme and code. NACE Rev. 2.1 for every company that has a code, and the national scheme beside it (NAF, SBI, UK SIC …).
capitallist
kind (share_capital, paid_in_capital), amount, currency.
purposeobject or null
The object of the company as registered, with its language.
fiscal_year_endstring or null
Month and day the business year ends: 12-31.
employeesnumber or null
The number of employees the register states, with its year.
contactslist
kind (website, email, phone, fax) and value.
establishmentslist
Branches, sites and representative offices: kind, name, address, own register number.
relationslist
Links to other companies: branch_of, merged_into, successor_of, spun_off_from, transformed_into, the parents by GLEIF, domination and profit transfer agreements.
proceedingslist
Insolvency, liquidation and strike-off: procedure, court, case numbers, phase, outcome, the days it was requested, opened and closed, and the administrator.
trade_licenceslist
Austria: the trade licences of the GISA register, with the trade and the site.
fundinglist
Public money the company got: grants, state aid and public contracts, with programme, grantor and amount.
updated_attimestamp
When a fact of this company last changed at FirmIQ.
Section officersfrom Plus
officerslist
person or company (id, name), role, the title as published, representation (sole, joint, none, and with whom), valid_from, valid_to. Former officers too. Roles: managing_director, board_member, supervisory_board, procurator, liquidator, auditor, partner and 16 more.
Section financials, accountsfrom Pro
financialslist
One entry per filed account: kind (annual, consolidated), period, size_class, currency, employees, and 16 key figures, each with the value of the year before.
accountslist
The whole balance sheet and income statement of each filing, line by line: the standard position, the filer's own label, the amount and the amount of the year before.
auditobject or null
Inside a financials entry: the auditor, the audit opinion, who signed and when, and the day the accounts were adopted.
Section shareholders, history, events, register_entriesfrom Complete
shareholderslist
holder (a company, a person, or a community of heirs), share from 0 to 1, contribution, paid_in, basis (stated or derived). Former shareholders too.
historyobject
The former names, addresses, legal forms, statuses, capital and purposes, each in the shape of the current value.
eventslist
The dated changes: type, the day it took effect, was registered and was published, the value before and after, the source.
register_entrieslist
Austria: each entry of the Firmenbuch with its number, day, court file number and what was applied for.
{} The company object
Dates and history
A day is YYYY-MM-DD, a moment is ISO 8601 in UTC. Old register entries often state a month or a year only. Such a date is the first day of it, with …_precision beside it: day, month or year.
Every fact that can change has valid_from and valid_to. The current one has valid_to: null. A former name, address or officer has the same properties as the current one, so your code reads both the same way.
at=2019-12-31 returns the company as it was on that day: the name, the seat, the officers and the shareholders of then.
Money is a decimal string with its currency beside it. A share is a number from 0 to 1.
{} A former and a current value
Sources
Every fact has a source: the register or gazette it comes from, the stored document it was read from, and when FirmIQ retrieved it. So you can show an auditor where a value comes from.
The codes are on the sources and coverage pages, with how often each source is read.
{} The source of a fact
GETRetrieve a company
Returns one company by its FirmIQ id, as of today or of a day in the past.
Parameters
iduuidrequiredpath
The company's FirmIQ id.
includelist
The sections to add to the base fields, comma-separated: officers, financials, accounts, shareholders, history, events, register_entries. A section above your level is answered with 403 level_required.
atdate
Returns every fact as it was valid on this day. Without it, as of today.
langstringdefault en
The language of labels (legal form, role): en, de, fr, it or es. Names and texts stay as registered.
GET /companies/{id}
{} Response
GETLook up a company by a number
Returns one company by a number you already have. Send exactly one kind of number.
Parameters
countrystring
The country of the register, with register_number.
register_numberstring
The number as the register prints it, or without spaces: FN 123456 a, HRB 105671.
courtstring
Germany only: the register court, as a number is unique per court. Without it, several matches are answered with 409 ambiguous.
euidstring
The European unique identifier of the business registers: ATBRA.123456-000.
vat_numberstring
The VAT number with its country prefix: ATU12345678.
leistring
The legal entity identifier, 20 characters.
include, at, lang
As for retrieving a company.
GET /companies/lookup
{} Response
GETSearch companies
Returns the companies that match, with the base fields. Filters work together; several values in one filter are alternatives.
Parameters
qstring
Words of the name. A former name matches too.
countrylist
Country codes: AT,DE.
statuslist
Statuses: active,in_liquidation.
legal_formlist
Legal form codes.
nacestring
An industry code. A shorter code matches every code below it: 28 matches 28.41.
postal_codestring
The postal code of the seat.
citystring
The city of the seat.
founded_sincedate
Formed on this day or later.
founded_untildate
Formed on this day or earlier.
limitinteger≤ 100default 25
Companies per page.
cursorstring
The next of the page before. The last page has next: null.
GET /companies
{} Response
GETSuggest names
Returns up to ten names that start with the text, for a search field. Not counted as a request.
Parameters
qstringrequired
The first letters of a name, at least two.
countrylist
Country codes.
GET /companies/suggest
{} Response
GETList a company's publications
Returns what the gazettes and registers published about the company, the newest first, with the text. From the Complete level; counts with the company.
Parameters
iduuidrequiredpath
The company's FirmIQ id.
typelist
Publication types: at_evi, at_firmenbuch, de_register_entry, fr_bodacc_b, ch_shab and more.
published_sincedate
Published on this day or later.
limitinteger≤ 100default 25
Publications per page.
cursorstring
The next of the page before.
GET /companies/{id}/publications
{} Response
GETList a company's documents
Returns the documents FirmIQ holds for the company: annual accounts, register excerpts, shareholder lists, gazette notices. From the Complete level; counts with the company.
Parameters
iduuidrequiredpath
The company's FirmIQ id.
typelist
Document types: annual_accounts, consolidated_accounts, register_excerpt, shareholder_list, gazette_notice, register_filing and more.
limitinteger≤ 100default 25
Documents per page.
cursorstring
The next of the page before.
GET /companies/{id}/documents
{} Response
GETList changes
Returns the events FirmIQ recorded since a moment, the oldest first, for every company. Use it to keep a copy of the data current without reading every company again.
Parameters
sincetimestamprequired
Events recorded at this moment or later.
countrylist
Country codes.
typelist
Event types: name_changed, address_changed, seat_moved, legal_form_changed, capital_changed, officer_appointed, officer_left, status_changed and more.
limitinteger≤ 100default 25
Events per page.
cursorstring
The next of the page before.
GET /changes
{} Response
GETRetrieve a person
Returns a person's name and the roles in every company, current and former. From the Plus level.
Parameters
iduuidrequiredpath
The person.id of an officer or a shareholder.
GET /persons/{id}
{} Response
GETRetrieve your usage
Returns your requests of a month. Not counted as a request.
Parameters
monthstringdefault this month
A month as YYYY-MM.
GET /usage
{} Response
Errors
An error has an HTTP status and a body with a code that your code can read, and a message for a person.
invalid_parameter400
A parameter is missing or has a value that is not allowed. `field` names it.
invalid_key401
No key, or a key that does not exist.
level_required403
The section needs a higher level. `level` names it.
not_found404
No company or person with this id or number. Not counted.
ambiguous409
Several companies have this number (a German number without its court). `candidates` lists them.
merged410
The company was merged into another record. `id` is the new one.
rate_limited429
Too many calls in a short time. Wait for the seconds in Retry-After.
hidden451
A natural person without a public register entry, or data hidden on request.
unavailable503
Try again; up to three times, with a pause.
{} Response