{
  "openapi": "3.0.1",
  "info": {
    "title": "Official Economic Calendar (BLS, BEA, Fed, Eurostat)",
    "description": "Scheduled release dates and times of US and EU economic indicators, straight from the agencies' own calendars: BLS (CPI, jobs), BEA (GDP, PCE), the Federal Reserve (FOMC, G.17, H.4.1) and Eurostat euro indicators. UTC and local time, period covered.",
    "version": "0.1",
    "x-build-id": "ZgiMruhdhlUd0yety"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/darikami~official-economic-calendar/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-darikami-official-economic-calendar",
        "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/darikami~official-economic-calendar/runs": {
      "post": {
        "operationId": "runs-sync-darikami-official-economic-calendar",
        "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/darikami~official-economic-calendar/run-sync": {
      "post": {
        "operationId": "run-sync-darikami-official-economic-calendar",
        "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",
        "properties": {
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Which agencies' calendars to read. Empty = all four. bls = U.S. Bureau of Labor Statistics (CPI, employment, PPI, JOLTS); bea = U.S. Bureau of Economic Analysis (GDP, personal income and outlays, trade); fed = Federal Reserve Board (FOMC meetings and minutes, Beige Book, statistical releases such as G.17 and H.4.1); eurostat = Eurostat (euro area and EU indicators).",
            "items": {
              "type": "string",
              "enum": [
                "bls",
                "bea",
                "fed",
                "eurostat"
              ],
              "enumTitles": [
                "BLS - Bureau of Labor Statistics (US)",
                "BEA - Bureau of Economic Analysis (US)",
                "Federal Reserve Board (US)",
                "Eurostat (EU)"
              ]
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Keep only sources of these regions. Empty = all. US = BLS, BEA, Federal Reserve; EU = Eurostat.",
            "items": {
              "type": "string",
              "enum": [
                "US",
                "EU"
              ],
              "enumTitles": [
                "United States",
                "European Union / euro area"
              ]
            }
          },
          "dateFrom": {
            "title": "From date",
            "type": "string",
            "description": "First release date (YYYY-MM-DD), in the source's own time zone. Default: today (UTC). Past dates work as far back as each calendar file reaches (BLS, BEA, Eurostat: 2025; Fed: 2017)."
          },
          "dateTo": {
            "title": "To date",
            "type": "string",
            "description": "Last release date (YYYY-MM-DD), inclusive. Default: 30 days after the from date. At most about 3 years per run. Each agency schedules only so far ahead; the run log names how far."
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep only releases whose title contains one of these words (any case), for example \"Consumer Price Index\", \"GDP\", \"FOMC\", \"inflation\". Empty = all releases.",
            "items": {
              "type": "string"
            }
          },
          "eurostatScope": {
            "title": "Eurostat releases",
            "enum": [
              "euroIndicators",
              "allDataReleases"
            ],
            "type": "string",
            "description": "euroIndicators (default) = Eurostat's euro indicator releases (inflation flash, GDP, unemployment, industrial production, retail trade - about 12 a month). allDataReleases = every Eurostat data release (about 60 a month).",
            "default": "euroIndicators"
          },
          "fedDailyReleases": {
            "title": "Fed daily releases",
            "type": "boolean",
            "description": "Off (default) = leave out the Federal Reserve's two daily releases, H.15 Selected Interest Rates and CP Commercial Paper (about 42 rows a month). On = keep them.",
            "default": false
          },
          "maxEvents": {
            "title": "Maximum releases",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "The most releases this run delivers (and charges), the earliest first. Your maximum charge per run also stops the run.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}