{
  "openapi": "3.0.1",
  "info": {
    "title": "Investing.com Economic Calendar Scraper - 107 Countries",
    "description": "Scrape the Investing.com economic calendar: releases, speeches and holidays with actual, forecast, previous and revised values. Optionally add each indicator's description, source and past releases. Export to CSV, JSON, Excel or XML.",
    "version": "0.3",
    "x-build-id": "eHXTFaQZsvO3uHaRD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parseforge~investing-com-economic-calendar-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parseforge-investing-com-economic-calendar-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/parseforge~investing-com-economic-calendar-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parseforge-investing-com-economic-calendar-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/parseforge~investing-com-economic-calendar-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parseforge-investing-com-economic-calendar-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": {
          "timeFrame": {
            "title": "Time frame",
            "enum": [
              "today",
              "tomorrow",
              "thisWeek",
              "nextWeek",
              "custom"
            ],
            "type": "string",
            "description": "Which range of the calendar to scrape. Pick 'Custom date range' to use the two date fields below. The site's week runs Sunday to Saturday.",
            "default": "thisWeek"
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000"
          },
          "dateFrom": {
            "title": "Date from",
            "type": "string",
            "description": "First day to scrape, as YYYY-MM-DD. Used only when the time frame is 'Custom date range'. The archive goes back years (verified to 2020)."
          },
          "dateTo": {
            "title": "Date to",
            "type": "string",
            "description": "Last day to scrape, as YYYY-MM-DD. Used only when the time frame is 'Custom date range'. Defaults to Date from."
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Limit the calendar to these countries. 107 countries are supported; leave empty for all of them.",
            "items": {
              "type": "string",
              "enum": [
                "Albania",
                "Angola",
                "Argentina",
                "Australia",
                "Austria",
                "Azerbaijan",
                "Bahrain",
                "Bangladesh",
                "Belgium",
                "Bermuda",
                "Bosnia-Herzegovina",
                "Botswana",
                "Brazil",
                "Bulgaria",
                "Canada",
                "Cayman Islands",
                "Chile",
                "China",
                "Colombia",
                "Costa Rica",
                "Cote D'Ivoire",
                "Croatia",
                "Cyprus",
                "Czech Republic",
                "Denmark",
                "Ecuador",
                "Egypt",
                "Estonia",
                "Euro Zone",
                "Finland",
                "France",
                "Germany",
                "Ghana",
                "Greece",
                "Hong Kong",
                "Hungary",
                "Iceland",
                "India",
                "Indonesia",
                "Iraq",
                "Ireland",
                "Israel",
                "Italy",
                "Jamaica",
                "Japan",
                "Jordan",
                "Kazakhstan",
                "Kenya",
                "Kuwait",
                "Kyrgyzstan",
                "Latvia",
                "Lebanon",
                "Lithuania",
                "Luxembourg",
                "Malawi",
                "Malaysia",
                "Malta",
                "Mauritius",
                "Mexico",
                "Mongolia",
                "Montenegro",
                "Morocco",
                "Mozambique",
                "Namibia",
                "Netherlands",
                "New Zealand",
                "Nigeria",
                "Norway",
                "Oman",
                "Pakistan",
                "Palestinian Territory",
                "Paraguay",
                "Peru",
                "Philippines",
                "Poland",
                "Portugal",
                "Qatar",
                "Romania",
                "Russia",
                "Rwanda",
                "Saudi Arabia",
                "Serbia",
                "Singapore",
                "Slovakia",
                "Slovenia",
                "South Africa",
                "South Korea",
                "Spain",
                "Sri Lanka",
                "Sweden",
                "Switzerland",
                "Taiwan",
                "Tanzania",
                "Thailand",
                "Tunisia",
                "Türkiye",
                "Uganda",
                "Ukraine",
                "United Arab Emirates",
                "United Kingdom",
                "United States",
                "Uruguay",
                "Uzbekistan",
                "Venezuela",
                "Vietnam",
                "Zambia",
                "Zimbabwe"
              ],
              "enumTitles": [
                "Albania (AL)",
                "Angola (AO)",
                "Argentina (AR)",
                "Australia (AU)",
                "Austria (AT)",
                "Azerbaijan (AZ)",
                "Bahrain (BH)",
                "Bangladesh (BD)",
                "Belgium (BE)",
                "Bermuda (BM)",
                "Bosnia-Herzegovina (BA)",
                "Botswana (BW)",
                "Brazil (BR)",
                "Bulgaria (BG)",
                "Canada (CA)",
                "Cayman Islands (KY)",
                "Chile (CL)",
                "China (CN)",
                "Colombia (CO)",
                "Costa Rica (CR)",
                "Cote D'Ivoire (CI)",
                "Croatia (HR)",
                "Cyprus (CY)",
                "Czech Republic (CZ)",
                "Denmark (DK)",
                "Ecuador (EC)",
                "Egypt (EG)",
                "Estonia (EE)",
                "Euro Zone (EU)",
                "Finland (FI)",
                "France (FR)",
                "Germany (DE)",
                "Ghana (GH)",
                "Greece (GR)",
                "Hong Kong (HK)",
                "Hungary (HU)",
                "Iceland (IS)",
                "India (IN)",
                "Indonesia (ID)",
                "Iraq (IQ)",
                "Ireland (IE)",
                "Israel (IL)",
                "Italy (IT)",
                "Jamaica (JM)",
                "Japan (JP)",
                "Jordan (JO)",
                "Kazakhstan (KZ)",
                "Kenya (KE)",
                "Kuwait (KW)",
                "Kyrgyzstan (KG)",
                "Latvia (LV)",
                "Lebanon (LB)",
                "Lithuania (LT)",
                "Luxembourg (LU)",
                "Malawi (MW)",
                "Malaysia (MY)",
                "Malta (MT)",
                "Mauritius (MU)",
                "Mexico (MX)",
                "Mongolia (MN)",
                "Montenegro (ME)",
                "Morocco (MA)",
                "Mozambique (MZ)",
                "Namibia (NA)",
                "Netherlands (NL)",
                "New Zealand (NZ)",
                "Nigeria (NG)",
                "Norway (NO)",
                "Oman (OM)",
                "Pakistan (PK)",
                "Palestinian Territory (PS)",
                "Paraguay (PY)",
                "Peru (PE)",
                "Philippines (PH)",
                "Poland (PL)",
                "Portugal (PT)",
                "Qatar (QA)",
                "Romania (RO)",
                "Russia (RU)",
                "Rwanda (RW)",
                "Saudi Arabia (SA)",
                "Serbia (RS)",
                "Singapore (SG)",
                "Slovakia (SK)",
                "Slovenia (SI)",
                "South Africa (ZA)",
                "South Korea (KR)",
                "Spain (ES)",
                "Sri Lanka (LK)",
                "Sweden (SE)",
                "Switzerland (CH)",
                "Taiwan (TW)",
                "Tanzania (TZ)",
                "Thailand (TH)",
                "Tunisia (TN)",
                "Türkiye (TR)",
                "Uganda (UG)",
                "Ukraine (UA)",
                "United Arab Emirates (AE)",
                "United Kingdom (GB)",
                "United States (US)",
                "Uruguay (UY)",
                "Uzbekistan (UZ)",
                "Venezuela (VE)",
                "Vietnam (VN)",
                "Zambia (ZM)",
                "Zimbabwe (ZW)"
              ]
            }
          },
          "importance": {
            "title": "Importance",
            "type": "array",
            "description": "Keep only events with these volatility ratings (the one, two or three bullets on the site). Leave empty for all three.",
            "items": {
              "type": "string",
              "enum": [
                "low",
                "moderate",
                "high"
              ],
              "enumTitles": [
                "Low",
                "Moderate",
                "High"
              ]
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Keep only events in these categories. Leave empty for all of them.",
            "items": {
              "type": "string",
              "enum": [
                "central banks",
                "confidence",
                "balance of payments",
                "bonds",
                "credit",
                "economic activity",
                "employment",
                "inflation"
              ],
              "enumTitles": [
                "Central banks",
                "Confidence index",
                "Balance of payments",
                "Bonds",
                "Credit",
                "Economic activity",
                "Employment",
                "Inflation"
              ]
            }
          },
          "includeHolidays": {
            "title": "Include market holidays",
            "type": "boolean",
            "description": "The calendar also lists market holidays. Turn this off to keep only data releases, reports and speeches.",
            "default": true
          },
          "outputTimeZone": {
            "title": "Output time zone",
            "type": "string",
            "description": "IANA time zone used for the dateLocal and timeLocal columns, for example 'America/New_York' or 'Europe/London'.",
            "default": "UTC"
          },
          "includeEventDetails": {
            "title": "Add event description and source",
            "type": "boolean",
            "description": "Adds the official description of the indicator and how to read a higher or lower print, the institution that publishes it, its home page, the event category and the country id.",
            "default": false
          },
          "includeEventHistory": {
            "title": "Add past releases of the same indicator",
            "type": "boolean",
            "description": "Adds previously published values with actual, forecast, previous, revised-from, the reference period and whether the print was preliminary, as numbers rather than display strings.",
            "default": false
          },
          "historyLimit": {
            "title": "How many past releases",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many past releases to keep per indicator when the history block is on. The site holds up to 100, going back years.",
            "default": 12
          },
          "includeClosestReleases": {
            "title": "Add the latest and next release",
            "type": "boolean",
            "description": "Adds the most recent published figure for the indicator and its next scheduled release, already parsed as numbers.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy or your own proxies. Datacenter is the default; the Actor switches to residential on its own if datacenter gets blocked (see below).",
            "default": {
              "useApifyProxy": true
            }
          },
          "residentialFallback": {
            "title": "Fall back to residential IPs",
            "type": "boolean",
            "description": "If a request runs out of clean datacenter IPs, switch the rest of the run to Apify residential proxy. Slower and more expensive, but it finishes the run. Turn off to fail instead.",
            "default": true
          },
          "proxyCountry": {
            "title": "Residential proxy country",
            "type": "string",
            "description": "Two-letter country code for the residential exit node, used only by the fallback above.",
            "default": "US"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}