# getFrenchBusinessCreations

**Identifier:** `insee_getFrenchBusinessCreations`

**Provider:** [INSEE Statistics](https://kirha.com/providers/insee.md)

Get the yearly number of business creations in France, a region or a department since 2012, by sector of activity or legal form (sole proprietorships including micro-entrepreneurs, SAS, SARL).

## Run it with the CLI

```bash
kirha tools run insee_getFrenchBusinessCreations \
  --input '{}'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "insee_getFrenchBusinessCreations",
  "input": {}
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "bySector": {
      "description": "Break the latest year down by sector",
      "type": "boolean"
    },
    "legalForm": {
      "description": "Defaults to all",
      "enum": [
        "all",
        "sole-proprietorship",
        "sas",
        "sarl"
      ],
      "type": "string"
    },
    "place": {
      "description": "France (default), a region or a department",
      "minLength": 2,
      "type": "string"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "latestYearBySector": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "legalForm": {
      "type": "string"
    },
    "place": {
      "type": "string"
    },
    "years": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "context",
    "place",
    "legalForm",
    "years",
    "latestYearBySector"
  ],
  "type": "object"
}
```

-----

[All INSEE Statistics tools](https://kirha.com/providers/insee.md) · [< Back to tools list](https://kirha.com/tools.md)