Articles in this section

Available OANDA APIs

When you configure an export, import, or other type of flow step using the prebuilt OANDA connector, you can select any of the API operations listed below, organized by API type.

Note

If your API endpoint isn’t listed here, switch the flow step to HTTP mode and configure the endpoint provided in the OANDA API documentation (Exchange rates) and (v20 fxTrade). You can also create a composite endpoint for this application in HTTP mode.

API type: v20 fxTrade

Resource

API endpoint

Export

Import

Account

Get accounts for a user

X

Get details for account

X

Get summary for account

X

Get all instrument details for account

X

Get all changes for account

X

Set the client-configurable portions of an account

X

Instrument

Fetch candlestick data for instrument

X

Fetch an order book for an instrument

X

Fetch a position book for an instrument

X

Order

Get a list of orders in an account

X

Get all pending orders

X

Get a single order in account

X

Create an order for an account

X

Replace an order in an account

X

Cancel a pending order in an account

X

Update the client extensions for an order in an account

X

Position

List all position details for account

X

Get the details of a single instrument's position in an account

X

Close the open position for an instrument in an account

X

Pricing

Get pricing information for a specified list of instruments for an account

X

Trade

Get a list of trades for an account

X

Get a list of open trades for an account

X

Get the details of a specific trade in an account

X

Close a specific open trade in an account

X

Update the client extensions for a trade in an account

X

Create, replace, and cancel a trade's NIP in an account

X

Transaction

Get a list of transactions

X

Get the details of a single account transaction

X

Get a range of transactions for an account based on transaction IDs

X

Get a range of transactions for an account starting from a provided transaction ID

X

API type: Exchange rates

Resource

API endpoint

Export

Currencies

Get a list of valid three-character currency codes for use in the rates endpoints

X

Datasets

Get a dataset metadata (code, description, and cross-currency)

X

Order book

Fetch an order book for an instrument

X

Get single position book

X

Rates

Get the quotes for one or more currency pairs

X

Retrieve the current exchange rate, or the rate at a specified point in time

X

Retrieve one daily candle for each specified currency pair

X

Retrieve all daily candles in the specified time range

X

Retrieve one aggregated candle over the given time range for each specified currency pair

X

Retrieve one forward curve over the given tenor set for the specified currency pair

X

Get rates stream

X

Remaining quotes

Get the number of quotes remaining, along with the number of used quotes

X

Supported forwards

List supported forwards

X

API type: Exchange rates (Legacy)

Resource

API endpoint

Export

Currencies (Deprecated)

Get a list of valid three-character currency codes

X

Rates (Deprecated)

Retrieve the current exchange rates

X

Retrieve all daily candles in the specified time range

X

Retrieve one aggregated candle over the given time range for each specified currency pair

X

Retrieve one forward curve over the given tenor set for the specified currency pair

X

Retrieve one daily candle for each specified currency pair

X

Remaining quotes (Deprecated)

Get the number of quotes remaining

X

Supported forwards (Deprecated)

Get the server

X