{
  "openapi": "3.0.1",
  "info": {
    "title": "France Companies — SIRENE Registry (SIREN, VAT, Revenue)",
    "description": "French companies from the official SIRENE registry: filter by activity code (NAF/APE), department, size, revenue and labels (RGE, Qualiopi…). Get SIREN/SIRET, VAT number, address, headcount band and published revenue. Sole traders excluded. Pay per company.",
    "version": "0.1",
    "x-build-id": "f8sRpjLXwAHYtiSxB"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nefes-tools~france-companies/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nefes-tools-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/nefes-tools~france-companies/runs": {
      "post": {
        "operationId": "runs-sync-nefes-tools-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/nefes-tools~france-companies/run-sync": {
      "post": {
        "operationId": "run-sync-nefes-tools-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": {
          "nafCodes": {
            "title": "Activity codes (NAF / APE)",
            "type": "array",
            "description": "French activity codes, e.g. \"62.01Z\" (software development) or \"6201Z\". A prefix like \"62\" or \"43.2\" includes all codes under it. Leave empty for all activities.",
            "items": {
              "type": "string"
            }
          },
          "sections": {
            "title": "Sectors (NAF sections)",
            "type": "array",
            "description": "Broad sectors. Use instead of or together with activity codes.",
            "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, forestry, fishing",
                "B — Mining",
                "C — Manufacturing",
                "D — Electricity, gas",
                "E — Water, waste",
                "F — Construction",
                "G — Wholesale & retail trade, car repair",
                "H — Transport & storage",
                "I — Hotels & restaurants",
                "J — Information & communication",
                "K — Finance & insurance",
                "L — Real estate",
                "M — Professional, scientific & technical",
                "N — Administrative & support services",
                "O — Public administration",
                "P — Education",
                "Q — Health & social work",
                "R — Arts & recreation",
                "S — Other services",
                "T — Households",
                "U — Extraterritorial"
              ]
            }
          },
          "query": {
            "title": "Name or keyword",
            "type": "string",
            "description": "Optional text search in the company name, trade name and address (e.g. \"boulangerie\", \"logistique\"). You can also paste a SIREN or SIRET number."
          },
          "departments": {
            "title": "Departments",
            "type": "array",
            "description": "French departments as codes: \"75\" Paris, \"69\" Rhône, \"13\" Bouches-du-Rhône, \"2A\"/\"2B\" Corsica, \"974\" La Réunion. A company matches if its head office or any branch is there.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "French regions. A company matches if its head office or any branch is there.",
            "items": {
              "type": "string",
              "enum": [
                "01",
                "02",
                "03",
                "04",
                "06",
                "11",
                "24",
                "27",
                "28",
                "32",
                "44",
                "52",
                "53",
                "75",
                "76",
                "84",
                "93",
                "94"
              ],
              "enumTitles": [
                "Guadeloupe",
                "Martinique",
                "Guyane",
                "La Réunion",
                "Mayotte",
                "Île-de-France",
                "Centre-Val de Loire",
                "Bourgogne-Franche-Comté",
                "Normandie",
                "Hauts-de-France",
                "Grand Est",
                "Pays de la Loire",
                "Bretagne",
                "Nouvelle-Aquitaine",
                "Occitanie",
                "Auvergne-Rhône-Alpes",
                "Provence-Alpes-Côte d'Azur",
                "Corse"
              ]
            }
          },
          "postalCodes": {
            "title": "Postal codes",
            "type": "array",
            "description": "5-digit postal codes, e.g. \"75011\".",
            "items": {
              "type": "string"
            }
          },
          "employeeRanges": {
            "title": "Company size (employees)",
            "type": "array",
            "description": "Headcount band of the company (INSEE, latest available year). Leave empty for any size.",
            "items": {
              "type": "string",
              "enum": [
                "NN",
                "00",
                "01",
                "02",
                "03",
                "11",
                "12",
                "21",
                "22",
                "31",
                "32",
                "41",
                "42",
                "51",
                "52",
                "53"
              ],
              "enumTitles": [
                "No employees (non-employer)",
                "0 employees at year end",
                "1–2",
                "3–5",
                "6–9",
                "10–19",
                "20–49",
                "50–99",
                "100–199",
                "200–249",
                "250–499",
                "500–999",
                "1,000–1,999",
                "2,000–4,999",
                "5,000–9,999",
                "10,000+"
              ]
            }
          },
          "companyCategories": {
            "title": "Company category",
            "type": "array",
            "description": "INSEE category: SME, mid-size (ETI) or large enterprise.",
            "items": {
              "type": "string",
              "enum": [
                "PME",
                "ETI",
                "GE"
              ],
              "enumTitles": [
                "SME (PME)",
                "Mid-size (ETI)",
                "Large (GE)"
              ]
            }
          },
          "minRevenue": {
            "title": "Minimum revenue (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only companies that published a revenue of at least this amount. Only companies with public accounts have revenue, so this filter drops the rest."
          },
          "maxRevenue": {
            "title": "Maximum revenue (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only companies with published revenue up to this amount."
          },
          "labels": {
            "title": "Labels and certifications",
            "type": "array",
            "description": "Only companies holding all selected labels.",
            "items": {
              "type": "string",
              "enum": [
                "rge",
                "qualiopi",
                "bio",
                "trainingOrganisation",
                "socialEconomy",
                "missionCompany",
                "livingHeritage",
                "responsiblePurchasing",
                "healthAndSocial",
                "insertion",
                "association",
                "publicAdministration"
              ],
              "enumTitles": [
                "RGE (certified energy-renovation contractor)",
                "Qualiopi (certified training provider)",
                "Organic (Agence Bio certified)",
                "Registered training organisation",
                "Social & solidarity economy (ESS)",
                "Société à mission",
                "Living Heritage Company (EPV)",
                "Responsible Supplier Relations label (RFAR)",
                "Health & social facility (FINESS)",
                "Work-integration structure (SIAE)",
                "Associations only",
                "Public administrations only"
              ]
            }
          },
          "legalForms": {
            "title": "Legal form codes",
            "type": "array",
            "description": "INSEE legal form codes, e.g. \"5710\" SAS, \"5499\" SARL, \"5599\" SA, \"9220\" association. Sole traders are never returned.",
            "items": {
              "type": "string"
            }
          },
          "activeOnly": {
            "title": "Active companies only",
            "type": "boolean",
            "description": "Skip companies that have ceased trading.",
            "default": true
          },
          "maxResults": {
            "title": "Maximum companies",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many companies. You pay per company returned.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}