{
  "openapi": "3.0.1",
  "info": {
    "title": "Economic Calendar API – Fed, ECB, BLS & Eurostat Releases",
    "description": "Economic Calendar API collects upcoming and recent macroeconomic events from official public institutions and returns one normalized calendar. It covers US, UK, euro-area, and EU releases from the Federal Reserve, BLS, BEA, Census Bureau, Treasury, FRED, ECB, Eurostat, ONS, and Bank of England.",
    "version": "0.0",
    "x-build-id": "aaeLAedVQ0WdeoGYg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hypebridge~economic-calendar-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hypebridge-economic-calendar-api",
        "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/hypebridge~economic-calendar-api/runs": {
      "post": {
        "operationId": "runs-sync-hypebridge-economic-calendar-api",
        "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/hypebridge~economic-calendar-api/run-sync": {
      "post": {
        "operationId": "run-sync-hypebridge-economic-calendar-api",
        "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": [
          "dateWindow",
          "maxEvents",
          "proxyConfiguration"
        ],
        "properties": {
          "dateWindow": {
            "title": "Date window",
            "enum": [
              "recent_and_next_90_days",
              "past_30_days",
              "next_30_days",
              "next_90_days",
              "next_12_months",
              "custom"
            ],
            "type": "string",
            "description": "Calendar window to collect across official macro sources.",
            "default": "next_30_days"
          },
          "maxEvents": {
            "title": "Max events",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum normalized events to return across all enabled sources.",
            "default": 50
          },
          "getReleaseValues": {
            "title": "Get release values",
            "type": "boolean",
            "description": "Fetch exact period-matched official metrics from the maintained mapping catalog. BLS mappings currently cover CPI, Employment Situation (payrolls and unemployment), PPI Final Demand, and JOLTS. Calendar events are enriched in place; standalone series are controlled separately.",
            "default": true
          },
          "sources": {
            "title": "Sources",
            "uniqueItems": true,
            "type": "array",
            "description": "Official sources to include.",
            "items": {
              "type": "string",
              "enum": [
                "fred",
                "bls",
                "bea",
                "census",
                "treasury",
                "federal_reserve",
                "ecb",
                "eurostat",
                "ons",
                "bank_of_england"
              ],
              "enumTitles": [
                "FRED",
                "BLS",
                "BEA",
                "Census",
                "Treasury",
                "Federal Reserve",
                "ECB",
                "Eurostat",
                "ONS",
                "Bank of England"
              ]
            },
            "default": [
              "fred",
              "bls",
              "bea",
              "census",
              "treasury",
              "federal_reserve",
              "ecb",
              "eurostat",
              "ons",
              "bank_of_england"
            ]
          },
          "minImportance": {
            "title": "Minimum importance",
            "enum": [
              "all",
              "low",
              "medium",
              "high"
            ],
            "type": "string",
            "description": "Keep all events or require a curated minimum expected market impact before the result cap is applied.",
            "default": "medium"
          },
          "includeObservationSeries": {
            "title": "Include observation series",
            "type": "boolean",
            "description": "Include supported standalone official observation records, such as Treasury yield curves and Fiscal Data, when release values are enabled.",
            "default": false
          },
          "regions": {
            "title": "Regions",
            "uniqueItems": true,
            "type": "array",
            "description": "Region filter used to select sources and normalized records.",
            "items": {
              "type": "string",
              "enum": [
                "us",
                "uk",
                "euro_area",
                "eu"
              ],
              "enumTitles": [
                "United States",
                "United Kingdom",
                "Euro area",
                "European Union"
              ]
            },
            "default": [
              "us",
              "uk",
              "euro_area",
              "eu"
            ]
          },
          "eventTypes": {
            "title": "Event types",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional event-type filter applied after normalization.",
            "items": {
              "type": "string",
              "enum": [
                "data_release",
                "policy_meeting",
                "auction",
                "rates",
                "central_bank_event"
              ],
              "enumTitles": [
                "Data releases",
                "Policy meetings",
                "Auctions",
                "Rates",
                "Central-bank events"
              ]
            },
            "default": [
              "data_release",
              "policy_meeting",
              "auction",
              "rates",
              "central_bank_event"
            ]
          },
          "customStartDate": {
            "title": "Custom start date",
            "type": "string",
            "description": "YYYY-MM-DD start date used only when Date window is Custom."
          },
          "customEndDate": {
            "title": "Custom end date",
            "type": "string",
            "description": "YYYY-MM-DD end date used only when Date window is Custom."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings for supported sources. A residential Apify Proxy connection is used internally where required.",
            "default": {
              "useApifyProxy": true
            }
          },
          "debugMode": {
            "title": "Debug mode",
            "type": "boolean",
            "description": "Store bounded source plans, failed-response excerpts, raw samples, and dedupe decisions for troubleshooting.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}