{
  "openapi": "3.0.1",
  "info": {
    "title": "Economic Calendar Data Scraper",
    "description": "[💰 $8.0 / 1K] Extract economic calendar events from Investing.com — event name, country, date, time, importance, and actual/forecast/previous values. Filter by countries, importance, categories, and date range.",
    "version": "1.0",
    "x-build-id": "a7RKDWIYQdgJFecdH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidcode~economic-calendar-data-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidcode-economic-calendar-data-scraper",
        "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/solidcode~economic-calendar-data-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidcode-economic-calendar-data-scraper",
        "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/solidcode~economic-calendar-data-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidcode-economic-calendar-data-scraper",
        "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": {
          "countries": {
            "title": "Countries",
            "uniqueItems": true,
            "type": "array",
            "description": "Only include events from these countries. Leave empty to include every country on the calendar.",
            "items": {
              "type": "string",
              "enum": [
                "united states",
                "euro zone",
                "united kingdom",
                "japan",
                "china",
                "germany",
                "france",
                "italy",
                "spain",
                "netherlands",
                "switzerland",
                "canada",
                "australia",
                "new zealand",
                "india",
                "brazil",
                "mexico",
                "south korea",
                "russia",
                "south africa",
                "turkey",
                "singapore",
                "hong kong",
                "indonesia",
                "saudi arabia",
                "norway",
                "sweden",
                "denmark",
                "poland",
                "ireland",
                "portugal",
                "belgium",
                "austria",
                "greece",
                "israel",
                "argentina",
                "chile",
                "colombia",
                "philippines",
                "thailand",
                "malaysia",
                "taiwan",
                "ukraine",
                "egypt",
                "nigeria"
              ],
              "enumTitles": [
                "United States",
                "Euro Zone",
                "United Kingdom",
                "Japan",
                "China",
                "Germany",
                "France",
                "Italy",
                "Spain",
                "Netherlands",
                "Switzerland",
                "Canada",
                "Australia",
                "New Zealand",
                "India",
                "Brazil",
                "Mexico",
                "South Korea",
                "Russia",
                "South Africa",
                "Turkey",
                "Singapore",
                "Hong Kong",
                "Indonesia",
                "Saudi Arabia",
                "Norway",
                "Sweden",
                "Denmark",
                "Poland",
                "Ireland",
                "Portugal",
                "Belgium",
                "Austria",
                "Greece",
                "Israel",
                "Argentina",
                "Chile",
                "Colombia",
                "Philippines",
                "Thailand",
                "Malaysia",
                "Taiwan",
                "Ukraine",
                "Egypt",
                "Nigeria"
              ]
            },
            "default": []
          },
          "importances": {
            "title": "Importance Levels",
            "uniqueItems": true,
            "type": "array",
            "description": "Only include events with these importance levels. Leave empty to include all importance levels.",
            "items": {
              "type": "string",
              "enum": [
                "high",
                "medium",
                "low"
              ],
              "enumTitles": [
                "High impact",
                "Medium impact",
                "Low impact"
              ]
            },
            "default": []
          },
          "categories": {
            "title": "Event Categories",
            "uniqueItems": true,
            "type": "array",
            "description": "Only include events from these categories. Leave empty to include all categories.",
            "items": {
              "type": "string",
              "enum": [
                "credit",
                "economic_activity",
                "central_banks",
                "bonds",
                "inflation",
                "confidence_index",
                "balance",
                "employment"
              ],
              "enumTitles": [
                "Credit",
                "Economic Activity",
                "Central Banks",
                "Bonds",
                "Inflation",
                "Confidence Index",
                "Balance",
                "Employment"
              ]
            },
            "default": []
          },
          "fromDate": {
            "title": "From Date",
            "type": "string",
            "description": "Start of the date range (YYYY-MM-DD). Leave empty to start from today."
          },
          "toDate": {
            "title": "To Date",
            "type": "string",
            "description": "End of the date range (YYYY-MM-DD). Leave empty to use the same day as the start date."
          },
          "timeZone": {
            "title": "Time Zone",
            "enum": [
              "GMT",
              "GMT -12:00",
              "GMT -11:00",
              "GMT -10:00",
              "GMT -09:00",
              "GMT -08:00",
              "GMT -07:00",
              "GMT -06:00",
              "GMT -05:00",
              "GMT -04:00",
              "GMT -03:00",
              "GMT -02:00",
              "GMT -01:00",
              "GMT +01:00",
              "GMT +02:00",
              "GMT +03:00",
              "GMT +04:00",
              "GMT +05:00",
              "GMT +05:30",
              "GMT +06:00",
              "GMT +07:00",
              "GMT +08:00",
              "GMT +09:00",
              "GMT +10:00",
              "GMT +11:00",
              "GMT +12:00",
              "GMT +13:00"
            ],
            "type": "string",
            "description": "Time zone used for event times. Defaults to GMT (UTC) if not set.",
            "default": "GMT"
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of events to return. Set to 0 for no limit (an internal safety ceiling of 100,000 applies to prevent runaway wide-range runs).",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}