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.
Aperçu
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.
Entrée
Paramètres requis pour appeler cette App.
- Country
countryFacultatifstringOne 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.Exempleunited states - Countries (multiple)
countriesFacultatifarray<string>Multiple countries or zones. Combined with Country using union semantics; leave both empty for all zones.Exemple["euro zone","united kingdom"] - Importances
importancesFacultatifstring(enum)Only include events at the selected importance. Leave empty for all levels, including holidays.Valeurs possibleshigh (high impact)highmedium (medium impact)mediumlow (low impact)low - Categories
categoriesFacultatifstringFilter by a case-insensitive English event-name substring such as CPI, GDP, Rate or Claims. Leave empty for all categories.ExempleCPI - From Date
fromDateFacultatifstringStart 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.Exemple2026-11-16 - To Date
toDateFacultatifstringInclusive end date in YYYY-MM-DD format. Leave empty for the full current week.Exemple2026-11-22 - TimeZone
timeZoneFacultatifstringOutput time zone in GMT offset format, such as 'GMT +2:00', 'GMT -5:30' or 'GMT+8'. Defaults to GMT +8:00.ExempleGMT +8:00 - Time Filter
timeFilterFacultatifstring(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.Valeurs possiblestime_only (show event time)time_onlytime_remain (show time remaining)time_remainDéfauttime_only
Sortie
Structure des champs d'un enregistrement.
- ID
idintegerStable event identifier derived from currency zone, original timestamp and event nameExemple110051664652747 - Date
datestringEvent date in DD/MM/YYYY format after conversion to the requested time zoneExemple17/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 startExemple21:30 - Zone
zonestringLowercase country or economic zone, such as united states or euro zone; unknown zones use the lowercase currency codeExempleunited states
Tarifs
Facturé selon le nombre d'enregistrements renvoyés avec succès. Les exécutions échouées ne sont pas facturées.
Plusieurs événements de facturation se cumulent indépendamment. Voir chaque élément pour les détails. Les exécutions échouées ne sont pas facturées.
Voir les créditsExécuter maintenant
Exécute réellement l'App une fois avec les paramètres saisis, facturée selon les Tarifs.
Intégration
Avec MCP, vous pouvez appeler cette Data App directement depuis des clients IA comme Claude et Cursor.
Déjà connecté à Octoparse Data Hub ? Utilisez-la directement dans le chat
Aucune configuration nécessaire. Copiez cette phrase dans votre IA et complétez-la avec ce que vous voulez faire :
Pas encore connecté ? Configurez-le une fois avec l'une des méthodes ci-dessous, et toutes les Data Apps fonctionneront ensuite.
Config du client
Remplacez YOUR_API_KEY par votre propre API Key. Fonctionne dans n'importe quel client, en CI ou en environnement sans navigateur.Obtenir une API Key →
{
"mcpServers": {
"octoparse_datahub": {
"type": "http",
"url": "https://mcp-v2.octoparse.com",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Laissez l'IA tout configurer pour vous
Vous ne voulez pas modifier les configs à la main ? Copiez le prompt d'installation et collez-le dans n'importe quel client IA — il effectuera la configuration à sa manière. (Par défaut, il vous guide pour vous connecter et ne vous demande jamais d'envoyer votre API Key dans la conversation.)
Remarques
Périmètre
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.
Non adapté à
- 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
Exécution et annulation
Cette App s'exécute de façon asynchrone et peut être annulée en cours de route ; les résultats renvoyés avant l'annulation sont conservés et facturés normalement.
Gestion des échecs
Via MCP, l'IA lit automatiquement ces consignes ; via l'API ou le SDK, gérez-les dans votre code.
- 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
Comment est-ce facturé ?
Par enregistrement : 0,005 $US / enregistrement ; les exécutions en échec ne sont pas facturées.Voir Tarifs →
Combien une exécution peut-elle collecter ? Y a-t-il des limites ?
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.Voir Remarques →
Puis-je l’utiliser dans un assistant IA ou un agent ?
Oui. Connectez Octoparse Data Hub une fois et vous pourrez appeler chaque Data App par son nom dans le chat, y compris bzy/economic-calendar-data.Voir Intégration →