{
  "openapi": "3.0.1",
  "info": {
    "title": "French Companies Scraper (SIRENE) | Directors, Emails & Phones",
    "description": "Find French companies by NAF code, département, size & revenue from the official SIRENE registry. Directors, SIREN-verified websites, emails & phones. GDPR-friendly, no duplicates.",
    "version": "1.0",
    "x-build-id": "YLnRF3oKl2addgrli"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/atlasdata-labs~french-b2b-leads-sirene/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-atlasdata-labs-french-b2b-leads-sirene",
        "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/atlasdata-labs~french-b2b-leads-sirene/runs": {
      "post": {
        "operationId": "runs-sync-atlasdata-labs-french-b2b-leads-sirene",
        "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/atlasdata-labs~french-b2b-leads-sirene/run-sync": {
      "post": {
        "operationId": "run-sync-atlasdata-labs-french-b2b-leads-sirene",
        "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": {
          "maxResults": {
            "title": "Max companies",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "Maximum number of companies to return in this run. Tip: start with 100 to check your filters, then raise it.",
            "default": 100
          },
          "query": {
            "title": "Keywords",
            "type": "string",
            "description": "Free text matched against company names, brands, directors and addresses. Ex: boulangerie, agence web."
          },
          "popularNafCodes": {
            "title": "Activities (NAF/APE codes)",
            "type": "array",
            "description": "Pick one or more activities. Need a code that isn't listed? Add it in \"Other NAF codes\" below.",
            "items": {
              "type": "string",
              "enum": [
                "10.71C",
                "41.20A",
                "41.20B",
                "43.21A",
                "43.22A",
                "43.22B",
                "43.31Z",
                "43.32A",
                "43.33Z",
                "43.34Z",
                "43.39Z",
                "43.91B",
                "43.99C",
                "45.20A",
                "46.90Z",
                "47.11B",
                "47.71Z",
                "47.73Z",
                "47.91B",
                "49.32Z",
                "49.41A",
                "55.10Z",
                "56.10A",
                "56.10C",
                "56.30Z",
                "58.29C",
                "62.01Z",
                "62.02A",
                "62.09Z",
                "63.11Z",
                "66.22Z",
                "68.10Z",
                "68.20B",
                "68.31Z",
                "68.32A",
                "69.10Z",
                "69.20Z",
                "70.10Z",
                "70.21Z",
                "70.22Z",
                "71.11Z",
                "71.12B",
                "73.11Z",
                "73.12Z",
                "74.10Z",
                "74.20Z",
                "75.00Z",
                "77.11A",
                "78.10Z",
                "78.20Z",
                "79.11Z",
                "80.10Z",
                "81.21Z",
                "81.30Z",
                "82.99Z",
                "85.59A",
                "86.21Z",
                "86.23Z",
                "86.90E",
                "93.13Z",
                "96.02A",
                "96.02B",
                "96.04Z"
              ],
              "enumTitles": [
                "10.71C – Boulangerie et boulangerie-pâtisserie",
                "41.20A – Construction de maisons individuelles",
                "41.20B – Construction d'autres bâtiments",
                "43.21A – Installation électrique",
                "43.22A – Installation d'eau et de gaz (plomberie)",
                "43.22B – Installation thermique et climatisation",
                "43.31Z – Plâtrerie",
                "43.32A – Menuiserie bois et PVC",
                "43.33Z – Revêtement des sols et des murs",
                "43.34Z – Peinture et vitrerie",
                "43.39Z – Autres travaux de finition",
                "43.91B – Couverture",
                "43.99C – Maçonnerie générale et gros œuvre",
                "45.20A – Entretien et réparation de véhicules légers",
                "46.90Z – Commerce de gros non spécialisé",
                "47.11B – Commerce d'alimentation générale",
                "47.71Z – Commerce de détail d'habillement",
                "47.73Z – Pharmacies",
                "47.91B – Vente à distance (e-commerce)",
                "49.32Z – Taxis",
                "49.41A – Transports routiers de fret interurbains",
                "55.10Z – Hôtels",
                "56.10A – Restauration traditionnelle",
                "56.10C – Restauration rapide",
                "56.30Z – Débits de boissons (bars)",
                "58.29C – Édition de logiciels applicatifs",
                "62.01Z – Programmation informatique",
                "62.02A – Conseil en systèmes et logiciels informatiques",
                "62.09Z – Autres activités informatiques",
                "63.11Z – Traitement de données, hébergement",
                "66.22Z – Agents et courtiers d'assurances",
                "68.10Z – Marchands de biens immobiliers",
                "68.20B – Location de biens immobiliers",
                "68.31Z – Agences immobilières",
                "68.32A – Administration d'immeubles (syndics)",
                "69.10Z – Activités juridiques (avocats, notaires)",
                "69.20Z – Activités comptables",
                "70.10Z – Sièges sociaux (holdings)",
                "70.21Z – Conseil en relations publiques et communication",
                "70.22Z – Conseil pour les affaires et la gestion",
                "71.11Z – Architecture",
                "71.12B – Ingénierie, études techniques",
                "73.11Z – Agences de publicité",
                "73.12Z – Régie publicitaire",
                "74.10Z – Design",
                "74.20Z – Photographie",
                "75.00Z – Vétérinaires",
                "77.11A – Location de voitures",
                "78.10Z – Agences de placement",
                "78.20Z – Agences de travail temporaire",
                "79.11Z – Agences de voyage",
                "80.10Z – Sécurité privée",
                "81.21Z – Nettoyage des bâtiments",
                "81.30Z – Aménagement paysager",
                "82.99Z – Autres services aux entreprises",
                "85.59A – Formation continue d'adultes",
                "86.21Z – Médecins généralistes",
                "86.23Z – Dentistes",
                "86.90E – Rééducation (kinés, podologues)",
                "93.13Z – Salles de sport",
                "96.02A – Coiffure",
                "96.02B – Soins de beauté",
                "96.04Z – Entretien corporel"
              ]
            }
          },
          "nafCodes": {
            "title": "Other NAF / APE codes",
            "type": "array",
            "description": "Any other code, e.g. 01.11Z. Format 0111Z also accepted.",
            "items": {
              "type": "string"
            }
          },
          "sections": {
            "title": "Sectors",
            "type": "array",
            "description": "Broad activity sectors (NAF sections).",
            "items": {
              "type": "string",
              "enum": [
                "A",
                "B",
                "C",
                "D",
                "E",
                "F",
                "G",
                "H",
                "I",
                "J",
                "K",
                "L",
                "M",
                "N",
                "O",
                "P",
                "Q",
                "R",
                "S",
                "T",
                "U"
              ],
              "enumTitles": [
                "Agriculture",
                "Industries extractives",
                "Industrie manufacturière",
                "Énergie",
                "Eau, déchets",
                "Construction / BTP",
                "Commerce",
                "Transports",
                "Hôtellerie-restauration",
                "Information et communication",
                "Finance et assurance",
                "Immobilier",
                "Activités spécialisées (conseil, juridique, ingénierie…)",
                "Services administratifs et de soutien",
                "Administration publique",
                "Enseignement",
                "Santé et action sociale",
                "Arts, spectacles, loisirs",
                "Autres services",
                "Ménages employeurs",
                "Extra-territorial"
              ]
            }
          },
          "departements": {
            "title": "Départements",
            "type": "array",
            "description": "One or more départements.",
            "items": {
              "type": "string",
              "enum": [
                "01",
                "02",
                "03",
                "04",
                "05",
                "06",
                "07",
                "08",
                "09",
                "10",
                "11",
                "12",
                "13",
                "14",
                "15",
                "16",
                "17",
                "18",
                "19",
                "2A",
                "2B",
                "21",
                "22",
                "23",
                "24",
                "25",
                "26",
                "27",
                "28",
                "29",
                "30",
                "31",
                "32",
                "33",
                "34",
                "35",
                "36",
                "37",
                "38",
                "39",
                "40",
                "41",
                "42",
                "43",
                "44",
                "45",
                "46",
                "47",
                "48",
                "49",
                "50",
                "51",
                "52",
                "53",
                "54",
                "55",
                "56",
                "57",
                "58",
                "59",
                "60",
                "61",
                "62",
                "63",
                "64",
                "65",
                "66",
                "67",
                "68",
                "69",
                "70",
                "71",
                "72",
                "73",
                "74",
                "75",
                "76",
                "77",
                "78",
                "79",
                "80",
                "81",
                "82",
                "83",
                "84",
                "85",
                "86",
                "87",
                "88",
                "89",
                "90",
                "91",
                "92",
                "93",
                "94",
                "95",
                "971",
                "972",
                "973",
                "974",
                "976"
              ],
              "enumTitles": [
                "01 – Ain",
                "02 – Aisne",
                "03 – Allier",
                "04 – Alpes-de-Haute-Provence",
                "05 – Hautes-Alpes",
                "06 – Alpes-Maritimes",
                "07 – Ardèche",
                "08 – Ardennes",
                "09 – Ariège",
                "10 – Aube",
                "11 – Aude",
                "12 – Aveyron",
                "13 – Bouches-du-Rhône",
                "14 – Calvados",
                "15 – Cantal",
                "16 – Charente",
                "17 – Charente-Maritime",
                "18 – Cher",
                "19 – Corrèze",
                "2A – Corse-du-Sud",
                "2B – Haute-Corse",
                "21 – Côte-d'Or",
                "22 – Côtes-d'Armor",
                "23 – Creuse",
                "24 – Dordogne",
                "25 – Doubs",
                "26 – Drôme",
                "27 – Eure",
                "28 – Eure-et-Loir",
                "29 – Finistère",
                "30 – Gard",
                "31 – Haute-Garonne",
                "32 – Gers",
                "33 – Gironde",
                "34 – Hérault",
                "35 – Ille-et-Vilaine",
                "36 – Indre",
                "37 – Indre-et-Loire",
                "38 – Isère",
                "39 – Jura",
                "40 – Landes",
                "41 – Loir-et-Cher",
                "42 – Loire",
                "43 – Haute-Loire",
                "44 – Loire-Atlantique",
                "45 – Loiret",
                "46 – Lot",
                "47 – Lot-et-Garonne",
                "48 – Lozère",
                "49 – Maine-et-Loire",
                "50 – Manche",
                "51 – Marne",
                "52 – Haute-Marne",
                "53 – Mayenne",
                "54 – Meurthe-et-Moselle",
                "55 – Meuse",
                "56 – Morbihan",
                "57 – Moselle",
                "58 – Nièvre",
                "59 – Nord",
                "60 – Oise",
                "61 – Orne",
                "62 – Pas-de-Calais",
                "63 – Puy-de-Dôme",
                "64 – Pyrénées-Atlantiques",
                "65 – Hautes-Pyrénées",
                "66 – Pyrénées-Orientales",
                "67 – Bas-Rhin",
                "68 – Haut-Rhin",
                "69 – Rhône",
                "70 – Haute-Saône",
                "71 – Saône-et-Loire",
                "72 – Sarthe",
                "73 – Savoie",
                "74 – Haute-Savoie",
                "75 – Paris",
                "76 – Seine-Maritime",
                "77 – Seine-et-Marne",
                "78 – Yvelines",
                "79 – Deux-Sèvres",
                "80 – Somme",
                "81 – Tarn",
                "82 – Tarn-et-Garonne",
                "83 – Var",
                "84 – Vaucluse",
                "85 – Vendée",
                "86 – Vienne",
                "87 – Haute-Vienne",
                "88 – Vosges",
                "89 – Yonne",
                "90 – Territoire de Belfort",
                "91 – Essonne",
                "92 – Hauts-de-Seine",
                "93 – Seine-Saint-Denis",
                "94 – Val-de-Marne",
                "95 – Val-d'Oise",
                "971 – Guadeloupe",
                "972 – Martinique",
                "973 – Guyane",
                "974 – La Réunion",
                "976 – Mayotte"
              ]
            }
          },
          "postalCodes": {
            "title": "Postal codes",
            "type": "array",
            "description": "Ex: 69003, 75011.",
            "items": {
              "type": "string"
            }
          },
          "employeeRanges": {
            "title": "Employees",
            "type": "array",
            "description": "Employee range from the registry.",
            "items": {
              "type": "string",
              "enum": [
                "00",
                "01",
                "02",
                "03",
                "11",
                "12",
                "21",
                "22",
                "31",
                "32",
                "41",
                "42",
                "51",
                "52",
                "53"
              ],
              "enumTitles": [
                "0 salarié",
                "1-2",
                "3-5",
                "6-9",
                "10-19",
                "20-49",
                "50-99",
                "100-199",
                "200-249",
                "250-499",
                "500-999",
                "1000-1999",
                "2000-4999",
                "5000-9999",
                "10000+"
              ]
            }
          },
          "companyCategories": {
            "title": "Company category",
            "type": "array",
            "description": "INSEE size category.",
            "items": {
              "type": "string",
              "enum": [
                "PME",
                "ETI",
                "GE"
              ],
              "enumTitles": [
                "PME (SME)",
                "ETI (mid-size)",
                "GE (large)"
              ]
            }
          },
          "legalForms": {
            "title": "Legal form",
            "type": "array",
            "description": "Legal form of the company.",
            "items": {
              "type": "string",
              "enum": [
                "5710",
                "5720",
                "5499",
                "5498",
                "5599",
                "6540",
                "1000",
                "9220"
              ],
              "enumTitles": [
                "SAS",
                "SASU",
                "SARL",
                "EURL",
                "SA",
                "SCI",
                "Entrepreneur individuel",
                "Association"
              ]
            }
          },
          "revenueMin": {
            "title": "Min revenue (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Latest published revenue, in euros."
          },
          "revenueMax": {
            "title": "Max revenue (€)",
            "minimum": 0,
            "type": "integer",
            "description": "Latest published revenue, in euros."
          },
          "createdAfter": {
            "title": "Created after",
            "type": "string",
            "description": "YYYY-MM-DD. Great for targeting new companies."
          },
          "createdBefore": {
            "title": "Created before",
            "type": "string",
            "description": "YYYY-MM-DD."
          },
          "onlyActive": {
            "title": "Active companies only",
            "type": "boolean",
            "description": "Skip closed companies.",
            "default": true
          },
          "requireDirector": {
            "title": "Only companies with a named director",
            "type": "boolean",
            "description": "Keep only companies with at least one director who is a person.",
            "default": false
          },
          "excludeSoleTraders": {
            "title": "Exclude sole traders (entrepreneurs individuels)",
            "type": "boolean",
            "description": "Skip entrepreneurs individuels (micro-entreprises).",
            "default": false
          },
          "enrichContacts": {
            "title": "Find website, emails & phones",
            "type": "boolean",
            "description": "Finds the company website and extracts public emails, phones and social links. Billed only when contacts are found.",
            "default": true
          },
          "acceptProbableWebsites": {
            "title": "Accept probable websites",
            "type": "boolean",
            "description": "If off, only websites whose legal notice shows the company's SIREN are kept (100% match, fewer results).",
            "default": true
          },
          "searchWebsites": {
            "title": "Search Google when the website isn't obvious",
            "type": "boolean",
            "description": "If the website can't be guessed from the company name, look it up on Google and check the top results. Finds many more websites, at no extra cost to you.",
            "default": true
          },
          "onlyWithContact": {
            "title": "Only companies with contacts",
            "type": "boolean",
            "description": "Return only companies where an email or phone was found.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Websites checked in parallel",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "How many company websites are checked at the same time.",
            "default": 20
          },
          "excludeOptedOut": {
            "title": "Respect commercial-prospecting opt-outs",
            "type": "boolean",
            "description": "Excludes companies that registered an opposition to commercial use of their data in SIRENE. Strongly recommended (GDPR).",
            "default": true
          },
          "resetProgress": {
            "title": "Restart from scratch",
            "type": "boolean",
            "description": "Ignore saved progress for these filters.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}