{
  "openapi": "3.0.1",
  "info": {
    "title": "Economic Calendar & Macro Releases - ForexFactory, Nasdaq, BLS",
    "description": "Economic calendar events and macro releases from four official feeds in one run: the ForexFactory JSON calendar, Nasdaq economic events, BLS time series and ECB press releases. Actual, forecast and previous values, impact level and country, merged and normalised to a single schema.",
    "version": "0.1",
    "x-build-id": "VJuLJjnE15UcQoEgW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automia-admin~economic-calendar-macro-releases/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automia-admin-economic-calendar-macro-releases",
        "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/automia-admin~economic-calendar-macro-releases/runs": {
      "post": {
        "operationId": "runs-sync-automia-admin-economic-calendar-macro-releases",
        "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/automia-admin~economic-calendar-macro-releases/run-sync": {
      "post": {
        "operationId": "run-sync-automia-admin-economic-calendar-macro-releases",
        "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": {
          "includeForexFactory": {
            "title": "Include ForexFactory calendar (current week)",
            "type": "boolean",
            "description": "Pull the official ForexFactory JSON feed for the CURRENT week: event, country/currency, release time, impact rating (High/Medium/Low), forecast and previous. ForexFactory only publishes the current week; use the Nasdaq calendar below for any other date.",
            "default": true
          },
          "impactLevels": {
            "title": "Impact filter (ForexFactory only)",
            "type": "array",
            "description": "Keep only ForexFactory events with these impact levels. Any of: High, Medium, Low, Holiday. Leave empty to keep all. Nasdaq does not carry an impact rating, so this filter does not apply to Nasdaq events.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Country / currency filter",
            "type": "array",
            "description": "Keep only events for these countries or currencies. ForexFactory uses currency codes (USD, EUR, JPY, GBP...); Nasdaq uses country names (United States, Germany...). Leave empty to keep all.",
            "items": {
              "type": "string"
            }
          },
          "includeNasdaqCalendar": {
            "title": "Include Nasdaq economic calendar (any date range)",
            "type": "boolean",
            "description": "Pull the Nasdaq economic events calendar for a date range - this is how you get past releases with actual values and dates beyond the current week. Set the date range below; if left empty it defaults to yesterday through 7 days ahead.",
            "default": false
          },
          "nasdaqDateFrom": {
            "title": "Nasdaq date from (YYYY-MM-DD)",
            "type": "string",
            "description": "Start date for the Nasdaq calendar, e.g. 2026-08-01. Weekends are skipped automatically. Only used when the Nasdaq calendar is enabled."
          },
          "nasdaqDateTo": {
            "title": "Nasdaq date to (YYYY-MM-DD)",
            "type": "string",
            "description": "End date for the Nasdaq calendar, e.g. 2026-08-31. Capped to 92 days from the start date. Only used when the Nasdaq calendar is enabled."
          },
          "includeMacroObservations": {
            "title": "Include BLS macro data points",
            "type": "boolean",
            "description": "Attach the underlying macro value from the US Bureau of Labor Statistics time-series API - the actual number behind events like CPI and the unemployment rate. Defaults to a curated set of series; override with your own series IDs below.",
            "default": true
          },
          "blsSeries": {
            "title": "BLS series IDs",
            "type": "array",
            "description": "US Bureau of Labor Statistics series IDs to pull, e.g. CUUR0000SA0 (CPI) or LNS14000000 (unemployment rate). Leave empty to use a curated default set (CPI, unemployment, nonfarm payrolls, average hourly earnings). Public API, no key required.",
            "items": {
              "type": "string"
            }
          },
          "blsObservations": {
            "title": "BLS observations per series",
            "minimum": 1,
            "maximum": 24,
            "type": "integer",
            "description": "How many recent observations to return per BLS series, newest first.",
            "default": 3
          },
          "includeEcbPress": {
            "title": "Include ECB press releases",
            "type": "boolean",
            "description": "Include the latest European Central Bank press releases, speeches and interviews from the official ECB RSS feed: title, link and publish date.",
            "default": true
          },
          "ecbItems": {
            "title": "ECB items",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of ECB press items to return, newest first.",
            "default": 20
          },
          "useApifyProxy": {
            "title": "Route requests through Apify Proxy",
            "type": "boolean",
            "description": "Off by default: all four feeds answer fine from Apify without a proxy. Turn it on only if you hit rate limits on a very large Nasdaq date range.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}