{
  "openapi": "3.0.1",
  "info": {
    "title": "France Company Search (Sirene): SIREN, NAF, Headcount & Revenue",
    "description": "French company lists from the official register (Sirene, INSEE; data.gouv.fr, annuaire entreprises): filter by NAF code, département, postcode, employee band, revenue, profit and labels (RGE, Qualiopi, ESS). SIREN, SIRET, VAT number, legal form, revenue, net income. No login, no key.",
    "version": "0.1",
    "x-build-id": "ZgGmLC5rO9ZuyG6Jj"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/northbell~france-company-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-northbell-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/northbell~france-company-search/runs": {
      "post": {
        "operationId": "runs-sync-northbell-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/northbell~france-company-search/run-sync": {
      "post": {
        "operationId": "run-sync-northbell-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": {
          "activities": {
            "title": "Activities (NAF codes or sections)",
            "type": "array",
            "description": "NAF/APE codes such as `62.01Z` (computer programming) or `6201Z`, or section letters such as `F` (construction) or `J` (information and communication). Give codes or letters, not both. Leave empty for every activity.",
            "items": {
              "type": "string"
            }
          },
          "departements": {
            "title": "Départements",
            "type": "array",
            "description": "Département codes such as `75` (Paris), `69` (Rhône), `13`, `2A`, `971`. A company matches when its head office or one of its establishments is there.",
            "items": {
              "type": "string"
            }
          },
          "postcodes": {
            "title": "Postcodes",
            "type": "array",
            "description": "5-digit postcodes such as `69002`. Matches head offices and establishments.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions (INSEE code)",
            "type": "array",
            "description": "INSEE region codes: 11 Île-de-France, 84 Auvergne-Rhône-Alpes, 93 Provence-Alpes-Côte d'Azur, 76 Occitanie, 75 Nouvelle-Aquitaine, 32 Hauts-de-France, 44 Grand Est, 52 Pays de la Loire, 53 Bretagne, 28 Normandie, 27 Bourgogne-Franche-Comté, 24 Centre-Val de Loire, 94 Corse, 01 to 06 overseas.",
            "items": {
              "type": "string"
            }
          },
          "minEmployees": {
            "title": "Employees at least",
            "minimum": 0,
            "type": "integer",
            "description": "Keep companies whose INSEE employee band reaches this number (bands: 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+)."
          },
          "maxEmployees": {
            "title": "Employees at most",
            "minimum": 0,
            "type": "integer",
            "description": "Keep companies whose employee band starts at or below this number."
          },
          "categories": {
            "title": "Size category",
            "type": "array",
            "description": "INSEE's company size category.",
            "items": {
              "type": "string",
              "enum": [
                "PME",
                "ETI",
                "GE"
              ],
              "enumTitles": [
                "PME: small and medium (under 250 people)",
                "ETI: mid-sized (250 to 4,999)",
                "GE: large (5,000+)"
              ]
            }
          },
          "minRevenue": {
            "title": "Revenue at least (EUR)",
            "type": "integer",
            "description": "From the latest published annual accounts. Companies that do not publish accounts drop out when this is set."
          },
          "maxRevenue": {
            "title": "Revenue at most (EUR)",
            "type": "integer",
            "description": "From the latest published annual accounts."
          },
          "minNetIncome": {
            "title": "Net income at least (EUR)",
            "type": "integer",
            "description": "Profit or loss in the latest published accounts; e.g. `0` for profitable companies only."
          },
          "maxNetIncome": {
            "title": "Net income at most (EUR)",
            "type": "integer",
            "description": "Profit or loss in the latest published accounts."
          },
          "labels": {
            "title": "Labels",
            "type": "array",
            "description": "Keep only companies with all of these labels.",
            "items": {
              "type": "string",
              "enum": [
                "socialEconomy",
                "rge",
                "organic",
                "qualiopi",
                "trainingProvider",
                "missionCompany",
                "association",
                "livingHeritage"
              ],
              "enumTitles": [
                "Social and solidarity economy (ESS)",
                "RGE (certified energy-renovation contractor)",
                "Organic (Agence Bio)",
                "Qualiopi (certified training)",
                "Registered training provider",
                "Société à mission",
                "Association",
                "Entreprise du Patrimoine Vivant"
              ]
            }
          },
          "query": {
            "title": "Name or SIREN",
            "type": "string",
            "description": "Optional: a company name, a word in it, or a SIREN/SIRET number."
          },
          "activeOnly": {
            "title": "Active companies only",
            "type": "boolean",
            "description": "Leave out companies that have ceased trading.",
            "default": true
          },
          "includeEstablishments": {
            "title": "Include the matching establishments",
            "type": "boolean",
            "description": "Up to 10 establishments per company that match the place and activity filters: SIRET, postcode, city, activity, employee band, opening date. No street addresses.",
            "default": true
          },
          "maxItems": {
            "title": "Max companies",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "The register returns at most 10,000 companies per search. Split a bigger search by département or activity.",
            "default": 500
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}