curl -X GET "https://api.tabsglobal.co/v1/fx/rates" \
-H "Authorization: Bearer sk_live_..."
const response = await fetch("https://api.tabsglobal.co/v1/fx/rates", {
method: "GET",
headers: {
"Authorization": `Bearer ${process.env.TABS_SECRET_KEY}`,
},
});
const rates = await response.json();
console.log(rates);
import requests
response = requests.get(
"https://api.tabsglobal.co/v1/fx/rates",
headers={"Authorization": f"Bearer {API_KEY}"},
)
print(response.json())
{
"USD": {
"buy": 1610.50,
"sell": 1635.00,
"fixedFee": 2500
},
"GBP": {
"buy": 2130.00,
"sell": 2165.50,
"fixedFee": 2500
},
"EUR": {
"buy": 1765.20,
"sell": 1795.00,
"fixedFee": 2500
}
}
Foreign Exchange (FX) API
Get Live FX Rates
Retrieve real-time foreign exchange buy and sell market rates across supported currency corridors.
GET
/
v1
/
fx
/
rates
curl -X GET "https://api.tabsglobal.co/v1/fx/rates" \
-H "Authorization: Bearer sk_live_..."
const response = await fetch("https://api.tabsglobal.co/v1/fx/rates", {
method: "GET",
headers: {
"Authorization": `Bearer ${process.env.TABS_SECRET_KEY}`,
},
});
const rates = await response.json();
console.log(rates);
import requests
response = requests.get(
"https://api.tabsglobal.co/v1/fx/rates",
headers={"Authorization": f"Bearer {API_KEY}"},
)
print(response.json())
{
"USD": {
"buy": 1610.50,
"sell": 1635.00,
"fixedFee": 2500
},
"GBP": {
"buy": 2130.00,
"sell": 2165.50,
"fixedFee": 2500
},
"EUR": {
"buy": 1765.20,
"sell": 1795.00,
"fixedFee": 2500
}
}
Fetches current real-time exchange rates with merchant markups across supported payout currencies (
USD, GBP, EUR).
Scopes required
fx:read or *
Headers
string
required
Bearer API secret key formatted as
Bearer sk_live_... or Bearer sk_test_....Response
object
curl -X GET "https://api.tabsglobal.co/v1/fx/rates" \
-H "Authorization: Bearer sk_live_..."
const response = await fetch("https://api.tabsglobal.co/v1/fx/rates", {
method: "GET",
headers: {
"Authorization": `Bearer ${process.env.TABS_SECRET_KEY}`,
},
});
const rates = await response.json();
console.log(rates);
import requests
response = requests.get(
"https://api.tabsglobal.co/v1/fx/rates",
headers={"Authorization": f"Bearer {API_KEY}"},
)
print(response.json())
{
"USD": {
"buy": 1610.50,
"sell": 1635.00,
"fixedFee": 2500
},
"GBP": {
"buy": 2130.00,
"sell": 2165.50,
"fixedFee": 2500
},
"EUR": {
"buy": 1765.20,
"sell": 1795.00,
"fixedFee": 2500
}
}
