# getEcbMainRefinancingRate

**Identifier:** `fred_getEcbMainRefinancingRate`

**Provider:** [FRED](https://kirha.com/providers/fred.md)

Get daily ECB Main Refinancing Operations Rate for Euro Area. This is the interest rate on the main refinancing operations providing the bulk of liquidity to the banking system, measured in percent per annum.

## Run it with the CLI

```bash
kirha tools run fred_getEcbMainRefinancingRate \
  --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": "fred_getEcbMainRefinancingRate",
  "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": {
    "limit": {
      "default": 5,
      "maximum": 20,
      "minimum": 1,
      "type": "number"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "ecbMainRefinancingRatePercentPerAnnum": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "date": {
            "type": "string"
          },
          "value": {
            "type": "number"
          }
        },
        "required": [
          "date",
          "value"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "context",
    "ecbMainRefinancingRatePercentPerAnnum"
  ],
  "type": "object"
}
```

-----

[All FRED tools](https://kirha.com/providers/fred.md) · [< Back to tools list](https://kirha.com/tools.md)