Skip to main content

List FX Trades (Atlas)

Overview

The POST /banking/ibans/v2/fx/list endpoint enables searching, filtering, and paginating through historical FX trades executed by your company.

Filter parameters support narrowing results by date ranges, source/target currencies, execution states, specific payment UUIDs, and minimum/maximum amounts.

Resource Access

  • HTTP Method: POST
  • Endpoint: /banking/ibans/v2/fx/list
  • Authentication: Bearer token required

Request Headers

HeaderValueRequiredDescription
AuthorizationBearer {access_token}YesJWT Bearer access token
Content-Typeapplication/jsonYesRequest payload format
Acceptapplication/jsonYesResponse payload format

Query Parameters

ParameterTypeRequiredDescription
limitintegerYesMaximum number of records to return per page.
skipintegerYesNumber of records to skip for pagination.

Request Body

Filter Parameters

FieldTypeDescription
fromCurrenciesarray of stringsFilter by source currencies (e.g. ["USD", "EUR"]).
toCurrenciesarray of stringsFilter by target currencies (e.g. ["GBP", "CAD"]).
createdStartDatestring (ISO date)Filter trades created after this timestamp.
createdEndDatestring (ISO date)Filter trades created before this timestamp.
minimumAmountnumberFilter trades with source amount greater than or equal to this value.
maximumAmountnumberFilter trades with source amount less than or equal to this value.
searchstringFree-text search matching order reference.
state.includearray of stringsInclude only trades matching these states (confirmed, inwardSettlementDone, etc.).
paymentIdsarray of stringsFilter by client idempotency payment UUIDs.

Request Example

{
"fromCurrencies": ["USD"],
"toCurrencies": ["GBP", "EUR"],
"createdStartDate": "2026-09-01T00:00:00.000Z",
"createdEndDate": "2026-09-16T23:59:59.000Z",
"state": {
"include": ["confirmed", "outwardSettlementDone"]
}
}

Response

Success Response (200 OK)

{
"totalCount": 18,
"currentPage": 1,
"pageSize": 10,
"items": [
{
"id": "10492",
"reference": "EN-01011900-001",
"currencyFrom": "USD",
"amountFrom": 5000.00,
"currencyTo": "GBP",
"amountTo": 3927.00,
"rate": 0.7854,
"state": "outwardSettlementDone",
"createdAt": "2026-09-16T02:00:00.000Z"
}
]
}

Response Fields

FieldTypeDescription
totalCountnumberTotal number of trades matching the filters.
currentPagenumberCurrent pagination page index.
pageSizenumberNumber of items returned in the batch.
itemsarrayArray of ClientOrderResponse objects.

Code Examples

cURL

curl -X POST "https://gateway.ahrvo.network/banking/ibans/v2/fx/list?limit=10&skip=0" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"fromCurrencies": ["USD"],
"toCurrencies": ["GBP"]
}'

Python

import requests

url = "https://gateway.ahrvo.network/banking/ibans/v2/fx/list?limit=10&skip=0"
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json",
"Accept": "application/json"
}

payload = {
"fromCurrencies": ["USD"],
"toCurrencies": ["GBP"]
}

response = requests.post(url, json=payload, headers=headers)
print("Orders found:", response.json().get("totalCount"))

JavaScript (Node.js)

const axios = require('axios');

const url = 'https://gateway.ahrvo.network/banking/ibans/v2/fx/list';
const headers = {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json'
};

const payload = {
fromCurrencies: ['USD'],
toCurrencies: ['GBP']
};

axios.post(url, payload, { headers, params: { limit: 10, skip: 0 } })
.then(res => console.log('Total Trades:', res.data.totalCount))
.catch(err => console.error(err.response ? err.response.data : err.message));

Interactive API Explorer