Calendar (v4)
Get calendar events
Get economic calendar events for the user
get/v4/user/calendar
Request
- Base URLhttps://trading-api.oanda.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
divisionIdnumber required
OC: 1, CANADA: 2, OAP: 3, OEL: 4, TEST: 5, ECP: 6, OAP_CFD: 7, OCI: 8, OJ_NON_CORPORATE: 9, OJ_CORPORATE: 10, OAU: 11, OEM: 12, OGM: 13, OT: 14 OPUC: 17
The user's division identifier.
fromstring
Filter news starting from this timestamp. UTC timestamp in milliseconds.
tostring
Filter news up to this timestamp. UTC timestamp in milliseconds.
language'en' | 'ar' | 'de' | 'ru' | 'zh' | 'ja' | 'nl' | 'fa' | 'fr' | 'el' | 'it' | 'ko' | 'pt' | 'es' | 'tr' | 'pl'
ISO 639-1 language code
Filter news by language code (ISO 639-1). For non-OJ divisions: defaults to "en" if not specified. For OJ divisions (9, 10): only "ja" is supported; other values will result in a 400 error.
Response
Calendar events retrieved successfully
Changes
No recorded changes to this operation across all 1 revision of this API.