{
  "openapi": "3.0.1",
  "info": {
    "title": "France Company Search: SIREN, NAF & Revenue (No API Key)",
    "description": "Search French companies in the official register by NAF code, department, size, revenue and labels like RGE or Qualiopi, or look up SIREN / SIRET numbers. Revenue, VAT number, address. No API key, no personal data.",
    "version": "0.1",
    "x-build-id": "KmhZ26XyRwbCyB2EA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bircolabots~france-companies/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bircolabots-france-companies",
        "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/bircolabots~france-companies/runs": {
      "post": {
        "operationId": "runs-sync-bircolabots-france-companies",
        "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/bircolabots~france-companies/run-sync": {
      "post": {
        "operationId": "run-sync-bircolabots-france-companies",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "lookup"
            ],
            "type": "string",
            "description": "Search the French company register with filters, or fetch specific companies by SIREN or SIRET.",
            "default": "search"
          },
          "nafCodes": {
            "title": "Activity codes (NAF / APE)",
            "type": "array",
            "description": "NAF codes of the main activity, e.g. 62.01Z (software development), 43.21A (electrical installation), 56.10A (restaurants), 70.22Z (consulting).",
            "items": {
              "type": "string"
            }
          },
          "departments": {
            "title": "Departments",
            "type": "array",
            "description": "Department codes of the company's establishments, e.g. 75 (Paris), 69 (Rhône), 13 (Bouches-du-Rhône), 2A (Corse-du-Sud), 971 (Guadeloupe).",
            "items": {
              "type": "string"
            }
          },
          "postalCodes": {
            "title": "Postal codes",
            "type": "array",
            "description": "5-digit postal codes, e.g. 75008 or 69002.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Regions of the company's establishments.",
            "items": {
              "type": "string",
              "enum": [
                "01",
                "02",
                "03",
                "04",
                "06",
                "11",
                "24",
                "27",
                "28",
                "32",
                "44",
                "52",
                "53",
                "75",
                "76",
                "84",
                "93",
                "94"
              ],
              "enumTitles": [
                "Guadeloupe (01)",
                "Martinique (02)",
                "Guyane (03)",
                "La Réunion (04)",
                "Mayotte (06)",
                "Île-de-France (11)",
                "Centre-Val de Loire (24)",
                "Bourgogne-Franche-Comté (27)",
                "Normandie (28)",
                "Hauts-de-France (32)",
                "Grand Est (44)",
                "Pays de la Loire (52)",
                "Bretagne (53)",
                "Nouvelle-Aquitaine (75)",
                "Occitanie (76)",
                "Auvergne-Rhône-Alpes (84)",
                "Provence-Alpes-Côte d'Azur (93)",
                "Corse (94)"
              ]
            }
          },
          "query": {
            "title": "Name or address contains",
            "type": "string",
            "description": "Free text searched in the company name and address, e.g. \"boulangerie\" or \"rue de Rivoli\"."
          },
          "nafSections": {
            "title": "Activity sections",
            "type": "array",
            "description": "Broad activity sections, e.g. F (construction) or J (information and communication).",
            "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": [
                "A - Agriculture, sylviculture et pêche",
                "B - Industries extractives",
                "C - Industrie manufacturière",
                "D - Production et distribution d'électricité, de gaz, de vapeur et d'air conditionné",
                "E - Production et distribution d'eau ; assainissement, gestion des déchets et dépollution",
                "F - Construction",
                "G - Commerce; réparation d'automobiles et de motocycles",
                "H - Transports et entreposage",
                "I - Hébergement et restauration",
                "J - Information et communication",
                "K - Activités financières et d'assurance",
                "L - Activités immobilières",
                "M - Activités spécialisées, scientifiques et techniques",
                "N - Activités de services administratifs et de soutien",
                "O - Administration publique",
                "P - Enseignement",
                "Q - Santé humaine et action sociale",
                "R - Arts, spectacles et activités récréatives",
                "S - Autres activités de services",
                "T - Activités des ménages en tant qu'employeurs ; activités indifférenciées des ménages en tant que producteurs de biens et services pour usage propre",
                "U - Activités extra-territoriales"
              ]
            }
          },
          "companySize": {
            "title": "Company size",
            "type": "array",
            "description": "INSEE company category.",
            "items": {
              "type": "string",
              "enum": [
                "PME",
                "ETI",
                "GE"
              ],
              "enumTitles": [
                "PME - small and medium enterprise",
                "ETI - mid-sized company",
                "GE - large company"
              ]
            }
          },
          "employeeRanges": {
            "title": "Number of employees",
            "type": "array",
            "description": "INSEE employee ranges.",
            "items": {
              "type": "string",
              "enum": [
                "NN",
                "00",
                "01",
                "02",
                "03",
                "11",
                "12",
                "21",
                "22",
                "31",
                "32",
                "41",
                "42",
                "51",
                "52",
                "53"
              ],
              "enumTitles": [
                "Unité non employeuse (pas de salarié au cours de l'année de référence et pas d'effectif au 31/12)",
                "0 salarié (n'ayant pas d'effectif au 31/12 mais ayant employé des salariés au cours de l'année de référence)",
                "1 ou 2 salariés",
                "3 à 5 salariés",
                "6 à 9 salariés",
                "10 à 19 salariés",
                "20 à 49 salariés",
                "50 à 99 salariés",
                "100 à 199 salariés",
                "200 à 249 salariés",
                "250 à 499 salariés",
                "500 à 999 salariés",
                "1 000 à 1 999 salariés",
                "2 000 à 4 999 salariés",
                "5 000 à 9 999 salariés",
                "10 000 salariés et plus"
              ]
            }
          },
          "legalForms": {
            "title": "Legal form codes",
            "type": "array",
            "description": "4-digit INSEE legal form codes, e.g. 5710 (SAS), 5499 (SARL), 5720 (SASU), 5599 (SA). Sole proprietors are never returned.",
            "items": {
              "type": "string"
            }
          },
          "status": {
            "title": "Company status",
            "enum": [
              "active",
              "closed",
              "any"
            ],
            "type": "string",
            "description": "Active (default), closed (ceased) or any status.",
            "default": "active"
          },
          "revenueMin": {
            "title": "Revenue from (EUR)",
            "type": "integer",
            "description": "Minimum revenue (chiffre d'affaires) of the last published year."
          },
          "revenueMax": {
            "title": "Revenue to (EUR)",
            "type": "integer",
            "description": "Maximum revenue of the last published year."
          },
          "netIncomeMin": {
            "title": "Net income from (EUR)",
            "type": "integer",
            "description": "Minimum net income (résultat net). Use 0 for profitable companies only."
          },
          "netIncomeMax": {
            "title": "Net income to (EUR)",
            "type": "integer",
            "description": "Maximum net income."
          },
          "labels": {
            "title": "Labels and certifications",
            "type": "array",
            "description": "Only companies with all the selected labels.",
            "items": {
              "type": "string",
              "enum": [
                "rge",
                "qualiopi",
                "bio",
                "ess",
                "missionCompany",
                "trainingOrganisation",
                "association",
                "siae",
                "livingHeritage"
              ],
              "enumTitles": [
                "RGE (certified energy-efficiency contractor)",
                "Qualiopi (certified training provider)",
                "Organic (agence bio certified)",
                "Social and solidarity economy (ESS)",
                "Société à mission",
                "Registered training organisation",
                "Association",
                "Work integration structure (SIAE)",
                "Living Heritage Company (EPV)"
              ]
            }
          },
          "sirenNumbers": {
            "title": "SIREN / SIRET numbers",
            "type": "array",
            "description": "Used in Lookup mode. Up to 5,000 SIREN (9 digits) or SIRET (14 digits) numbers.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Maximum companies",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many companies (the register returns at most 10,000 per search). You pay only for companies saved.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}