# Requires: npm i -g @infinite_dev/cli && export INFINITE_API_KEY=sk_sandbox_...
# Escape hatch for any endpoint: infinite api <METHOD> <path>
infinite api GET /v1/fx/trades/fx_abc123Read an FX trade (fx_abc123).import requests
url = "https://sandbox.api.infinite.dev/v1/fx/trades/{tradeId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.api.infinite.dev/v1/fx/trades/{tradeId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.api.infinite.dev/v1/fx/trades/{tradeId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.api.infinite.dev/v1/fx/trades/{tradeId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.api.infinite.dev/v1/fx/trades/{tradeId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.api.infinite.dev/v1/fx/trades/{tradeId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"tradeId": "tfr_abc123",
"status": "AWAITING_DEPOSIT",
"referenceRate": "1.158691536019208779",
"referenceRateAsOf": "2026-09-02T18:30:04.000Z",
"referenceProvider": "XE",
"depositInstructions": {
"address": "0xCustomerInfiniteTxWallet...",
"network": "BASE",
"amount": "10000000",
"expiresAt": "2026-05-26T19:54:00.000Z"
},
"fundingInstructions": {
"reference": "CDX-7K2A9V",
"currency": "EUR",
"amount": "10000",
"supportedRails": [
"SEPA"
],
"bank": {
"name": "Commerzbank AG",
"address": "Mainzer Landstraße 153, 60327 Frankfurt",
"country": "DE"
},
"accounts": [
{
"supportedRails": [
"SEPA"
],
"accountHolderName": "Acme Onramp Ltd",
"accountNumber": "12345678",
"iban": "DE89370400440532013000",
"bic": "COBADEFFXXX",
"sortCode": "12-34-56",
"routingNumber": "021000021"
}
],
"expiresAt": "2026-05-26T19:54:00.000Z",
"swiftRoutingBanks": [
{
"role": "INTERMEDIARY",
"bankName": "Citibank N.A.",
"bic": "CITIUS33XXX",
"abaRoutingNumber": "021000089"
}
]
},
"depositDeadline": "2026-05-26T19:54:00.000Z",
"screeningDeadline": "2026-05-26T19:47:00.000Z"
}Read an FX trade
# Requires: npm i -g @infinite_dev/cli && export INFINITE_API_KEY=sk_sandbox_...
# Escape hatch for any endpoint: infinite api <METHOD> <path>
infinite api GET /v1/fx/trades/fx_abc123Read an FX trade (fx_abc123).import requests
url = "https://sandbox.api.infinite.dev/v1/fx/trades/{tradeId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.api.infinite.dev/v1/fx/trades/{tradeId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.api.infinite.dev/v1/fx/trades/{tradeId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.api.infinite.dev/v1/fx/trades/{tradeId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.api.infinite.dev/v1/fx/trades/{tradeId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.api.infinite.dev/v1/fx/trades/{tradeId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"tradeId": "tfr_abc123",
"status": "AWAITING_DEPOSIT",
"referenceRate": "1.158691536019208779",
"referenceRateAsOf": "2026-09-02T18:30:04.000Z",
"referenceProvider": "XE",
"depositInstructions": {
"address": "0xCustomerInfiniteTxWallet...",
"network": "BASE",
"amount": "10000000",
"expiresAt": "2026-05-26T19:54:00.000Z"
},
"fundingInstructions": {
"reference": "CDX-7K2A9V",
"currency": "EUR",
"amount": "10000",
"supportedRails": [
"SEPA"
],
"bank": {
"name": "Commerzbank AG",
"address": "Mainzer Landstraße 153, 60327 Frankfurt",
"country": "DE"
},
"accounts": [
{
"supportedRails": [
"SEPA"
],
"accountHolderName": "Acme Onramp Ltd",
"accountNumber": "12345678",
"iban": "DE89370400440532013000",
"bic": "COBADEFFXXX",
"sortCode": "12-34-56",
"routingNumber": "021000021"
}
],
"expiresAt": "2026-05-26T19:54:00.000Z",
"swiftRoutingBanks": [
{
"role": "INTERMEDIARY",
"bankName": "Citibank N.A.",
"bic": "CITIUS33XXX",
"abaRoutingNumber": "021000089"
}
]
},
"depositDeadline": "2026-05-26T19:54:00.000Z",
"screeningDeadline": "2026-05-26T19:47:00.000Z"
}Authorizations
API Key in Bearer format (e.g., Bearer sk_test_...)
Headers
API key
Path Parameters
Trade ID (tfr_…)
Response
Trade detail. Shape varies by status — PENDING_WALLET_APPROVAL omits depositInstructions and returns screeningDeadline; AWAITING_DEPOSIT returns depositInstructions and depositDeadline; terminal states return only status.
"tfr_abc123"
Lifecycle status. PENDING_WALLET_APPROVAL means accept succeeded but the source wallet is still being verified — depositInstructions is omitted until verification clears and the trade transitions to AWAITING_DEPOSIT (delivered via the fx_trade.deposit_instructions_ready webhook).
PENDING_WALLET_APPROVAL, AWAITING_DEPOSIT, PROCESSING, COMPLETED, FAILED, CANCELLED, AUTO_CANCELLED, REFUNDED "AWAITING_DEPOSIT"
Independent reference rate used to price this trade, expressed as destination major units per source major unit. Present for benchmark-priced trades.
"1.158691536019208779"
Timestamp of the independent reference rate used to price this trade (ISO 8601).
"2026-09-02T18:30:04.000Z"
Independent market that published referenceRate. Present when referenceRate is present.
XE "XE"
On-chain deposit instructions for crypto-source trades. Present once the trade reaches AWAITING_DEPOSIT. Omitted while status=PENDING_WALLET_APPROVAL and for fiat-source trades (which return fundingInstructions instead).
Show child attributes
Show child attributes
Bank funding instructions for fiat-source trades. Present once the trade reaches AWAITING_DEPOSIT on fiat-source pairs (USD / EUR / GBP source) — the customer wires from their bank to the account in this object using reference as the wire memo. Mutually exclusive with depositInstructions.
Show child attributes
Show child attributes
Customer-facing deposit deadline (ISO 8601). Present when either depositInstructions or fundingInstructions is present.
"2026-05-26T19:54:00.000Z"
Deadline by which source-wallet verification must complete (ISO 8601). Present only when status=PENDING_WALLET_APPROVAL. If verification has not cleared by this point the trade transitions to FAILED.
"2026-05-26T19:47:00.000Z"
Was this page helpful?