Economic Calendar Events
Retrieve structured macroeconomic calendar events by country, importance, category keyword and date range. Returns event time, currency zone, importance, forecast and previous values for quant signals, trading agents and macro research.
Descripción general
Economic Calendar Events
Turn the current week's macroeconomic calendar into clean, structured rows for quant signals, trading agents and macro research. Each row includes the country or currency zone, event time, importance, event name, forecast and previous value.
Data notes
Coverage includes approximately nine major currency zones: USD, EUR, GBP, JPY, CNY, CAD, AUD, NZD and CHF. Times default to GMT+8 and can be changed with timeZone. Use timeFilter=time_remain for countdown displays.
The source is the Forex Factory weekly JSON feed because Investing.com is blocked by Cloudflare. The feed contains the current rolling week, including events already released and upcoming events. It does not provide released actual values, so actual is always an empty string. Use a market-data or professional macro database when comparing actual releases against forecasts.
Categories are English event-name keyword filters such as CPI, GDP or Claims because the feed has no category metadata. Event IDs are deterministic values derived from currency zone, original timestamp and event name, so the same event keeps the same ID across runs.
Inputs
| Field | Type | Description |
|---|---|---|
| country | string | One country or zone, or a currency code; empty means all |
| countries | array | Multiple countries or zones; combined with country |
| importances | string | high, medium or low; empty means all |
| categories | string | Case-insensitive English event-name keyword |
| fromDate / toDate | string | Inclusive YYYY-MM-DD range within the current week |
| timeZone | string | GMT offset such as GMT +2:00 or GMT -5:30; default GMT+8 |
| timeFilter | string | time_only for event time or time_remain for countdown |
Output
One row per event with 12 fields: stable ID, local date, local time or countdown, zone, currency, importance, event name, actual, forecast, previous, retrieval timestamp and record type.
Use cases
- Add event timing and forecast context to quantitative strategies.
- Give an AI trading agent a structured view of the week's macro events.
- Refresh a daily calendar dashboard or morning briefing by importance and time remaining.
Failure handling
The App respects source rate limits with bounded retries, rejects invalid countries and date formats with clear errors, and skips only individual entries that cannot be parsed.
Entrada
Parámetros necesarios para llamar a esta App.
- Country
countryOpcionalstringOne country or economic zone, such as united states, euro zone, japan or china (case-insensitive). Currency codes USD/EUR/GBP/JPY/CNY/CAD/AUD/NZD/CHF are also accepted. Leave empty for all zones. Euro-zone members such as Germany and France are grouped into euro zone.Ejemplounited states - Countries (multiple)
countriesOpcionalarray<string>Multiple countries or zones. Combined with Country using union semantics; leave both empty for all zones.Ejemplo["euro zone","united kingdom"] - Importances
importancesOpcionalstring(enum)Only include events at the selected importance. Leave empty for all levels, including holidays.Valores permitidoshigh (high impact)highmedium (medium impact)mediumlow (low impact)low - Categories
categoriesOpcionalstringFilter by a case-insensitive English event-name substring such as CPI, GDP, Rate or Claims. Leave empty for all categories.EjemploCPI - From Date
fromDateOpcionalstringStart date in YYYY-MM-DD format. The source provides a rolling current-week calendar, including released events. Ranges outside the current week may return zero records; leave empty for the full week.Ejemplo2026-11-16 - To Date
toDateOpcionalstringInclusive end date in YYYY-MM-DD format. Leave empty for the full current week.Ejemplo2026-11-22 - TimeZone
timeZoneOpcionalstringOutput time zone in GMT offset format, such as 'GMT +2:00', 'GMT -5:30' or 'GMT+8'. Defaults to GMT +8:00.EjemploGMT +8:00 - Time Filter
timeFilterOpcionalstring(enum)How the time field is displayed: time_only shows the event time; time_remain shows the time until the event starts, such as '2d 3h 15m', or 0m after it starts.Valores permitidostime_only (show event time)time_onlytime_remain (show time remaining)time_remainPredeterminadotime_only
Salida
Estructura de campos de un registro.
- ID
idintegerStable event identifier derived from currency zone, original timestamp and event nameEjemplo110051664652747 - Date
datestringEvent date in DD/MM/YYYY format after conversion to the requested time zoneEjemplo17/11/2026 - Time
timestringEvent time HH:MM in the requested time zone; with time_remain, the remaining time such as '2d 3h 15m', or 0m after startEjemplo21:30 - Zone
zonestringLowercase country or economic zone, such as united states or euro zone; unknown zones use the lowercase currency codeEjemplounited states
Precios
Se cobra según el número de registros devueltos correctamente. Las ejecuciones fallidas no se cobran.
Los distintos eventos de facturación se acumulan de forma independiente. Consulta cada elemento para más detalles. Las ejecuciones fallidas no se cobran.
Ver créditosEjecutar ahora
Ejecuta la App una vez de verdad con los parámetros que indiques; se factura según los Precios.
Integración
Con MCP puedes llamar a esta Data App directamente desde clientes de IA como Claude y Cursor.
¿Ya conectaste Octoparse Data Hub? Úsala directamente en el chat
No hace falta configurar nada. Copia esta frase en tu IA y continúa con lo que quieras hacer:
¿Aún no la conectaste? Configúrala una vez con cualquiera de los métodos siguientes y todas las Data Apps funcionarán a partir de entonces.
Configuración del cliente
Sustituye YOUR_API_KEY por tu propia API Key. Funciona en cualquier cliente, CI o entorno sin interfaz.Obtener API Key →
{
"mcpServers": {
"octoparse_datahub": {
"type": "http",
"url": "https://mcp-v2.octoparse.com",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Deja que la IA lo configure por ti
¿No quieres editar configuraciones a mano? Copia el prompt de instalación y pégalo en cualquier cliente de IA: completará la configuración a su manera. (De forma predeterminada te guía para iniciar sesión y nunca te pide que envíes tu API Key en el chat.)
Notas
Alcance
Investing.com is blocked by Cloudflare, so the App uses the reachable Forex Factory weekly JSON feed. Coverage is approximately nine major currency zones, not every country. The feed provides forecast and previous values but no released actual values, so actual is always an empty string. Only the current rolling week is available. Categories filter English event-name keywords because the feed has no category metadata. Event IDs are deterministic synthetic values. Times default to GMT+8 and can be changed with timeZone.
No adecuado para
- Backtesting released actual values; this feed does not include them
- Every country or detailed category metadata; coverage is about nine major currency zones
- Historical or future dates outside the current rolling week
Ejecución y cancelación
Esta App se ejecuta de forma asíncrona y se puede cancelar a mitad; los resultados devueltos antes de cancelar se conservan y se facturan con normalidad.
Gestión de fallos
Si te conectas por MCP, la IA lee estas indicaciones automáticamente; si usas la API o el SDK, gestiónalas en tu código.
- 1Honors HTTP 429 Retry-After within a 300-second total wait budget, then fails as retryable
- 2Rejects unrecognized countries with an explicit error listing supported zones
- 3Returns zero records when the requested range does not intersect the current week
- 4Skips individual entries with invalid timestamps without affecting other events
FAQ
¿Cómo se factura?
Por registro: 0,005 US$ / registro; las ejecuciones fallidas no se facturan.Ver Precios →
¿Cuánto puede recopilar una ejecución? ¿Hay límites?
Investing.com is blocked by Cloudflare, so the App uses the reachable Forex Factory weekly JSON feed. Coverage is approximately nine major currency zones, not every country. The feed provides forecast and previous values but no released actual values, so actual is always an empty string. Only the current rolling week is available. Categories filter English event-name keywords because the feed has no category metadata. Event IDs are deterministic synthetic values. Times default to GMT+8 and can be changed with timeZone.Ver Notas →
¿Puedo usarla en un asistente de IA o un agente?
Sí. Conecta Octoparse Data Hub una vez y podrás llamar a cualquier Data App por su nombre en el chat, incluida bzy/economic-calendar-data.Ver Integración →