Skip to content

Sirene (INSEE) ​

Reads the official record of a company or an establishment, and searches establishments by municipality, activity or creation date.

The INSEE Sirene node reads the official French register of companies: an establishment’s record by SIRET, a company’s record by SIREN, or a search for establishments by name, municipality, postcode, NAF activity and creation date. Its most useful real estate use: listing the agencies (68.31Z) or property managers (68.32A) recently opened in an area.

It works with an INSEE API key stored once in Connections. See INSEE Sirene to create it.

At a glance ​

  • Type: insee_sirene.api · version 1
  • Category: Data
  • Kind: Step — one stage of a run
  • Effect: No external effect (none) — nothing is written outside Loop & Roll; safe to replay
  • Needs a carrier email: No
  • Connection: INSEE Sirene
  • Inputs: main
  • Outputs: main
The ports of “Sirene (INSEE)”: what comes in on the left, what goes out on the rightInput: main. Outputs: main. An error output appears when its failure setting is “Follow the Error output”. It needs a INSEE Sirene connection.Sirene (INSEE)insee_sirene.apimainmainerror · only with “Follow the Error output”Connection: INSEE Sirene
The ports of “Sirene (INSEE)”: what comes in on the left, what goes out on the right

Connection ​

This node needs a INSEE Sirene connection.

Parameters ​

connection ​

Sirene connection — The Sirene connection to use. Create it once in Connections; its key never appears in the workflow.

  • Type: Connection (credential)
  • Required: Yes
  • Default: "" (empty)

action ​

Action

  • Type: One choice (options)
  • Required: Yes
  • Default: siret
  • Options:
    • siret — Establishment by SIRET: Address, trading name, activity and status of the establishment, with its company.
    • siren — Company by SIREN: Name, legal category, activity, status and creation date.
    • search — Search establishments: By name, municipality, postcode, NAF activity and creation date.

identifier ​

SIREN or SIRET — Nine digits for a company, fourteen for an establishment; spaces are ignored.

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 20 characters at most
  • Example: 552 032 534 00703
  • Shown when: action is one of siren, siret
  • Expressions: {{ }} accepted

name ​

Name — Company name, acronym or trading name. Optional.

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 120 characters at most
  • Shown when: action is search
  • Expressions: {{ }} accepted

citycode ​

Municipality INSEE code

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 5 characters at most
  • Shown when: action is search
  • Expressions: {{ }} accepted

postcode ​

Postcode

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 5 characters at most
  • Shown when: action is search
  • Expressions: {{ }} accepted

activity ​

Activity (NAF code) — For example 68.31Z (real estate agencies) or 68.32A (property management).

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 6 characters at most
  • Shown when: action is search
  • Expressions: {{ }} accepted

createdSince ​

Created since — A YYYY-MM-DD date. Empty = no bound.

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 10 characters at most
  • Shown when: action is search
  • Expressions: {{ }} accepted

activeOnly ​

Open establishments only

  • Type: Yes / no (boolean)
  • Required: No
  • Default: true
  • Shown when: action is search

limit ​

Maximum count

  • Type: Number (number)
  • Required: No
  • Default: 20
  • Whole number, from 1 to 100
  • Shown when: action is search

Outputs ​

  • main — Taken once the read has completed, found or not: read found to know. An INSEE error response (refused key, quota) fails the step instead.

Data produced ​

What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).

  • {{ data.<step>.found }} — boolean. true when the company, the establishment or at least one result was found. The API answers “not found” with a 404: the node reads it as false, not as an outage.
  • {{ data.<step>.establishment }} — { siret, siren, name, tradeName, headOffice, active, activityCode, createdOn, headcountBand, address: { street, complement, postcode, city, citycode, full }, company: { name, legalCategory, activityCode, active } }. Establishment by SIRET only: the establishment, in its current period. tradeName is its trading name, activityCode its NAF code, address.full the one-line address.
  • {{ data.<step>.company }} — { siren, name, acronym, legalCategory, activityCode, active, createdOn, category, headcountBand, headOfficeNic }. Company by SIREN only: the legal unit, in its current period.
  • {{ data.<step>.name }} — string. Establishment by SIRET and Company by SIREN: the company name (or the first and last name of a sole trader).
  • {{ data.<step>.active }} — boolean. Establishment by SIRET and Company by SIREN: true when the establishment is open (or the company active).
  • {{ data.<step>.address }} — string. Establishment by SIRET only: the one-line address.
  • {{ data.<step>.establishments }} — array of establishments (same shape as `establishment`). Search establishments only: the establishments returned.
  • {{ data.<step>.count }} — number. Search establishments only: the number returned (total: the number of results in the register).
  • {{ data.<step>.summary }} — string. The one-line summary in the member’s language, for example “12 establishments found.” (with summaryKey and summaryParams).

Operations ​

  • Establishment by SIRET (siret, the default). SIREN or SIRET (identifier): fourteen digits, spaces ignored.
  • Company by SIREN (siren). Nine digits; a SIRET is accepted, its first nine digits are used.
  • Search establishments (search). At least one criterion among Name (name: company name, acronym or trading name), Municipality INSEE code (citycode), Postcode (postcode), Activity (NAF code) (activity) and Created since (createdSince, YYYY-MM-DD). Open establishments only (activeOnly, on by default) leaves closed establishments out. Up to the Maximum count (limit, 1 to 100, 20 by default).

Example ​

An agency wants the list of real estate agencies created since January in Amiens. The node is called “Competitors”:

text
connection     Sirene — agency
action         search
citycode       80021
activity       68.31Z
createdSince   2026-01-01
limit          50

The step data (shortened):

json
{
  "found": true,
  "count": 1,
  "total": 1,
  "establishments": [
    {
      "siret": "12345678900012",
      "name": "AGENCE DU PORT",
      "activityCode": "68.31Z",
      "createdOn": "2026-03-02",
      "address": { "full": "8 BD DU PORT, 80000 AMIENS" }
    }
  ]
}

Tips ​

  • Test runs. The three actions are reads: they really run in a test run.
  • Not found is not an error. An unknown SIREN or a search with no result returns found false; branch an If on it.
  • Quota. INSEE allows 30 queries per minute: a workflow looping over a hundred SIRETs takes several minutes, by design.
  • Errors. integration.unauthorized: the key was refused or revoked. A malformed identifier or a search without any criterion fails the step with node_invalid_param. See Error handling.

Loop & Roll — the workflow builder for email.