{
  "data": {
    "id": "46I5WSgnDTPdSK55W",
    "actId": "fCPRkrtpRlE2ekcxC",
    "userId": "zq8lKbpLzTjGDayPC",
    "startedAt": "2026-10-30T20:15:04.117Z",
    "finishedAt": "2026-10-30T20:15:08.828Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "stats": {
      "durationMillis": 4627,
      "runTimeSecs": 4.627,
      "computeUnits": 0.005141111111111111,
      "imageSizeBytes": 332301312
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "GK9YjZRyQZVzOdoH5",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Trading Economics Scraper Input\",\n  \"description\": \"Choose a data surface: live markets, country indicators, global rankings, economic calendar, forecasts, public holidays, earnings, historical series, news, search, credit ratings or bond yields.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"Which Trading Economics surface to collect.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"markets\",\n        \"countryIndicators\",\n        \"indicatorRanking\",\n        \"calendar\",\n        \"countryForecast\",\n        \"holidays\",\n        \"earningsCalendar\",\n        \"indicatorHistory\",\n        \"marketHistory\",\n        \"marketForecast\",\n        \"news\",\n        \"search\",\n        \"creditRatingHistory\",\n        \"bondYields\"\n      ],\n      \"enumTitles\": [\n        \"Markets (commodities / currencies / stocks / bonds / crypto / shares)\",\n        \"Country indicators (GDP, inflation, unemployment...)\",\n        \"Global indicator ranking (one or more indicators, all countries)\",\n        \"Economic calendar (global or per-country)\",\n        \"Country forecast (quarter-ahead projections)\",\n        \"Public holidays (global or per-country)\",\n        \"Earnings calendar (per-country or global)\",\n        \"Indicator history (historical time series)\",\n        \"Market history (historical prices, intraday to max)\",\n        \"Market forecast (commodities / currencies / indices / bonds / crypto)\",\n        \"Economic news (latest stream)\",\n        \"Search indicators and markets\",\n        \"Credit-rating history (S&P / DBRS / TE)\",\n        \"Government bond yields (all maturities)\"\n      ],\n      \"default\": \"markets\",\n      \"prefill\": \"markets\"\n    },\n    \"marketType\": {\n      \"title\": \"Market type (mode=markets)\",\n      \"type\": \"string\",\n      \"description\": \"Which live market table to collect.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"commodities\",\n        \"currencies\",\n        \"stocks\",\n        \"bonds\",\n        \"crypto\",\n        \"shares\"\n      ],\n      \"enumTitles\": [\n        \"Commodities (energy, metals, agricultural...)\",\n        \"Currencies (FX pairs)\",\n        \"Stock market indices\",\n        \"Government bond yields (10Y)\",\n        \"Cryptocurrencies\",\n        \"Shares (top gaining/losing stocks)\"\n      ],\n      \"default\": \"commodities\",\n      \"prefill\": \"commodities\"\n    },\n    \"category\": {\n      \"title\": \"Category / region (mode=markets)\",\n      \"type\": \"string\",\n      \"description\": \"Restrict the market table to one category or region. Commodities use Energy/Metals/Agricultural/Industrial/Livestock/Index/Electricity; currencies, stocks and bonds use Major/Europe/America/Asia/Oceania/Africa; crypto uses Crypto/BTC/ETH; shares use Top Gainers/Top Losers. Leave unset for all rows.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"Energy\",\n        \"Metals\",\n        \"Agricultural\",\n        \"Industrial\",\n        \"Livestock\",\n        \"Index\",\n        \"Electricity\",\n        \"Major\",\n        \"Europe\",\n        \"America\",\n        \"Asia\",\n        \"Oceania\",\n        \"Africa\",\n        \"Crypto\",\n        \"BTC\",\n        \"ETH\",\n        \"Top Gainers\",\n        \"Top Losers\"\n      ],\n      \"enumTitles\": [\n        \"All categories/regions\",\n        \"Energy (commodities)\",\n        \"Metals (commodities)\",\n        \"Agricultural (commodities)\",\n        \"Industrial (commodities)\",\n        \"Livestock (commodities)\",\n        \"Index (commodities)\",\n        \"Electricity (commodities)\",\n        \"Major (currencies/stocks/bonds)\",\n        \"Europe (currencies/stocks/bonds)\",\n        \"America (currencies/stocks/bonds)\",\n        \"Asia (currencies/stocks/bonds)\",\n        \"Oceania (currencies/stocks/bonds)\",\n        \"Africa (currencies/stocks/bonds)\",\n        \"Crypto — USD pairs\",\n        \"BTC pairs\",\n        \"ETH pairs\",\n        \"Top Gainers (shares)\",\n        \"Top Losers (shares)\"\n      ],\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"countries\": {\n      \"title\": \"Countries (multi-select)\",\n      \"type\": \"array\",\n      \"description\": \"One or more countries. Required for countryIndicators, countryForecast, creditRatingHistory and bondYields. Optional for calendar, holidays and earningsCalendar (leave empty for global data).\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"afghanistan\",\n          \"albania\",\n          \"algeria\",\n          \"andorra\",\n          \"angola\",\n          \"antigua-and-barbuda\",\n          \"argentina\",\n          \"armenia\",\n          \"aruba\",\n          \"australia\",\n          \"austria\",\n          \"azerbaijan\",\n          \"bahamas\",\n          \"bahrain\",\n          \"bangladesh\",\n          \"barbados\",\n          \"belarus\",\n          \"belgium\",\n          \"belize\",\n          \"benin\",\n          \"bermuda\",\n          \"bhutan\",\n          \"bolivia\",\n          \"bosnia-and-herzegovina\",\n          \"botswana\",\n          \"brazil\",\n          \"brunei\",\n          \"bulgaria\",\n          \"burkina-faso\",\n          \"burundi\",\n          \"cambodia\",\n          \"cameroon\",\n          \"canada\",\n          \"cape-verde\",\n          \"cayman-islands\",\n          \"central-african-republic\",\n          \"chad\",\n          \"chile\",\n          \"china\",\n          \"colombia\",\n          \"comoros\",\n          \"congo\",\n          \"costa-rica\",\n          \"croatia\",\n          \"cuba\",\n          \"cyprus\",\n          \"czech-republic\",\n          \"denmark\",\n          \"djibouti\",\n          \"dominica\",\n          \"dominican-republic\",\n          \"east-timor\",\n          \"ecuador\",\n          \"egypt\",\n          \"el-salvador\",\n          \"equatorial-guinea\",\n          \"eritrea\",\n          \"estonia\",\n          \"ethiopia\",\n          \"euro-area\",\n          \"faroe-islands\",\n          \"fiji\",\n          \"finland\",\n          \"france\",\n          \"gabon\",\n          \"gambia\",\n          \"georgia\",\n          \"germany\",\n          \"ghana\",\n          \"greece\",\n          \"grenada\",\n          \"guatemala\",\n          \"guinea\",\n          \"guinea-bissau\",\n          \"guyana\",\n          \"haiti\",\n          \"honduras\",\n          \"hong-kong\",\n          \"hungary\",\n          \"iceland\",\n          \"india\",\n          \"indonesia\",\n          \"iran\",\n          \"iraq\",\n          \"ireland\",\n          \"isle-of-man\",\n          \"israel\",\n          \"italy\",\n          \"ivory-coast\",\n          \"jamaica\",\n          \"japan\",\n          \"jordan\",\n          \"kazakhstan\",\n          \"kenya\",\n          \"kiribati\",\n          \"kosovo\",\n          \"kuwait\",\n          \"kyrgyzstan\",\n          \"laos\",\n          \"latvia\",\n          \"lebanon\",\n          \"lesotho\",\n          \"liberia\",\n          \"libya\",\n          \"liechtenstein\",\n          \"lithuania\",\n          \"luxembourg\",\n          \"macau\",\n          \"macedonia\",\n          \"madagascar\",\n          \"malawi\",\n          \"malaysia\",\n          \"maldives\",\n          \"mali\",\n          \"malta\",\n          \"mauritania\",\n          \"mauritius\",\n          \"mexico\",\n          \"moldova\",\n          \"monaco\",\n          \"mongolia\",\n          \"montenegro\",\n          \"morocco\",\n          \"mozambique\",\n          \"myanmar\",\n          \"namibia\",\n          \"nepal\",\n          \"netherlands\",\n          \"new-caledonia\",\n          \"new-zealand\",\n          \"nicaragua\",\n          \"niger\",\n          \"nigeria\",\n          \"north-korea\",\n          \"norway\",\n          \"oman\",\n          \"pakistan\",\n          \"palestine\",\n          \"panama\",\n          \"papua-new-guinea\",\n          \"paraguay\",\n          \"peru\",\n          \"philippines\",\n          \"poland\",\n          \"portugal\",\n          \"puerto-rico\",\n          \"qatar\",\n          \"republic-of-the-congo\",\n          \"romania\",\n          \"russia\",\n          \"rwanda\",\n          \"samoa\",\n          \"sao-tome-and-principe\",\n          \"saudi-arabia\",\n          \"senegal\",\n          \"serbia\",\n          \"seychelles\",\n          \"sierra-leone\",\n          \"singapore\",\n          \"slovakia\",\n          \"slovenia\",\n          \"solomon-islands\",\n          \"somalia\",\n          \"south-africa\",\n          \"south-korea\",\n          \"south-sudan\",\n          \"spain\",\n          \"sri-lanka\",\n          \"sudan\",\n          \"suriname\",\n          \"swaziland\",\n          \"sweden\",\n          \"switzerland\",\n          \"syria\",\n          \"taiwan\",\n          \"tajikistan\",\n          \"tanzania\",\n          \"thailand\",\n          \"togo\",\n          \"tonga\",\n          \"trinidad-and-tobago\",\n          \"tunisia\",\n          \"turkey\",\n          \"turkmenistan\",\n          \"uganda\",\n          \"ukraine\",\n          \"united-arab-emirates\",\n          \"united-kingdom\",\n          \"united-states\",\n          \"uruguay\",\n          \"uzbekistan\",\n          \"vanuatu\",\n          \"venezuela\",\n          \"vietnam\",\n          \"yemen\",\n          \"zambia\",\n          \"zimbabwe\"\n        ]\n      },\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"indicatorCategory\": {\n      \"title\": \"Indicator category (mode=countryIndicators, countryForecast)\",\n      \"type\": \"string\",\n      \"description\": \"Restrict country indicators or forecasts to one category. `markets` only appears on the forecast page and `health` only on the indicators page. Leave unset for all categories.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"overview\",\n        \"gdp\",\n        \"labour\",\n        \"prices\",\n        \"money\",\n        \"trade\",\n        \"government\",\n        \"business\",\n        \"consumer\",\n        \"housing\",\n        \"energy\",\n        \"health\",\n        \"markets\"\n      ],\n      \"enumTitles\": [\n        \"All categories\",\n        \"Overview\",\n        \"GDP\",\n        \"Labour\",\n        \"Prices\",\n        \"Money\",\n        \"Trade\",\n        \"Government\",\n        \"Business\",\n        \"Consumer\",\n        \"Housing\",\n        \"Energy\",\n        \"Health (country indicators)\",\n        \"Markets (country forecast)\"\n      ],\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"rankingIndicators\": {\n      \"title\": \"Ranking indicators (mode=indicatorRanking)\",\n      \"type\": \"array\",\n      \"description\": \"One or more indicators to rank across every country. The `rating` indicator returns sovereign credit ratings instead of a numeric series.\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"interest-rate\",\n          \"inflation-rate\",\n          \"unemployment-rate\",\n          \"gdp-growth-rate\",\n          \"gdp-per-capita\",\n          \"current-account-to-gdp\",\n          \"gold-reserves\",\n          \"government-debt-to-gdp\",\n          \"crude-oil-production\",\n          \"gasoline-prices\",\n          \"rating\",\n          \"asylum-applications\",\n          \"average-annual-wages\",\n          \"balance-of-trade\",\n          \"bank-lending-rate\",\n          \"bankruptcies\",\n          \"banks-balance-sheet\",\n          \"building-permits\",\n          \"business-confidence\",\n          \"capacity-utilization\",\n          \"capital-flows\",\n          \"car-production\",\n          \"car-registrations\",\n          \"cash-reserve-ratio\",\n          \"cement-production\",\n          \"central-bank-balance-sheet\",\n          \"changes-in-inventories\",\n          \"co2-emissions\",\n          \"construction-output\",\n          \"consumer-confidence\",\n          \"consumer-credit\",\n          \"consumer-price-index-cpi\",\n          \"consumer-spending\",\n          \"core-consumer-prices\",\n          \"core-inflation-rate\",\n          \"corporate-profits\",\n          \"corporate-tax-rate\",\n          \"corruption-index\",\n          \"corruption-rank\",\n          \"cpi-housing-utilities\",\n          \"crude-oil-rigs\",\n          \"current-account\",\n          \"deposit-interest-rate\",\n          \"disposable-personal-income\",\n          \"electric-car-registrations\",\n          \"electricity-production\",\n          \"employed-persons\",\n          \"employment-change\",\n          \"employment-change-yoy\",\n          \"employment-rate\",\n          \"export-prices\",\n          \"exports\",\n          \"external-debt\",\n          \"factory-orders\",\n          \"fiscal-expenditure\",\n          \"food-inflation\",\n          \"foreign-direct-investment\",\n          \"foreign-exchange-reserves\",\n          \"full-time-employment\",\n          \"full-year-gdp-growth\",\n          \"gdp\",\n          \"gdp-annual-growth-rate\",\n          \"gdp-constant-prices\",\n          \"gdp-deflator\",\n          \"gdp-from-agriculture\",\n          \"gdp-from-construction\",\n          \"gdp-from-manufacturing\",\n          \"gdp-from-mining\",\n          \"gdp-from-public-administration\",\n          \"gdp-from-services\",\n          \"gdp-from-transport\",\n          \"gdp-from-utilities\",\n          \"gdp-per-capita-ppp\",\n          \"government-budget\",\n          \"government-budget-value\",\n          \"government-debt\",\n          \"government-revenues\",\n          \"government-spending\",\n          \"government-spending-to-gdp\",\n          \"gross-average-monthly-wages\",\n          \"gross-fixed-capital-formation\",\n          \"gross-national-product\",\n          \"harmonised-consumer-prices\",\n          \"harmonised-inflation-rate-mom\",\n          \"harmonised-inflation-rate-yoy\",\n          \"home-ownership-rate\",\n          \"hospital-beds\",\n          \"hospitals\",\n          \"households-debt-to-gdp\",\n          \"households-debt-to-income\",\n          \"housing-index\",\n          \"housing-starts\",\n          \"icu-beds\",\n          \"import-prices\",\n          \"imports\",\n          \"industrial-production\",\n          \"industrial-production-mom\",\n          \"inflation-expectations\",\n          \"inflation-rate-mom\",\n          \"initial-jobless-claims\",\n          \"interbank-rate\",\n          \"job-vacancies\",\n          \"labor-force-participation-rate\",\n          \"labour-costs\",\n          \"leading-economic-index\",\n          \"lending-rate\",\n          \"loan-growth\",\n          \"loans-to-private-sector\",\n          \"long-term-unemployment-rate\",\n          \"manufacturing-production\",\n          \"medical-doctors\",\n          \"military-expenditure\",\n          \"minimum-wages\",\n          \"mining-production\",\n          \"money-supply-m0\",\n          \"money-supply-m1\",\n          \"money-supply-m2\",\n          \"money-supply-m3\",\n          \"natural-gas-stocks-capacity\",\n          \"natural-gas-stocks-injection\",\n          \"natural-gas-stocks-inventory\",\n          \"natural-gas-stocks-withdrawal\",\n          \"new-orders\",\n          \"non-farm-payrolls\",\n          \"nurses\",\n          \"part-time-employment\",\n          \"personal-income-tax-rate\",\n          \"personal-savings\",\n          \"personal-spending\",\n          \"population\",\n          \"precipitation\",\n          \"price-to-rent-ratio\",\n          \"private-debt-to-gdp\",\n          \"private-sector-credit\",\n          \"producer-price-inflation-mom\",\n          \"producer-prices\",\n          \"producer-prices-change\",\n          \"productivity\",\n          \"remittances\",\n          \"residential-property-prices\",\n          \"retail-sales-mom\",\n          \"retail-sales-yoy\",\n          \"retirement-age-men\",\n          \"retirement-age-women\",\n          \"sales-tax-rate\",\n          \"small-business-sentiment\",\n          \"social-security-rate\",\n          \"social-security-rate-for-companies\",\n          \"social-security-rate-for-employees\",\n          \"steel-production\",\n          \"temperature\",\n          \"terms-of-trade\",\n          \"terrorism-index\",\n          \"total-vehicle-sales\",\n          \"tourism-revenues\",\n          \"tourist-arrivals\",\n          \"unemployed-persons\",\n          \"wage-growth\",\n          \"wages\",\n          \"wages-in-manufacturing\",\n          \"weapons-sales\",\n          \"youth-unemployment-rate\",\n          \"zew-economic-sentiment-index\"\n        ]\n      },\n      \"default\": [\n        \"interest-rate\"\n      ],\n      \"prefill\": [\n        \"interest-rate\"\n      ]\n    },\n    \"indicatorHistoryUrls\": {\n      \"title\": \"Indicator pages (mode=indicatorHistory)\",\n      \"type\": \"array\",\n      \"description\": \"Trading Economics indicator pages as full URLs or `country/indicator-slug`, e.g. `united-states/inflation-cpi` or `https://tradingeconomics.com/germany/unemployment-rate`. Up to 100 pages.\",\n      \"editor\": \"stringList\",\n      \"items\": {\n        \"type\": \"string\"\n      },\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"marketSymbols\": {\n      \"title\": \"Market symbols or pages (mode=marketHistory)\",\n      \"type\": \"array\",\n      \"description\": \"Symbols such as `CL1:COM`, `AAPL:US`, `USGG10YR:IND` or full Trading Economics market URLs. Up to 100 symbols.\",\n      \"editor\": \"stringList\",\n      \"items\": {\n        \"type\": \"string\"\n      },\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"forecastAssetClass\": {\n      \"title\": \"Forecast asset class (mode=marketForecast)\",\n      \"type\": \"string\",\n      \"description\": \"Which public forecast table to collect.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"commodity\",\n        \"currency\",\n        \"crypto\",\n        \"stockMarket\",\n        \"governmentBond10Y\"\n      ],\n      \"enumTitles\": [\n        \"Commodities\",\n        \"Currencies\",\n        \"Cryptocurrencies\",\n        \"Stock market indices\",\n        \"Government bonds (10Y)\"\n      ],\n      \"default\": \"commodity\",\n      \"prefill\": \"commodity\"\n    },\n    \"searchQuery\": {\n      \"title\": \"Search query (mode=search)\",\n      \"type\": \"string\",\n      \"description\": \"Keyword used to resolve indicators and markets, e.g. `gold`, `inflation`, `EURUSD`. Required for mode=search.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"gold\"\n    },\n    \"historySpan\": {\n      \"title\": \"History span (history modes)\",\n      \"type\": \"string\",\n      \"description\": \"How far back to fetch historical series. `max` returns the full available history.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"1m\",\n        \"3m\",\n        \"6m\",\n        \"1y\",\n        \"2y\",\n        \"5y\",\n        \"10y\",\n        \"max\"\n      ],\n      \"enumTitles\": [\n        \"1 month\",\n        \"3 months\",\n        \"6 months\",\n        \"1 year\",\n        \"2 years\",\n        \"5 years\",\n        \"10 years\",\n        \"Maximum available\"\n      ],\n      \"default\": \"5y\",\n      \"prefill\": \"1y\"\n    },\n    \"marketInterval\": {\n      \"title\": \"Market interval (mode=marketHistory)\",\n      \"type\": \"string\",\n      \"description\": \"Intraday or daily interval for market history. Leave on `auto` to use the span's natural frequency.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"auto\",\n        \"1m\",\n        \"5m\",\n        \"15m\",\n        \"30m\",\n        \"1h\",\n        \"1d\",\n        \"1w\",\n        \"1M\"\n      ],\n      \"enumTitles\": [\n        \"Automatic\",\n        \"1 minute\",\n        \"5 minutes\",\n        \"15 minutes\",\n        \"30 minutes\",\n        \"1 hour\",\n        \"1 day\",\n        \"1 week\",\n        \"1 month\"\n      ],\n      \"default\": \"auto\",\n      \"prefill\": \"auto\"\n    },\n    \"searchKeyword\": {\n      \"title\": \"Keyword filter\",\n      \"type\": \"string\",\n      \"description\": \"Case-insensitive substring filter on the record name/title (instrument, indicator, event, company or news headline). Leave blank for no filtering.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"minChangePercent\": {\n      \"title\": \"Min daily % change (mode=markets)\",\n      \"type\": \"number\",\n      \"description\": \"Only keep instruments whose daily percent change is at least this value. Enter -5 for -5%.\",\n      \"minimum\": -1000,\n      \"maximum\": 1000\n    },\n    \"maxChangePercent\": {\n      \"title\": \"Max daily % change (mode=markets)\",\n      \"type\": \"number\",\n      \"description\": \"Only keep instruments whose daily percent change is at most this value.\",\n      \"minimum\": -1000,\n      \"maximum\": 1000\n    },\n    \"dateFrom\": {\n      \"title\": \"Date from\",\n      \"type\": \"string\",\n      \"description\": \"ISO date (YYYY-MM-DD). Lower bound for calendar, holidays, earnings, credit-rating history, bond yields and history points. For calendar this fetches the requested range, not just the default page.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"dateTo\": {\n      \"title\": \"Date to\",\n      \"type\": \"string\",\n      \"description\": \"ISO date (YYYY-MM-DD). Upper bound for the same date-aware modes.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"importance\": {\n      \"title\": \"Importance (calendar, earnings, news)\",\n      \"type\": \"string\",\n      \"description\": \"Keep only releases/news at this market-impact level. Leave unset for all levels.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"low\",\n        \"medium\",\n        \"high\"\n      ],\n      \"enumTitles\": [\n        \"All levels\",\n        \"Low\",\n        \"Medium\",\n        \"High\"\n      ],\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted records. History modes cap the total number of points across all requested series.\",\n      \"minimum\": 1,\n      \"maximum\": 10000,\n      \"default\": 100,\n      \"prefill\": 3\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Trading Economics Markets, Indicators & Calendar Scraper\n\nTrading Economics publishes live market quotes, macro indicators, forecasts, release calendars and financial news for nearly every country. This actor turns those public pages into clean JSON: live quotes, country indicators, global rankings, economic calendar events with actual/consensus/revision values, quarterly forecasts, holidays, earnings, long historical series, market forecasts, news, keyword search, credit-rating history and full government-bond curves.\n\n## What this actor does\n\n- **14 modes:** `markets`, `countryIndicators`, `indicatorRanking`, `calendar`, `countryForecast`, `holidays`, `earningsCalendar`, `indicatorHistory`, `marketHistory`, `marketForecast`, `news`, `search`, `creditRatingHistory`, `bondYields`\n- **Multi-country and multi-indicator:** pass several countries, ranking indicators or symbols in one run; the item cap is spread round-robin so each requested target is represented\n- **Long history:** economic indicators and market prices from one month to the full available history, including intraday intervals\n- **Calendar precision:** numeric actual/previous/consensus/forecast values, revision markers and a derived surprise when the units match\n- **Everything else:** global rankings, quarter-ahead country projections, public holidays, global or per-country earnings, news stream, symbol search, rating histories and every bond maturity\n- **Empty fields are omitted** — no nulls, empty strings or placeholder values anywhere in the output\n\n## Services and data covered\n\n| Service | What you get |\n|---|---|\n| Markets | Commodities, FX pairs, stock indices, 10Y bond yields, crypto and top-moving shares |\n| Macro indicators | GDP, labour, prices, money, trade, government, business, consumer, housing, energy and health tables by country |\n| Global rankings | Any of 163 indicator slugs ranked across all reporting countries, including sovereign credit ratings |\n| Economic calendar | Global or filtered by country with the requested date range fetched directly |\n| Forecasts | Quarter-ahead country projections and public commodity/currency/crypto/index/bond forecasts |\n| Holidays and earnings | Public/bank holidays and corporate EPS/revenue release calendars |\n| News and search | Latest economic/market news stream and a keyword resolver for indicators and instruments |\n| History and bonds | Indicator and market time series plus 15 government-bond maturities per country |\n\n## How it works\n\nThe actor reads the same public, no-login pages a browser sees: market tables, country pages, rankings, calendars, forecasts, holiday lists, earnings tables, rating pages, bond pages, news and search results. Historical series come from the public chart data behind each indicator or market page. It expands a requested date range into short windows so the calendar does not stop at the page's display ceiling, removes duplicate records, and stops at `maxItems` or when the source runs out. When several countries, indicators or symbols are requested, records are emitted round-robin so one large target cannot consume the whole cap; history points are newest-first. No account, API key, cookie or proxy setup is required.\n\n## Output\n\nEvery record carries `recordType` and `scrapedAt`. Fields below are the complete contract; a field is omitted when the source does not provide it.\n\n### `market`\n`name`, `marketType`, `category`, `maturity` (bonds), `unit`, `symbol`, `last`, `change`, `changePercent`, `weekly`, `monthly`, `ytd`, `yoy`, `marketCap`, `referenceDate`, `country`, `sourceUrl`.\n\n### `countryIndicator`\n`indicatorName`, `country`, `category`, `last`, `previous`, `highest`, `lowest`, `unit`, `referenceDate`, `sourceUrl`.\n\n### `indicatorRanking`\n`indicator`, `indicatorName`, `country`, `last`, `previous`, `referenceDate`, `unit`, `nextRelease`, `sourceUrl`. For `indicator=rating`: `spRating`, `dbrsRating`, `teScore`, `ratingDescription` (Moody's is not published publicly and is therefore omitted).\n\n### `calendarEvent`\n`eventId`, `event`, `country`, `countryCode`, `category`, `symbol`, `importance`, `date`, `time`, `referencePeriod`, `actual`, `previous`, `consensus`, `forecast`, `actualValue`, `previousValue`, `consensusValue`, `forecastValue`, `previousRevisedFrom`, `surprise`, `surpriseDirection`, `sourceUrl`.\n\n### `countryForecast`\n`indicatorName`, `country`, `category`, `unit`, `actual`, `forecasts[]` (`period`, `value`), `sourceUrl`.\n\n### `holiday`\n`date`, `country`, `countryCode`, `holidayName`, `sourceUrl`.\n\n### `earnings`\n`company`, `symbol`, `country`, `countryCode`, `date`, `epsActual`, `epsConsensus`, `epsPrevious`, `revenueActual`, `revenueConsensus`, `revenuePrevious`, `marketCap`, `fiscalPeriod`, `time`, `importance`, `sourceUrl`.\n\n### `indicatorHistoryPoint`\n`country`, `indicatorName`, `indicatorSlug`, `seriesSymbol`, `category`, `unit`, `frequency`, `source`, `date`, `timestamp`, `value`, `sourceUrl`.\n\n### `marketHistoryPoint`\n`symbol`, `name`, `date`, `timestamp`, `value`, `change`, `changePercent`, `interval`, `sourceUrl`.\n\n### `marketForecast`\n`name`, `assetClass`, `group`, `price`, `signal`, `forecasts[]` (`period`, `value`), `sourceUrl`.\n\n### `news`\n`newsId`, `title`, `description`, `url`, `author`, `country`, `category`, `importance`, `publishedAt`, `expiresAt`, `image`, `sourceUrl`.\n\n### `searchResult`\n`title`, `url`, `resultType`, `group`, `category`, `country`, `frequency`, `unit`, `sourceUrl`.\n\n### `creditRatingEvent`\n`country`, `agency`, `rating`, `outlook`, `date`, `sourceUrl`.\n\n### `bondYield`\n`country`, `name`, `maturity`, `yield`, `dailyChange`, `monthlyChange`, `yearlyChange`, `date`, `sourceUrl`.\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `markets` | One of the 14 modes listed above |\n| `marketType` | string | `commodities` | mode=markets: `commodities` / `currencies` / `stocks` / `bonds` / `crypto` / `shares` |\n| `category` | string | – | mode=markets: category or region filter |\n| `countries` | array | `[]` | Countries for countryIndicators, countryForecast, creditRatingHistory and bondYields (required there); optional for calendar, holidays and earningsCalendar |\n| `indicatorCategory` | string | – | mode=countryIndicators / countryForecast: one macro category |\n| `rankingIndicators` | array | `[\"interest-rate\"]` | mode=indicatorRanking: one or more indicator slugs |\n| `indicatorHistoryUrls` | array | `[]` | mode=indicatorHistory: TE indicator URLs or `country/indicator-slug` |\n| `marketSymbols` | array | `[]` | mode=marketHistory: symbols such as `CL1:COM`, `AAPL:US` or TE market URLs |\n| `forecastAssetClass` | string | `commodity` | mode=marketForecast: `commodity` / `currency` / `crypto` / `stockMarket` / `governmentBond10Y` |\n| `searchQuery` | string | – | mode=search: keyword to resolve, e.g. `gold` |\n| `historySpan` | string | `5y` | history modes: `1m` … `10y`, `max` |\n| `marketInterval` | string | `auto` | mode=marketHistory: `1m` … `1M` or `auto` |\n| `searchKeyword` | string | – | Case-insensitive filter on the record name/title |\n| `minChangePercent` | number | – | mode=markets: minimum daily % change |\n| `maxChangePercent` | number | – | mode=markets: maximum daily % change |\n| `dateFrom` | string | – | ISO date lower bound for date-aware modes |\n| `dateTo` | string | – | ISO date upper bound for date-aware modes |\n| `importance` | string | – | calendar / earnings / news: `low` / `medium` / `high` |\n| `maxItems` | integer | `100` | Hard cap on emitted records (1–10,000); shared round-robin across requested countries/indicators/symbols |\n\n### Example: live energy commodities\n\n```json\n{\n  \"mode\": \"markets\",\n  \"marketType\": \"commodities\",\n  \"category\": \"Energy\",\n  \"maxItems\": 50\n}\n```\n\n### Example: prices indicators for three countries\n\n```json\n{\n  \"mode\": \"countryIndicators\",\n  \"countries\": [\"united-states\", \"germany\", \"japan\"],\n  \"indicatorCategory\": \"prices\",\n  \"maxItems\": 100\n}\n```\n\n### Example: US CPI history, full available series\n\n```json\n{\n  \"mode\": \"indicatorHistory\",\n  \"indicatorHistoryUrls\": [\"united-states/inflation-cpi\"],\n  \"historySpan\": \"max\",\n  \"maxItems\": 2000\n}\n```\n\n### Example: high-impact calendar for one week\n\n```json\n{\n  \"mode\": \"calendar\",\n  \"dateFrom\": \"2026-11-02\",\n  \"dateTo\": \"2026-11-08\",\n  \"importance\": \"high\",\n  \"maxItems\": 100\n}\n```\n\n### Example: intraday crude-oil prices\n\n```json\n{\n  \"mode\": \"marketHistory\",\n  \"marketSymbols\": [\"CL1:COM\"],\n  \"historySpan\": \"1d\",\n  \"marketInterval\": \"5m\",\n  \"maxItems\": 500\n}\n```\n\n## Use cases\n\n- **Trading and macro desks** — pull quotes, curves and calendar events into a research pipeline\n- **Cross-country comparison** — rank every country by rates, inflation, debt or credit rating\n- **Historical research** — export multi-decade indicator series without an API subscription\n- **Fintech dashboards** — feed live markets, forecasts and bond curves into a client product\n- **Event monitoring** — watch high-impact releases and news for market-moving surprises\n- **Journalism and academia** — bulk-export macro data with source links and timestamps\n\n## Usage cost\n\nApify bills this actor per result (one dataset item = one record). Market snapshots and rankings are small runs; history modes can emit thousands of points, so set `maxItems` to the number of points you actually need. The daily prefill is intentionally the smallest run with output.\n\n## FAQ\n\n**Is an API key or login required?** No. The actor reads public Trading Economics pages and chart data, and works with no account, cookie or proxy setup.\n\n**Is this affiliated with Trading Economics?** No. It is an independent third-party actor that reads the same public pages a browser would see.\n\n**How fresh is the data?** Market quotes are delayed intraday values, not tick-level real-time data. Indicators and calendar events update when Trading Economics republishes a release.\n\n**Why is `moodysRating` missing from credit ratings?** Moody's ratings are not published on the public rating pages. The actor never fabricates them; S&P, DBRS and the Trading Economics score are returned instead.\n\n**What is `teScore` and `ratingDescription`?** `teScore` is Trading Economics' 0–100 sovereign score. `ratingDescription` maps that score to the published grade band, such as Prime, High grade or Non-investment grade.\n\n**How does the calendar surprise work?** `surprise` is actual minus consensus (or the published forecast when consensus is absent), emitted only when both values use the same currency, scale and unit. `surpriseDirection` is `above`, `below` or `inline`.\n\n**Why do some calendar events lack values?** A future release has no actual yet, and some agencies publish only a previous value. Missing fields are omitted rather than filled with zero.\n\n**Why do index and bond market forecasts show only a few rows?** Trading Economics publishes the Major group publicly; further regional index and bond forecast tables are subscription-only. Commodity, currency and crypto forecasts are public in full.\n\n**Can I request more than one country or indicator?** Yes. Use the `countries`, `rankingIndicators` and history/market arrays. The actor fetches each target and emits round-robin, so a cap of 30 with three indicators returns about ten rows per indicator instead of thirty from the first one. Raise `maxItems` if you need every row from every target.\n\n**Why does a history run stop before my `maxItems`?** The source itself has no more observations for that series or span, or the remaining targets produced nothing. The actor reports this rather than padding the dataset. History points are emitted newest-first so a capped run keeps the most recent observations.\n\n## Notes\n\n- Dates are ISO `YYYY-MM-DD`; `timestamp` is epoch seconds when the source provides one.\n- Percent fields are whole percent values (for example `2.5` means 2.5%).\n- `revenueActual`, `marketCap` and similar scaled figures keep their source suffix (`B`, `M`, `T`) because the scale can vary by company.\n- Records are deduplicated by their natural key, so paginated calendar or news runs do not repeat rows.\n- Multi-target runs make one request per requested country/indicator/symbol; `maxItems` is shared round-robin, so each target is represented before any gets a second row.\n- Older saved tasks that still send `country` or `indicator` keep working; those values are mapped onto `countries` and `rankingIndicators` automatically.\n\n## Limitations\n\n- **Moody's ratings** are not in the public data and are never emitted.\n- **Regional index and bond forecasts** beyond the Major group are paywalled by the source.\n- **Calendar rendering** is capped by the source at roughly 2,000 rows per page; the actor splits long date ranges into short windows to stay under the cap.\n- **News** is available 100 items per request and has no server-side country filter; the actor paginates and filters client-side.\n- **Search** returns the site's fixed embedded hit set for a query rather than an open-ended index.\n- **Market tables** have source-side row caps that vary by market type; use category runs for the deepest coverage.\n- **Some symbols have no public chart history.** Certain futures contracts and less-covered instruments return an empty chart payload. The actor names the symbol in its status message and continues with the rest of the request.\n- **Company financial statements** are not available on the public pages; only the earnings calendar fields are returned.\n- **Small or low-coverage economies** may have no forecast, rating history or bond curve; those runs return the countries that do have data and leave the rest empty.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "trading-economics-market-indicator-and-calendar",
      "title": "Trading Economics Markets, Indicators & Calendar Scraper",
      "description": "Collect live commodity, currency, index, bond and crypto quotes, country economic indicators, historical series, forecasts, economic calendar events, news, credit ratings and government bond yields from Trading Economics.",
      "version": "1.1",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Trading Economics Markets, Indicators & Calendar Scraper\n\nTrading Economics publishes live market quotes, macro indicators, forecasts, release calendars and financial news for nearly every country. This actor turns those public pages into clean JSON: live quotes, country indicators, global rankings, economic calendar events with actual/consensus/revision values, quarterly forecasts, holidays, earnings, long historical series, market forecasts, news, keyword search, credit-rating history and full government-bond curves.\n\n## What this actor does\n\n- **14 modes:** `markets`, `countryIndicators`, `indicatorRanking`, `calendar`, `countryForecast`, `holidays`, `earningsCalendar`, `indicatorHistory`, `marketHistory`, `marketForecast`, `news`, `search`, `creditRatingHistory`, `bondYields`\n- **Multi-country and multi-indicator:** pass several countries, ranking indicators or symbols in one run; the item cap is spread round-robin so each requested target is represented\n- **Long history:** economic indicators and market prices from one month to the full available history, including intraday intervals\n- **Calendar precision:** numeric actual/previous/consensus/forecast values, revision markers and a derived surprise when the units match\n- **Everything else:** global rankings, quarter-ahead country projections, public holidays, global or per-country earnings, news stream, symbol search, rating histories and every bond maturity\n- **Empty fields are omitted** — no nulls, empty strings or placeholder values anywhere in the output\n\n## Services and data covered\n\n| Service | What you get |\n|---|---|\n| Markets | Commodities, FX pairs, stock indices, 10Y bond yields, crypto and top-moving shares |\n| Macro indicators | GDP, labour, prices, money, trade, government, business, consumer, housing, energy and health tables by country |\n| Global rankings | Any of 163 indicator slugs ranked across all reporting countries, including sovereign credit ratings |\n| Economic calendar | Global or filtered by country with the requested date range fetched directly |\n| Forecasts | Quarter-ahead country projections and public commodity/currency/crypto/index/bond forecasts |\n| Holidays and earnings | Public/bank holidays and corporate EPS/revenue release calendars |\n| News and search | Latest economic/market news stream and a keyword resolver for indicators and instruments |\n| History and bonds | Indicator and market time series plus 15 government-bond maturities per country |\n\n## How it works\n\nThe actor reads the same public, no-login pages a browser sees: market tables, country pages, rankings, calendars, forecasts, holiday lists, earnings tables, rating pages, bond pages, news and search results. Historical series come from the public chart data behind each indicator or market page. It expands a requested date range into short windows so the calendar does not stop at the page's display ceiling, removes duplicate records, and stops at `maxItems` or when the source runs out. When several countries, indicators or symbols are requested, records are emitted round-robin so one large target cannot consume the whole cap; history points are newest-first. No account, API key, cookie or proxy setup is required.\n\n## Output\n\nEvery record carries `recordType` and `scrapedAt`. Fields below are the complete contract; a field is omitted when the source does not provide it.\n\n### `market`\n`name`, `marketType`, `category`, `maturity` (bonds), `unit`, `symbol`, `last`, `change`, `changePercent`, `weekly`, `monthly`, `ytd`, `yoy`, `marketCap`, `referenceDate`, `country`, `sourceUrl`.\n\n### `countryIndicator`\n`indicatorName`, `country`, `category`, `last`, `previous`, `highest`, `lowest`, `unit`, `referenceDate`, `sourceUrl`.\n\n### `indicatorRanking`\n`indicator`, `indicatorName`, `country`, `last`, `previous`, `referenceDate`, `unit`, `nextRelease`, `sourceUrl`. For `indicator=rating`: `spRating`, `dbrsRating`, `teScore`, `ratingDescription` (Moody's is not published publicly and is therefore omitted).\n\n### `calendarEvent`\n`eventId`, `event`, `country`, `countryCode`, `category`, `symbol`, `importance`, `date`, `time`, `referencePeriod`, `actual`, `previous`, `consensus`, `forecast`, `actualValue`, `previousValue`, `consensusValue`, `forecastValue`, `previousRevisedFrom`, `surprise`, `surpriseDirection`, `sourceUrl`.\n\n### `countryForecast`\n`indicatorName`, `country`, `category`, `unit`, `actual`, `forecasts[]` (`period`, `value`), `sourceUrl`.\n\n### `holiday`\n`date`, `country`, `countryCode`, `holidayName`, `sourceUrl`.\n\n### `earnings`\n`company`, `symbol`, `country`, `countryCode`, `date`, `epsActual`, `epsConsensus`, `epsPrevious`, `revenueActual`, `revenueConsensus`, `revenuePrevious`, `marketCap`, `fiscalPeriod`, `time`, `importance`, `sourceUrl`.\n\n### `indicatorHistoryPoint`\n`country`, `indicatorName`, `indicatorSlug`, `seriesSymbol`, `category`, `unit`, `frequency`, `source`, `date`, `timestamp`, `value`, `sourceUrl`.\n\n### `marketHistoryPoint`\n`symbol`, `name`, `date`, `timestamp`, `value`, `change`, `changePercent`, `interval`, `sourceUrl`.\n\n### `marketForecast`\n`name`, `assetClass`, `group`, `price`, `signal`, `forecasts[]` (`period`, `value`), `sourceUrl`.\n\n### `news`\n`newsId`, `title`, `description`, `url`, `author`, `country`, `category`, `importance`, `publishedAt`, `expiresAt`, `image`, `sourceUrl`.\n\n### `searchResult`\n`title`, `url`, `resultType`, `group`, `category`, `country`, `frequency`, `unit`, `sourceUrl`.\n\n### `creditRatingEvent`\n`country`, `agency`, `rating`, `outlook`, `date`, `sourceUrl`.\n\n### `bondYield`\n`country`, `name`, `maturity`, `yield`, `dailyChange`, `monthlyChange`, `yearlyChange`, `date`, `sourceUrl`.\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `markets` | One of the 14 modes listed above |\n| `marketType` | string | `commodities` | mode=markets: `commodities` / `currencies` / `stocks` / `bonds` / `crypto` / `shares` |\n| `category` | string | – | mode=markets: category or region filter |\n| `countries` | array | `[]` | Countries for countryIndicators, countryForecast, creditRatingHistory and bondYields (required there); optional for calendar, holidays and earningsCalendar |\n| `indicatorCategory` | string | – | mode=countryIndicators / countryForecast: one macro category |\n| `rankingIndicators` | array | `[\"interest-rate\"]` | mode=indicatorRanking: one or more indicator slugs |\n| `indicatorHistoryUrls` | array | `[]` | mode=indicatorHistory: TE indicator URLs or `country/indicator-slug` |\n| `marketSymbols` | array | `[]` | mode=marketHistory: symbols such as `CL1:COM`, `AAPL:US` or TE market URLs |\n| `forecastAssetClass` | string | `commodity` | mode=marketForecast: `commodity` / `currency` / `crypto` / `stockMarket` / `governmentBond10Y` |\n| `searchQuery` | string | – | mode=search: keyword to resolve, e.g. `gold` |\n| `historySpan` | string | `5y` | history modes: `1m` … `10y`, `max` |\n| `marketInterval` | string | `auto` | mode=marketHistory: `1m` … `1M` or `auto` |\n| `searchKeyword` | string | – | Case-insensitive filter on the record name/title |\n| `minChangePercent` | number | – | mode=markets: minimum daily % change |\n| `maxChangePercent` | number | – | mode=markets: maximum daily % change |\n| `dateFrom` | string | – | ISO date lower bound for date-aware modes |\n| `dateTo` | string | – | ISO date upper bound for date-aware modes |\n| `importance` | string | – | calendar / earnings / news: `low` / `medium` / `high` |\n| `maxItems` | integer | `100` | Hard cap on emitted records (1–10,000); shared round-robin across requested countries/indicators/symbols |\n\n### Example: live energy commodities\n\n```json\n{\n  \"mode\": \"markets\",\n  \"marketType\": \"commodities\",\n  \"category\": \"Energy\",\n  \"maxItems\": 50\n}\n```\n\n### Example: prices indicators for three countries\n\n```json\n{\n  \"mode\": \"countryIndicators\",\n  \"countries\": [\"united-states\", \"germany\", \"japan\"],\n  \"indicatorCategory\": \"prices\",\n  \"maxItems\": 100\n}\n```\n\n### Example: US CPI history, full available series\n\n```json\n{\n  \"mode\": \"indicatorHistory\",\n  \"indicatorHistoryUrls\": [\"united-states/inflation-cpi\"],\n  \"historySpan\": \"max\",\n  \"maxItems\": 2000\n}\n```\n\n### Example: high-impact calendar for one week\n\n```json\n{\n  \"mode\": \"calendar\",\n  \"dateFrom\": \"2026-11-02\",\n  \"dateTo\": \"2026-11-08\",\n  \"importance\": \"high\",\n  \"maxItems\": 100\n}\n```\n\n### Example: intraday crude-oil prices\n\n```json\n{\n  \"mode\": \"marketHistory\",\n  \"marketSymbols\": [\"CL1:COM\"],\n  \"historySpan\": \"1d\",\n  \"marketInterval\": \"5m\",\n  \"maxItems\": 500\n}\n```\n\n## Use cases\n\n- **Trading and macro desks** — pull quotes, curves and calendar events into a research pipeline\n- **Cross-country comparison** — rank every country by rates, inflation, debt or credit rating\n- **Historical research** — export multi-decade indicator series without an API subscription\n- **Fintech dashboards** — feed live markets, forecasts and bond curves into a client product\n- **Event monitoring** — watch high-impact releases and news for market-moving surprises\n- **Journalism and academia** — bulk-export macro data with source links and timestamps\n\n## Usage cost\n\nApify bills this actor per result (one dataset item = one record). Market snapshots and rankings are small runs; history modes can emit thousands of points, so set `maxItems` to the number of points you actually need. The daily prefill is intentionally the smallest run with output.\n\n## FAQ\n\n**Is an API key or login required?** No. The actor reads public Trading Economics pages and chart data, and works with no account, cookie or proxy setup.\n\n**Is this affiliated with Trading Economics?** No. It is an independent third-party actor that reads the same public pages a browser would see.\n\n**How fresh is the data?** Market quotes are delayed intraday values, not tick-level real-time data. Indicators and calendar events update when Trading Economics republishes a release.\n\n**Why is `moodysRating` missing from credit ratings?** Moody's ratings are not published on the public rating pages. The actor never fabricates them; S&P, DBRS and the Trading Economics score are returned instead.\n\n**What is `teScore` and `ratingDescription`?** `teScore` is Trading Economics' 0–100 sovereign score. `ratingDescription` maps that score to the published grade band, such as Prime, High grade or Non-investment grade.\n\n**How does the calendar surprise work?** `surprise` is actual minus consensus (or the published forecast when consensus is absent), emitted only when both values use the same currency, scale and unit. `surpriseDirection` is `above`, `below` or `inline`.\n\n**Why do some calendar events lack values?** A future release has no actual yet, and some agencies publish only a previous value. Missing fields are omitted rather than filled with zero.\n\n**Why do index and bond market forecasts show only a few rows?** Trading Economics publishes the Major group publicly; further regional index and bond forecast tables are subscription-only. Commodity, currency and crypto forecasts are public in full.\n\n**Can I request more than one country or indicator?** Yes. Use the `countries`, `rankingIndicators` and history/market arrays. The actor fetches each target and emits round-robin, so a cap of 30 with three indicators returns about ten rows per indicator instead of thirty from the first one. Raise `maxItems` if you need every row from every target.\n\n**Why does a history run stop before my `maxItems`?** The source itself has no more observations for that series or span, or the remaining targets produced nothing. The actor reports this rather than padding the dataset. History points are emitted newest-first so a capped run keeps the most recent observations.\n\n## Notes\n\n- Dates are ISO `YYYY-MM-DD`; `timestamp` is epoch seconds when the source provides one.\n- Percent fields are whole percent values (for example `2.5` means 2.5%).\n- `revenueActual`, `marketCap` and similar scaled figures keep their source suffix (`B`, `M`, `T`) because the scale can vary by company.\n- Records are deduplicated by their natural key, so paginated calendar or news runs do not repeat rows.\n- Multi-target runs make one request per requested country/indicator/symbol; `maxItems` is shared round-robin, so each target is represented before any gets a second row.\n- Older saved tasks that still send `country` or `indicator` keep working; those values are mapped onto `countries` and `rankingIndicators` automatically.\n\n## Limitations\n\n- **Moody's ratings** are not in the public data and are never emitted.\n- **Regional index and bond forecasts** beyond the Major group are paywalled by the source.\n- **Calendar rendering** is capped by the source at roughly 2,000 rows per page; the actor splits long date ranges into short windows to stay under the cap.\n- **News** is available 100 items per request and has no server-side country filter; the actor paginates and filters client-side.\n- **Search** returns the site's fixed embedded hit set for a query rather than an open-ended index.\n- **Market tables** have source-side row caps that vary by market type; use category runs for the deepest coverage.\n- **Some symbols have no public chart history.** Certain futures contracts and less-covered instruments return an empty chart payload. The actor names the symbol in its status message and continues with the rest of the request.\n- **Company financial statements** are not available on the public pages; only the earnings calendar fields are returned.\n- **Small or low-coverage economies** may have no forecast, rating history or bond curve; those runs return the countries that do have data and leave the rest empty.\n",
      "input": {
        "title": "Trading Economics Scraper Input",
        "description": "Choose a data surface: live markets, country indicators, global rankings, economic calendar, forecasts, public holidays, earnings, historical series, news, search, credit ratings or bond yields.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "Which Trading Economics surface to collect.",
            "editor": "select",
            "enum": [
              "markets",
              "countryIndicators",
              "indicatorRanking",
              "calendar",
              "countryForecast",
              "holidays",
              "earningsCalendar",
              "indicatorHistory",
              "marketHistory",
              "marketForecast",
              "news",
              "search",
              "creditRatingHistory",
              "bondYields"
            ],
            "enumTitles": [
              "Markets (commodities / currencies / stocks / bonds / crypto / shares)",
              "Country indicators (GDP, inflation, unemployment...)",
              "Global indicator ranking (one or more indicators, all countries)",
              "Economic calendar (global or per-country)",
              "Country forecast (quarter-ahead projections)",
              "Public holidays (global or per-country)",
              "Earnings calendar (per-country or global)",
              "Indicator history (historical time series)",
              "Market history (historical prices, intraday to max)",
              "Market forecast (commodities / currencies / indices / bonds / crypto)",
              "Economic news (latest stream)",
              "Search indicators and markets",
              "Credit-rating history (S&P / DBRS / TE)",
              "Government bond yields (all maturities)"
            ],
            "default": "markets",
            "prefill": "markets"
          },
          "marketType": {
            "title": "Market type (mode=markets)",
            "type": "string",
            "description": "Which live market table to collect.",
            "editor": "select",
            "enum": [
              "commodities",
              "currencies",
              "stocks",
              "bonds",
              "crypto",
              "shares"
            ],
            "enumTitles": [
              "Commodities (energy, metals, agricultural...)",
              "Currencies (FX pairs)",
              "Stock market indices",
              "Government bond yields (10Y)",
              "Cryptocurrencies",
              "Shares (top gaining/losing stocks)"
            ],
            "default": "commodities",
            "prefill": "commodities"
          },
          "category": {
            "title": "Category / region (mode=markets)",
            "type": "string",
            "description": "Restrict the market table to one category or region. Commodities use Energy/Metals/Agricultural/Industrial/Livestock/Index/Electricity; currencies, stocks and bonds use Major/Europe/America/Asia/Oceania/Africa; crypto uses Crypto/BTC/ETH; shares use Top Gainers/Top Losers. Leave unset for all rows.",
            "editor": "select",
            "enum": [
              "",
              "Energy",
              "Metals",
              "Agricultural",
              "Industrial",
              "Livestock",
              "Index",
              "Electricity",
              "Major",
              "Europe",
              "America",
              "Asia",
              "Oceania",
              "Africa",
              "Crypto",
              "BTC",
              "ETH",
              "Top Gainers",
              "Top Losers"
            ],
            "enumTitles": [
              "All categories/regions",
              "Energy (commodities)",
              "Metals (commodities)",
              "Agricultural (commodities)",
              "Industrial (commodities)",
              "Livestock (commodities)",
              "Index (commodities)",
              "Electricity (commodities)",
              "Major (currencies/stocks/bonds)",
              "Europe (currencies/stocks/bonds)",
              "America (currencies/stocks/bonds)",
              "Asia (currencies/stocks/bonds)",
              "Oceania (currencies/stocks/bonds)",
              "Africa (currencies/stocks/bonds)",
              "Crypto — USD pairs",
              "BTC pairs",
              "ETH pairs",
              "Top Gainers (shares)",
              "Top Losers (shares)"
            ],
            "default": "",
            "prefill": ""
          },
          "countries": {
            "title": "Countries (multi-select)",
            "type": "array",
            "description": "One or more countries. Required for countryIndicators, countryForecast, creditRatingHistory and bondYields. Optional for calendar, holidays and earningsCalendar (leave empty for global data).",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "afghanistan",
                "albania",
                "algeria",
                "andorra",
                "angola",
                "antigua-and-barbuda",
                "argentina",
                "armenia",
                "aruba",
                "australia",
                "austria",
                "azerbaijan",
                "bahamas",
                "bahrain",
                "bangladesh",
                "barbados",
                "belarus",
                "belgium",
                "belize",
                "benin",
                "bermuda",
                "bhutan",
                "bolivia",
                "bosnia-and-herzegovina",
                "botswana",
                "brazil",
                "brunei",
                "bulgaria",
                "burkina-faso",
                "burundi",
                "cambodia",
                "cameroon",
                "canada",
                "cape-verde",
                "cayman-islands",
                "central-african-republic",
                "chad",
                "chile",
                "china",
                "colombia",
                "comoros",
                "congo",
                "costa-rica",
                "croatia",
                "cuba",
                "cyprus",
                "czech-republic",
                "denmark",
                "djibouti",
                "dominica",
                "dominican-republic",
                "east-timor",
                "ecuador",
                "egypt",
                "el-salvador",
                "equatorial-guinea",
                "eritrea",
                "estonia",
                "ethiopia",
                "euro-area",
                "faroe-islands",
                "fiji",
                "finland",
                "france",
                "gabon",
                "gambia",
                "georgia",
                "germany",
                "ghana",
                "greece",
                "grenada",
                "guatemala",
                "guinea",
                "guinea-bissau",
                "guyana",
                "haiti",
                "honduras",
                "hong-kong",
                "hungary",
                "iceland",
                "india",
                "indonesia",
                "iran",
                "iraq",
                "ireland",
                "isle-of-man",
                "israel",
                "italy",
                "ivory-coast",
                "jamaica",
                "japan",
                "jordan",
                "kazakhstan",
                "kenya",
                "kiribati",
                "kosovo",
                "kuwait",
                "kyrgyzstan",
                "laos",
                "latvia",
                "lebanon",
                "lesotho",
                "liberia",
                "libya",
                "liechtenstein",
                "lithuania",
                "luxembourg",
                "macau",
                "macedonia",
                "madagascar",
                "malawi",
                "malaysia",
                "maldives",
                "mali",
                "malta",
                "mauritania",
                "mauritius",
                "mexico",
                "moldova",
                "monaco",
                "mongolia",
                "montenegro",
                "morocco",
                "mozambique",
                "myanmar",
                "namibia",
                "nepal",
                "netherlands",
                "new-caledonia",
                "new-zealand",
                "nicaragua",
                "niger",
                "nigeria",
                "north-korea",
                "norway",
                "oman",
                "pakistan",
                "palestine",
                "panama",
                "papua-new-guinea",
                "paraguay",
                "peru",
                "philippines",
                "poland",
                "portugal",
                "puerto-rico",
                "qatar",
                "republic-of-the-congo",
                "romania",
                "russia",
                "rwanda",
                "samoa",
                "sao-tome-and-principe",
                "saudi-arabia",
                "senegal",
                "serbia",
                "seychelles",
                "sierra-leone",
                "singapore",
                "slovakia",
                "slovenia",
                "solomon-islands",
                "somalia",
                "south-africa",
                "south-korea",
                "south-sudan",
                "spain",
                "sri-lanka",
                "sudan",
                "suriname",
                "swaziland",
                "sweden",
                "switzerland",
                "syria",
                "taiwan",
                "tajikistan",
                "tanzania",
                "thailand",
                "togo",
                "tonga",
                "trinidad-and-tobago",
                "tunisia",
                "turkey",
                "turkmenistan",
                "uganda",
                "ukraine",
                "united-arab-emirates",
                "united-kingdom",
                "united-states",
                "uruguay",
                "uzbekistan",
                "vanuatu",
                "venezuela",
                "vietnam",
                "yemen",
                "zambia",
                "zimbabwe"
              ]
            },
            "default": [],
            "prefill": []
          },
          "indicatorCategory": {
            "title": "Indicator category (mode=countryIndicators, countryForecast)",
            "type": "string",
            "description": "Restrict country indicators or forecasts to one category. `markets` only appears on the forecast page and `health` only on the indicators page. Leave unset for all categories.",
            "editor": "select",
            "enum": [
              "",
              "overview",
              "gdp",
              "labour",
              "prices",
              "money",
              "trade",
              "government",
              "business",
              "consumer",
              "housing",
              "energy",
              "health",
              "markets"
            ],
            "enumTitles": [
              "All categories",
              "Overview",
              "GDP",
              "Labour",
              "Prices",
              "Money",
              "Trade",
              "Government",
              "Business",
              "Consumer",
              "Housing",
              "Energy",
              "Health (country indicators)",
              "Markets (country forecast)"
            ],
            "default": "",
            "prefill": ""
          },
          "rankingIndicators": {
            "title": "Ranking indicators (mode=indicatorRanking)",
            "type": "array",
            "description": "One or more indicators to rank across every country. The `rating` indicator returns sovereign credit ratings instead of a numeric series.",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "interest-rate",
                "inflation-rate",
                "unemployment-rate",
                "gdp-growth-rate",
                "gdp-per-capita",
                "current-account-to-gdp",
                "gold-reserves",
                "government-debt-to-gdp",
                "crude-oil-production",
                "gasoline-prices",
                "rating",
                "asylum-applications",
                "average-annual-wages",
                "balance-of-trade",
                "bank-lending-rate",
                "bankruptcies",
                "banks-balance-sheet",
                "building-permits",
                "business-confidence",
                "capacity-utilization",
                "capital-flows",
                "car-production",
                "car-registrations",
                "cash-reserve-ratio",
                "cement-production",
                "central-bank-balance-sheet",
                "changes-in-inventories",
                "co2-emissions",
                "construction-output",
                "consumer-confidence",
                "consumer-credit",
                "consumer-price-index-cpi",
                "consumer-spending",
                "core-consumer-prices",
                "core-inflation-rate",
                "corporate-profits",
                "corporate-tax-rate",
                "corruption-index",
                "corruption-rank",
                "cpi-housing-utilities",
                "crude-oil-rigs",
                "current-account",
                "deposit-interest-rate",
                "disposable-personal-income",
                "electric-car-registrations",
                "electricity-production",
                "employed-persons",
                "employment-change",
                "employment-change-yoy",
                "employment-rate",
                "export-prices",
                "exports",
                "external-debt",
                "factory-orders",
                "fiscal-expenditure",
                "food-inflation",
                "foreign-direct-investment",
                "foreign-exchange-reserves",
                "full-time-employment",
                "full-year-gdp-growth",
                "gdp",
                "gdp-annual-growth-rate",
                "gdp-constant-prices",
                "gdp-deflator",
                "gdp-from-agriculture",
                "gdp-from-construction",
                "gdp-from-manufacturing",
                "gdp-from-mining",
                "gdp-from-public-administration",
                "gdp-from-services",
                "gdp-from-transport",
                "gdp-from-utilities",
                "gdp-per-capita-ppp",
                "government-budget",
                "government-budget-value",
                "government-debt",
                "government-revenues",
                "government-spending",
                "government-spending-to-gdp",
                "gross-average-monthly-wages",
                "gross-fixed-capital-formation",
                "gross-national-product",
                "harmonised-consumer-prices",
                "harmonised-inflation-rate-mom",
                "harmonised-inflation-rate-yoy",
                "home-ownership-rate",
                "hospital-beds",
                "hospitals",
                "households-debt-to-gdp",
                "households-debt-to-income",
                "housing-index",
                "housing-starts",
                "icu-beds",
                "import-prices",
                "imports",
                "industrial-production",
                "industrial-production-mom",
                "inflation-expectations",
                "inflation-rate-mom",
                "initial-jobless-claims",
                "interbank-rate",
                "job-vacancies",
                "labor-force-participation-rate",
                "labour-costs",
                "leading-economic-index",
                "lending-rate",
                "loan-growth",
                "loans-to-private-sector",
                "long-term-unemployment-rate",
                "manufacturing-production",
                "medical-doctors",
                "military-expenditure",
                "minimum-wages",
                "mining-production",
                "money-supply-m0",
                "money-supply-m1",
                "money-supply-m2",
                "money-supply-m3",
                "natural-gas-stocks-capacity",
                "natural-gas-stocks-injection",
                "natural-gas-stocks-inventory",
                "natural-gas-stocks-withdrawal",
                "new-orders",
                "non-farm-payrolls",
                "nurses",
                "part-time-employment",
                "personal-income-tax-rate",
                "personal-savings",
                "personal-spending",
                "population",
                "precipitation",
                "price-to-rent-ratio",
                "private-debt-to-gdp",
                "private-sector-credit",
                "producer-price-inflation-mom",
                "producer-prices",
                "producer-prices-change",
                "productivity",
                "remittances",
                "residential-property-prices",
                "retail-sales-mom",
                "retail-sales-yoy",
                "retirement-age-men",
                "retirement-age-women",
                "sales-tax-rate",
                "small-business-sentiment",
                "social-security-rate",
                "social-security-rate-for-companies",
                "social-security-rate-for-employees",
                "steel-production",
                "temperature",
                "terms-of-trade",
                "terrorism-index",
                "total-vehicle-sales",
                "tourism-revenues",
                "tourist-arrivals",
                "unemployed-persons",
                "wage-growth",
                "wages",
                "wages-in-manufacturing",
                "weapons-sales",
                "youth-unemployment-rate",
                "zew-economic-sentiment-index"
              ]
            },
            "default": [
              "interest-rate"
            ],
            "prefill": [
              "interest-rate"
            ]
          },
          "indicatorHistoryUrls": {
            "title": "Indicator pages (mode=indicatorHistory)",
            "type": "array",
            "description": "Trading Economics indicator pages as full URLs or `country/indicator-slug`, e.g. `united-states/inflation-cpi` or `https://tradingeconomics.com/germany/unemployment-rate`. Up to 100 pages.",
            "editor": "stringList",
            "items": {
              "type": "string"
            },
            "default": [],
            "prefill": []
          },
          "marketSymbols": {
            "title": "Market symbols or pages (mode=marketHistory)",
            "type": "array",
            "description": "Symbols such as `CL1:COM`, `AAPL:US`, `USGG10YR:IND` or full Trading Economics market URLs. Up to 100 symbols.",
            "editor": "stringList",
            "items": {
              "type": "string"
            },
            "default": [],
            "prefill": []
          },
          "forecastAssetClass": {
            "title": "Forecast asset class (mode=marketForecast)",
            "type": "string",
            "description": "Which public forecast table to collect.",
            "editor": "select",
            "enum": [
              "commodity",
              "currency",
              "crypto",
              "stockMarket",
              "governmentBond10Y"
            ],
            "enumTitles": [
              "Commodities",
              "Currencies",
              "Cryptocurrencies",
              "Stock market indices",
              "Government bonds (10Y)"
            ],
            "default": "commodity",
            "prefill": "commodity"
          },
          "searchQuery": {
            "title": "Search query (mode=search)",
            "type": "string",
            "description": "Keyword used to resolve indicators and markets, e.g. `gold`, `inflation`, `EURUSD`. Required for mode=search.",
            "editor": "textfield",
            "default": "",
            "prefill": "gold"
          },
          "historySpan": {
            "title": "History span (history modes)",
            "type": "string",
            "description": "How far back to fetch historical series. `max` returns the full available history.",
            "editor": "select",
            "enum": [
              "1m",
              "3m",
              "6m",
              "1y",
              "2y",
              "5y",
              "10y",
              "max"
            ],
            "enumTitles": [
              "1 month",
              "3 months",
              "6 months",
              "1 year",
              "2 years",
              "5 years",
              "10 years",
              "Maximum available"
            ],
            "default": "5y",
            "prefill": "1y"
          },
          "marketInterval": {
            "title": "Market interval (mode=marketHistory)",
            "type": "string",
            "description": "Intraday or daily interval for market history. Leave on `auto` to use the span's natural frequency.",
            "editor": "select",
            "enum": [
              "auto",
              "1m",
              "5m",
              "15m",
              "30m",
              "1h",
              "1d",
              "1w",
              "1M"
            ],
            "enumTitles": [
              "Automatic",
              "1 minute",
              "5 minutes",
              "15 minutes",
              "30 minutes",
              "1 hour",
              "1 day",
              "1 week",
              "1 month"
            ],
            "default": "auto",
            "prefill": "auto"
          },
          "searchKeyword": {
            "title": "Keyword filter",
            "type": "string",
            "description": "Case-insensitive substring filter on the record name/title (instrument, indicator, event, company or news headline). Leave blank for no filtering.",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "minChangePercent": {
            "title": "Min daily % change (mode=markets)",
            "type": "number",
            "description": "Only keep instruments whose daily percent change is at least this value. Enter -5 for -5%.",
            "minimum": -1000,
            "maximum": 1000
          },
          "maxChangePercent": {
            "title": "Max daily % change (mode=markets)",
            "type": "number",
            "description": "Only keep instruments whose daily percent change is at most this value.",
            "minimum": -1000,
            "maximum": 1000
          },
          "dateFrom": {
            "title": "Date from",
            "type": "string",
            "description": "ISO date (YYYY-MM-DD). Lower bound for calendar, holidays, earnings, credit-rating history, bond yields and history points. For calendar this fetches the requested range, not just the default page.",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "dateTo": {
            "title": "Date to",
            "type": "string",
            "description": "ISO date (YYYY-MM-DD). Upper bound for the same date-aware modes.",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "importance": {
            "title": "Importance (calendar, earnings, news)",
            "type": "string",
            "description": "Keep only releases/news at this market-impact level. Leave unset for all levels.",
            "editor": "select",
            "enum": [
              "",
              "low",
              "medium",
              "high"
            ],
            "enumTitles": [
              "All levels",
              "Low",
              "Medium",
              "High"
            ],
            "default": "",
            "prefill": ""
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Hard cap on emitted records. History modes cap the total number of points across all requested series.",
            "minimum": 1,
            "maximum": 10000,
            "default": 100,
            "prefill": 3
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Trading Economics Markets, Indicators & Calendar Scraper Output",
        "description": "Market quotes, country indicators and forecasts, historical series, calendar events, holidays, earnings, news, search hits, credit ratings and bond yields.",
        "properties": {
          "items": {
            "type": "string",
            "title": "Trading Economics records",
            "description": "Dataset containing all collected Trading Economics records.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "defaultRunOptions": {
        "build": "latest",
        "timeoutSecs": 3600,
        "memoryMbytes": 1024
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Trading Economics data",
              "transformation": {
                "fields": [
                  "recordType",
                  "name",
                  "country",
                  "category",
                  "last",
                  "changePercent",
                  "unit",
                  "referenceDate",
                  "sourceUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {},
      "exampleRunInput": {
        "mode": "markets",
        "marketType": "commodities",
        "maxItems": 3
      }
    },
    "buildNumber": "1.1.1",
    "imageDigest": "919d7bcfa1e0a633fcc55aea9279d578b589214eaa3d8119a22d6657783a700b",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.1"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.005141111111111111
    }
  }
}