# getFrenchInflation

**Identifier:** `insee_getFrenchInflation`

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

Get French consumer price inflation (CPI, year-on-year) month by month, overall or for food, energy, services, manufactured goods, rents, health, transport, clothing or tobacco.

## Run it with the CLI

```bash
kirha tools run insee_getFrenchInflation \
  --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_getFrenchInflation",
  "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": {
    "category": {
      "description": "Defaults to all",
      "enum": [
        "all",
        "core-excluding-tobacco-and-rents",
        "food",
        "energy",
        "services",
        "manufactured-goods",
        "rents-water-refuse",
        "health",
        "transport",
        "clothing",
        "tobacco"
      ],
      "type": "string"
    },
    "months": {
      "description": "Defaults to 12",
      "maximum": 60,
      "minimum": 1,
      "type": "integer"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "category": {
      "type": "string"
    },
    "context": {
      "type": "string"
    },
    "latestMonth": {
      "type": "string"
    },
    "latestYearOnYearPct": {
      "type": "number"
    },
    "months": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "month": {
            "type": "string"
          },
          "monthOnMonthPct": {
            "type": "number"
          },
          "yearOnYearPct": {
            "type": "number"
          }
        },
        "required": [
          "month"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "context",
    "category",
    "months"
  ],
  "type": "object"
}
```

-----

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