Documentation FirmIQ
Vous recevez les données d’entreprises de deux façons : par l’API, une entreprise à la fois, ou par un export, un pays entier dans un fichier. Les deux contiennent les mêmes données.
API
Votre logiciel demande une entreprise, lance une recherche ou lit les changements, et reçoit du JSON par HTTPS.
- Adresse de base
- https://api.firmiq.com/v1
- Clé
- Authorization: Bearer
- Format
- JSON, UTF-8
- Version
- v1
Votre premier appel
Quatre étapes, de la clé à une copie qui reste à jour.
ShellÉtape 1 sur 4
Demander une clé Les mêmes appels en Python, Node et Google Sheets
RequêteÉtape 2 sur 4
HTTP/1.1 200 OK
Trouver la bonne entreprise Les mêmes appels en Python, Node et Google Sheets
RequêteÉtape 3 sur 4
HTTP/1.1 200 OK
L’objet entreprise Les mêmes appels en Python, Node et Google Sheets
RequêteÉtape 4 sur 4
HTTP/1.1 200 OK
Garder votre base de données synchronisée Les mêmes appels en Python, Node et Google Sheets
Les quatre étapes sur une page : Démarrage rapide. Chaque appel, paramètre et champ : Référence de l’API.
Guides
Comment faire une tâche avec l’API, pas à pas, avec des appels à copier.
- Find the right companyLook up a company by register number, EUID, VAT number or LEI, match one by name, and handle a number that several companies have.
- Which id to storeThe FirmIQ id of a company never changes. What to store, and what happens when two records turn out to be one company.
- Keep your database in syncHold a copy of FirmIQ data and keep it current with one call a day to /changes, without reading every company again.
- Show FirmIQ data on a public pageWhat censor=true and blocked do, and the rules for a page that anyone or a search engine can open.
- Build a company list with filtersEvery filter of the company search with worked examples: industry, place and radius, key figures, events, officers and owners.
- Watch companies for changesGet the changes of a list of companies: a new managing director, an insolvency, a new address.
- History and the company on a past dayHow dated facts work: valid_from and valid_to, the company as of a past day with at=, and dates that are a year only.
- Show where a value comes fromEvery fact has its source, the stored document it was read from and the retrieval time. How to read them and show them to an auditor.
- Walk an ownership chainRead the shareholders of a company, go up to the owners behind them and down to the holdings, across borders.
- Requests, cost and large resultsWhat counts as a request, what is free, how to see the size of a result before you read it, and how to page.
- Errors, retries and rate limitsEvery error code, which ones to retry and how long to wait, and which ones never to retry.
Référence de l’API
Le contrat : chaque appel, paramètre et champ.
- Référence de l’APITous les appels : société, recherche par numéro, recherche, suggestions de noms, publications, documents, changements, personne, données de référence et consommation.
- Recherche et filtresChaque filtre de la recherche de sociétés : lieu et rayon, activité, chiffres clés, événements, dirigeants et propriétaires.
- censor et blockedLe paramètre et le champ pour les données que vous affichez sur une page publique.
- Appel des données de référenceChaque statut, fonction, type d’événement, forme juridique, chiffre clé et source en JSON.
- Fichier OpenAPIFichier JSONLe contrat en OpenAPI 3.1, pour Postman et pour les générateurs de clients.
Exports de données
Vous chargez un pays entier dans votre base de données ou votre entrepôt de données. Il n’y a ni appels ni clé dans votre code.
Exports de données
Un pays entier en un fichier : ce qu’il contient et comment l’obtenir.
- How exports are builtWhat a company data export contains per level, the two file formats, and how current the file is.
- Export fieldsEvery field of a company data export by level, with its CSV column and its JSON path.
- Export file formatsHow the CSV and the JSON Lines file of an export are laid out, and the rules for dates, codes and empty values.
- Delivery latency explainedThe steps between an entry in a register and the data on firmiq or in an export, and what makes them slower.
- Download an exportHow to get the files of a data export: in the browser, with curl, by checksum, and what each file is.
- The sample data setA free export of one city per country, built exactly like the full file. Use it to build and test your import.
Les données
Ce que signifient un champ, un code et un statut, et d’où vient une valeur. C’est pareil dans l’API et dans les exports.
Tables de référence
Chaque valeur qu’un champ peut avoir, avec sa signification.
- Event typesThe 73 kinds of change FirmIQ reports for a company, by group, with the status each one sets.
- Role typesThe 26 roles a person or a company can have in a company: officers, signatories, owners, auditors and liquidators.
- Legal formsHow FirmIQ names the legal form of a company: the ISO 20275 code, the six categories that compare across countries, and the local codes it reads.
- Key figuresThe 16 figures of the filed annual accounts that compare across countries, with what each one means.
- Register numbers by countryThe company register of each EU and EEA country, the prefix of its EUID and the format of its numbers.
- Industry codesThe classifications FirmIQ stores for what a company does: NACE 2.1 for every country, and the national schemes as the registers state them.
- Company status explainedWhat Active, In liquidation, Insolvent, Closed and Unknown mean on firmiq, and where a status comes from.
- Sources et couvertureChaque pays et chaque source, avec la fréquence de lecture.
Les données expliquées
D’où viennent les données, leur fraîcheur, et ce que FirmIQ n’affiche pas.
- How often sources updateHow often firmiq reads each kind of source, and what the date "As of" on a page means.
- Country status explainedWhat Online, Onboarding, VAT data only, Planned and Issue mean on the sources and coverage pages.
- Natural persons and privacyWhich natural persons firmiq shows, which it hides, and how to ask for the removal of your data.
- Sole traders in the French dataHow firmiq treats entrepreneurs individuels, which are natural persons, in the data of France.
- Free FirmIQ access for journalists and researchersJournalists, investigative non-profits and academic researchers get a free account, data exports and API access. Who can apply, and how.