---
title: "Returns paginated instruments, sort alphabetically"
method: GET
path: "/v4/user/accounts/{server}/{accountId}/instruments/extended"
tags: ["Instruments (v4)"]
---

# Returns paginated instruments, sort alphabetically

`GET /v4/user/accounts/{server}/{accountId}/instruments/extended`

## Request

- Base URL: `https://trading-api.oanda.com` (the document declares no server; this is the origin it was published from)
- URL: `https://trading-api.oanda.com/v4/user/accounts/{server}/{accountId}/instruments/extended`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/oanda/apis/up-gateway-v1/docs/v4/user/accounts/:server/:accountId/instruments/extended/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `server` 'oanda' | 'oanda-demo' | 'otms' | 'v20' | 'v20-demo' | 'oj' | 'oj-demo' | 'opt' | 'ftmo-1', required
- `accountId` string, required

## Query parameters

- `category` string
- `ids` string[]
- `limit` number, required
- `offset` number, required
- `sortBy` 'SYMBOL' | 'NAME' | 'DESCRIPTION': Display-name field by which a collection of instruments can be sorted.

## Response `200`

response

- object
  - `count` number, required
  - `limit` number, required
  - `offset` number, required
  - `data` object[]
    - `id` string, required
    - `name` string, required
    - `description` string, required
    - `category` 'CURRENCY' | 'STOCK' | 'FUTURES' | 'CRYPTO' | 'INDEX' | 'BOND' | 'COMMODITY' | 'EQUITY' | 'EQUITY_CZ' | 'EQUITY_UK' | 'EQUITY_ES' | 'EQUITY_PL' | 'EQUITY_DE' | 'EQUITY_NL' | 'EQUITY_FR' | 'EQUITY_BE' | 'EQUITY_DK' | 'EQUITY_FI' | 'EQUITY_PT' | 'EQUITY_SE' | 'EQUITY_US' | 'ETF', required
    - `baseCurrency` string
    - `pipLocation` number, required
    - `displayPrecision` number, required
    - `icons` string[]: A list of URLs for the instrument's icons.
    - `executionMode` 'MARKET' | 'EXCHANGE': This property is for MT5 symbols only : It is of no use for v20.
    - `tradeMode` 'TRADE_DISABLED' | 'TRADE_LONGONLY' | 'TRADE_SHORTONLY' | 'TRADE_CLOSEONLY' | 'TRADE_FULL', required
    - `marginCalcMode` 'TRADE_MODE_FOREX' | 'TRADE_MODE_FUTURES' | 'TRADE_MODE_CFD' | 'TRADE_MODE_CFDINDEX' | 'TRADE_MODE_CFDLEVERAGE' | 'TRADE_MODE_FOREX_NO_LEVERAGE' | 'TRADE_MODE_EXCH_STOCKS' | 'TRADE_MODE_EXCH_FUTURES' | 'TRADE_MODE_EXCH_FORTS' | 'TRADE_MODE_EXCH_OPTIONS' | 'TRADE_MODE_EXCH_OPTIONS_MARGIN' | 'TRADE_MODE_EXCH_BONDS' | 'TRADE_MODE_EXCH_STOCKS_MOEX' | 'TRADE_MODE_EXCH_BONDS_MOEX' | 'TRADE_MODE_SERV_COLLATERAL': Types of profit and margin calculation for a symbol (IMTConSymbol::EnCalcMode).
    - `profitConvert` 'BY_MARKET' | 'BY_DEAL'
    - `type` 'CFD' | 'FOREX' | 'STOCK' | 'FUTURES' | 'CRYPTO' | 'INDEX' | 'BOND' | 'COMMODITY' | 'METAL' | 'ETF' | 'SIMULATED', required
    - `fillType` string[]
    - `marketHours` object[], required: Deprecated: use tradeHours (order execution) or quoteHours (price streaming).
      - `type` 'MARKET_OPEN' | 'MARKET_CLOSE', required
      - `timestamp` number, required
    - `tradeHours` object[], required: Sessions during which the instrument can be traded (order execution).
      - `type` 'MARKET_OPEN' | 'MARKET_CLOSE', required
      - `timestamp` number, required
    - `quoteHours` object[], required: Sessions during which the instrument is quoted (price streaming).
      - `type` 'MARKET_OPEN' | 'MARKET_CLOSE', required
      - `timestamp` number, required
    - `isin` string
    - `country` string
    - `minTradeSize` number, required
    - `maxTradeSize` number, required
    - `contractSize` number
    - `maxPositionSize` number, required
    - `step` number, required
    - `tickSize` number
    - `swapLong` number
    - `swapShort` number
    - `minStopDistance` number
    - `profitCurrency` string, required
    - `marginCurrency` string, nullable: The currency in which margin is calculated, as a 3-letter ISO 4217 code.
    - `marginInitial` number
    - `marginRateBuy` number[], required
    - `marginRateSell` number[], required
    - `kidLink` string
    - `commission` number
    - `minimalCommission` number: The minimum commission charged for the instrument.
    - `marginInitialSell` number
    - `marginInitialBuy` number
    - `exchange` string, nullable: Exchange where the instrument is listed

---

[API](https://skmtc.dev/oanda/apis/up-gateway-v1.md) - [All operations](https://skmtc.dev/oanda/apis/up-gateway-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/oanda/apis/up-gateway-v1/revisions/395d645513bf?raw)
