{
  "openapi": "3.0.1",
  "info": {
    "title": "ECB Data — Exchange Rates, Policy Rates, Inflation, Money",
    "description": "Official European Central Bank statistics: daily euro reference exchange rates, the three key policy rates, HICP inflation by country, Euribor and the euro area yield curve, M1/M2/M3, unemployment and GDP. Pick a series by name instead of by SDMX key. Free ECB Data Portal, no key.",
    "version": "0.1",
    "x-build-id": "speOs3dcbJoiXkf1a"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dalbian~ecb-statistical-data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dalbian-ecb-statistical-data",
        "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/dalbian~ecb-statistical-data/runs": {
      "post": {
        "operationId": "runs-sync-dalbian-ecb-statistical-data",
        "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/dalbian~ecb-statistical-data/run-sync": {
      "post": {
        "operationId": "run-sync-dalbian-ecb-statistical-data",
        "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",
        "required": [
          "datasets"
        ],
        "properties": {
          "datasets": {
            "title": "Series",
            "type": "array",
            "description": "Curated series, each one a verified ECB key. Exchange rates follow the currencies below; inflation, unemployment, bond yields and GDP follow the countries below. Everything else is euro area wide.",
            "items": {
              "type": "string",
              "enum": [
                "fx-reference-rates",
                "policy-rates",
                "estr",
                "euribor",
                "yield-curve",
                "bond-yields",
                "inflation-hicp",
                "inflation-core",
                "inflation-index",
                "inflation-breakdown",
                "money-supply",
                "money-supply-stocks",
                "unemployment",
                "gdp-growth",
                "gdp-level"
              ],
              "enumTitles": [
                "Exchange rates — euro reference rates",
                "Policy rates — deposit, refinancing, marginal lending",
                "€STR — euro short-term rate and compounded averages",
                "Euribor — 1, 3, 6 and 12 month",
                "Yield curve — euro area AAA government spot rates",
                "Government bond yields — long-term rate by country",
                "Inflation — HICP headline, annual rate",
                "Inflation — HICP core, excluding energy and food",
                "Inflation — HICP index level",
                "Inflation — HICP by component",
                "Money supply — M1, M2, M3 annual growth",
                "Money supply — M1, M2, M3 outstanding amounts",
                "Unemployment rate",
                "GDP — real growth, quarterly and annual",
                "GDP — real level"
              ]
            },
            "default": [
              "fx-reference-rates"
            ]
          },
          "currencies": {
            "title": "Currencies",
            "type": "array",
            "description": "For the exchange-rate series, one per line. Codes or names both work — USD, dollar, Swiss franc. Rates are always foreign currency per one euro. The ECB publishes 29 live reference rates plus 15 that ended when the country joined the euro or the quotation was suspended.",
            "default": [
              "USD",
              "GBP",
              "JPY",
              "CHF"
            ],
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "For inflation, unemployment, bond yields and GDP, one per line. ISO codes or names — DE, Germany, Italy. Leave empty for the euro area aggregate. Coverage differs per series and the summary row says which requests the ECB answered.",
            "items": {
              "type": "string"
            }
          },
          "rawSeriesKeys": {
            "title": "Raw ECB series keys",
            "type": "array",
            "description": "For anyone who already knows the key. One per line, in the form DATAFLOW.KEY — EXR.D.USD.EUR.SP00.A, or BSI/M.U2.Y.V.M30.X.I.U2.2300.Z01.A. Passed through untouched, including wildcards: an empty segment or USD+GBP+JPY in one position widens the query.",
            "items": {
              "type": "string"
            }
          },
          "startDate": {
            "title": "Start date",
            "type": "string",
            "description": "Earliest period, as YYYY-MM-DD, YYYY-MM, YYYY-Qn or YYYY. The ECB matches it against the series' own period format, so 2020-01-01 works on a monthly series too."
          },
          "endDate": {
            "title": "End date",
            "type": "string",
            "description": "Latest period, same formats. Leave both empty for the whole history."
          },
          "lastNObservations": {
            "title": "Last N observations",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Return only the most recent N points of each series. Applied by the ECB after the date range, so a range plus 90 gives the last 90 periods inside that range, not the first. Clear this to take every period in range — the euro dollar daily rate alone is then about 7 100 rows.",
            "default": 90
          },
          "frequency": {
            "title": "Frequency",
            "enum": [
              "daily",
              "monthly",
              "quarterly",
              "annual"
            ],
            "type": "string",
            "description": "Applies only where the ECB publishes a choice — exchange rates at five frequencies, Euribor at three. Inflation, money supply and unemployment are monthly only and GDP quarterly only; for those this setting is ignored and the summary row says so.",
            "default": "daily"
          },
          "maxObservationsPerSeries": {
            "title": "Maximum observations per series",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Cap per series, keeping the most recent points. The euro/dollar daily rate alone holds about 7 000 observations back to 1999.",
            "default": 5000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}