News (v4)

Get news articles

Retrieves news articles based on the user's division. Supports pagination and historical news access with date range filtering. For OJ divisions (9, 10), news is fetched from OJ news source. For OTMS, news is fetched from TMS news source. For all other divisions, news is fetched from OANDA news source.

get/v4/user/news

Request

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.

offsetinteger

Pagination offset. The number of items to skip before starting to return results.

limitinteger

Maximum number of news items to return per request.

dateSortDirection'asc' | 'desc'

Sort direction for news items by date.

  • desc: Most recent first (default)
  • asc: Oldest first
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

News articles retrieved successfully

Changes

No recorded changes to this operation across all 1 revision of this API.