{
  "openapi": "3.0.1",
  "info": {
    "title": "Sirene Company Search — France SIREN/SIRET Lookup, No API Key",
    "description": "Sirene company data for French companies: search the official register (Insee) by name, SIREN/SIRET, postcode, department, NAF/APE code or size. Status, head office, GPS, revenue, labels. Licence Ouverte 2.0, no API key, no directors. Unofficial: not affiliated with or endorsed by Insee or DINUM.",
    "version": "0.10",
    "x-build-id": "VXlfHA6rYUfYQRssy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rein8~france-company-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rein8-france-company-search",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/rein8~france-company-search/runs": {
      "post": {
        "operationId": "runs-sync-rein8-france-company-search",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/rein8~france-company-search/run-sync": {
      "post": {
        "operationId": "run-sync-rein8-france-company-search",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "queries": {
            "title": "Termes de recherche · Search terms",
            "type": "array",
            "description": "Une recherche par ligne : raison sociale, marque, adresse, SIREN (9 chiffres) ou SIRET (14 chiffres) ; laissez vide pour lister par filtres seulement. · One search per line: a company name, a brand, an address, a SIREN (9 digits) or a SIRET (14 digits). Leave empty to list companies by filters only. Searching a person's name to find their company is fine; the row never contains the person — this Actor finds companies, not people.",
            "items": {
              "type": "string"
            }
          },
          "postalCode": {
            "title": "Code postal · Postcode(s)",
            "type": "string",
            "description": "Code postal à 5 chiffres, ou plusieurs séparés par des virgules (75011,75012) ; le siège peut être ailleurs, localSites liste les établissements correspondants. · 5-digit French postcode, or several separated by commas. Matches companies with at least one establishment there — the head office can be elsewhere; each row's localSites lists the matching establishments with their own address and SIRET."
          },
          "department": {
            "title": "Département(s) · Department(s)",
            "type": "string",
            "description": "Numéro de département, ou plusieurs séparés par des virgules (75,69,13). · Department code, or several separated by commas."
          },
          "region": {
            "title": "Région(s) · Region(s)",
            "type": "string",
            "description": "Code région INSEE à 2 chiffres, ou plusieurs séparés par des virgules. · 2-digit INSEE region code, or several separated by commas: 11 Île-de-France, 24 Centre-Val de Loire, 27 Bourgogne-Franche-Comté, 28 Normandie, 32 Hauts-de-France, 44 Grand Est, 52 Pays de la Loire, 53 Bretagne, 75 Nouvelle-Aquitaine, 76 Occitanie, 84 Auvergne-Rhône-Alpes, 93 Provence-Alpes-Côte d'Azur, 94 Corse, 01 Guadeloupe, 02 Martinique, 03 Guyane, 04 La Réunion, 06 Mayotte."
          },
          "nafCode": {
            "title": "Code NAF / APE · Activity code(s)",
            "type": "string",
            "description": "Code NAF exact avec le point, ou plusieurs séparés par des virgules. · Exact NAF code with the dot, or several separated by commas: 10.71C (boulangerie / bakery), 62.01Z (programmation / software), 56.10A (restauration traditionnelle / restaurants)."
          },
          "nafSection": {
            "title": "Section NAF · Activity section",
            "enum": [
              "A",
              "B",
              "C",
              "D",
              "E",
              "F",
              "G",
              "H",
              "I",
              "J",
              "K",
              "L",
              "M",
              "N",
              "O",
              "P",
              "Q",
              "R",
              "S",
              "T",
              "U"
            ],
            "type": "string",
            "description": "Une lettre de section NAF. · One NAF section letter: C manufacturing, F construction, G retail, I hotels & restaurants, J information & communication, M professional services… For several sections, run once per section or use a NAF code."
          },
          "activeOnly": {
            "title": "Entreprises actives seulement · Active companies only",
            "type": "boolean",
            "description": "Activé (défaut) : seulement les entreprises actives ; désactivé : actives et cessées. · On (default): only companies that are currently active. Off: active and ceased companies.",
            "default": true
          },
          "companyCategory": {
            "title": "Catégorie d'entreprise · Company size category",
            "enum": [
              "PME",
              "ETI",
              "GE"
            ],
            "type": "string",
            "description": "Une catégorie INSEE : PME, ETI ou GE. · One INSEE size category: PME (small and medium), ETI (mid-size), GE (large)."
          },
          "employeeBand": {
            "title": "Tranche d'effectif salarié · Employee band code(s)",
            "type": "string",
            "description": "Codes de tranche d'effectif INSEE, séparés par des virgules ; chaque ligne porte le libellé (employeeBandText). · INSEE staff band codes, separated by commas: 01 = 1–2, 02 = 3–5, 03 = 6–9, 11 = 10–19, 12 = 20–49, 21 = 50–99, 22 = 100–199, 31 = 200–249, 32 = 250–499, 41 = 500–999, 42 = 1,000–1,999, 51 = 2,000–4,999, 52 = 5,000–9,999, 53 = 10,000+, NN = no employees."
          },
          "legalForm": {
            "title": "Forme juridique · Legal form code(s)",
            "type": "string",
            "description": "Catégorie juridique INSEE, séparées par des virgules ; chaque ligne porte le libellé (legalFormText). · INSEE legal category, separated by commas: 5710 = SAS, 5720 = SASU, 5499 = SARL, 5498 = EURL, 5599 / 5699 = SA, 5202 = SNC, 6540 = SCI, 5458 = SCOP, 6220 = GIE, 6598 = EARL, 5485 = SELARL, 9220 = association déclarée."
          },
          "createdFrom": {
            "title": "Créée à partir du · Created on or after",
            "type": "string",
            "description": "AAAA-MM-JJ : seulement les entreprises créées à cette date ou après (« créations du mois ») ; avec le mode incrémental et une planification hebdomadaire, un flux des nouvelles immatriculations. · YYYY-MM-DD: only companies created on or after this date. The source API has no creation-date parameter, so this filter is applied after reading each page: a broad search still reads every page (about 3 minutes per 10,000 results); filtered-out companies are never charged."
          },
          "createdTo": {
            "title": "Créée jusqu'au · Created on or before",
            "type": "string",
            "description": "AAAA-MM-JJ : seulement les entreprises créées à cette date ou avant. · YYYY-MM-DD: only companies created on or before this date; combine with \"Created on or after\" for a month or a quarter."
          },
          "revenueMin": {
            "title": "Chiffre d'affaires minimum (EUR) · Revenue from",
            "minimum": 0,
            "type": "integer",
            "description": "CA minimum des derniers comptes publiés. · Minimum revenue of the latest published accounts. Only companies that publish accounts have a revenue figure (roughly one in three)."
          },
          "revenueMax": {
            "title": "Chiffre d'affaires maximum (EUR) · Revenue up to",
            "minimum": 0,
            "type": "integer",
            "description": "CA maximum des derniers comptes publiés. · Maximum revenue of the latest published accounts."
          },
          "onlyAssociations": {
            "title": "Associations seulement · Only associations",
            "type": "boolean",
            "description": "Seulement les associations. · Only non-profit associations.",
            "default": false
          },
          "onlyEss": {
            "title": "ESS seulement · Only social & solidarity economy",
            "type": "boolean",
            "description": "Seulement l'économie sociale et solidaire. · Only organisations of the social and solidarity economy (ESS).",
            "default": false
          },
          "onlyBio": {
            "title": "Bio seulement (Agence Bio) · Only certified organic",
            "type": "boolean",
            "description": "Seulement les entreprises ayant un établissement certifié par l'Agence Bio. · Only companies with an establishment certified by Agence Bio.",
            "default": false
          },
          "onlyRge": {
            "title": "RGE seulement · Only RGE-certified (energy renovation)",
            "type": "boolean",
            "description": "Seulement les entreprises Reconnues Garantes de l'Environnement. · Only companies holding the RGE label (Reconnu Garant de l'Environnement).",
            "default": false
          },
          "onlyQualiopi": {
            "title": "Qualiopi seulement · Only Qualiopi-certified",
            "type": "boolean",
            "description": "Seulement les organismes certifiés Qualiopi. · Only training providers holding the Qualiopi certification.",
            "default": false
          },
          "onlyTrainingOrganisations": {
            "title": "Organismes de formation seulement · Only training organisations",
            "type": "boolean",
            "description": "Seulement les organismes de formation déclarés. · Only registered training organisations.",
            "default": false
          },
          "sortBySize": {
            "title": "Plus grandes entreprises d'abord · Largest companies first",
            "type": "boolean",
            "description": "Trie par nombre d'établissements plutôt que par pertinence. · Sort results by number of establishments instead of relevance.",
            "default": false
          },
          "maxItems": {
            "title": "Nombre maximum d'entreprises · Max companies",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Nombre maximum d'entreprises livrées au total ; seules les lignes livrées sont facturées. · Maximum number of companies to return in total. You are charged only for companies delivered. The source returns at most 10,000 results per search — narrow with filters to go deeper.",
            "default": 50
          },
          "maxItemsPerQuery": {
            "title": "Maximum par terme de recherche · Max companies per search term",
            "minimum": 0,
            "type": "integer",
            "description": "Plafond optionnel par terme, pour qu'un terme large n'épuise pas le budget ; 0 = aucun. · Optional cap per search term, so that one broad term cannot use the whole budget. 0 = no per-term cap.",
            "default": 0
          },
          "incremental": {
            "title": "Only companies not delivered before",
            "type": "boolean",
            "description": "Remember which companies were already delivered (per 'State key') and return only new or CHANGED ones: a company delivered before comes back, marked _changed and charged again, when any delivered field differs from last time (a new address, status, staff band or lastUpdated date; localSites and vatNumber do not count). With a weekly schedule this gives a feed of newly registered or changed companies matching your filters.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Name of the memory used by 'Only companies not delivered before'. Left as 'default', every saved Task gets its own memory automatically (a run started by hand remembers per search). Type a name to share one memory between schedules on purpose.",
            "default": "default"
          },
          "allowStateFallback": {
            "title": "Run without memory if the memory cannot be opened",
            "type": "boolean",
            "description": "Only matters if an incremental run stops with 'state store unavailable'. Off (default): such a run stops before anything is charged. On: the run continues without memory, i.e. it delivers and charges every matching company again.",
            "default": false
          },
          "preview": {
            "title": "Aperçu (3 entreprises, gratuit) · Preview (3 companies, free)",
            "type": "boolean",
            "description": "Renvoie 3 entreprises sans frais, pour vérifier le format. · Return 3 companies without any charge, to check the output format.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}