Configuration
List Crypto→Fiat Pairs
Retrieve all supported crypto-to-fiat trading pairs for the off-ramp flow, including country, fiat symbol, crypto symbol, and trade decimal precision.
GET
/
v2
/
base
/
sell
/
symbols
List Crypto→Fiat Pairs
curl --request GET \
--url https://api-test.velafi.com/v2/base/sell/symbols \
--header 'X-BH-TOKEN: <api-key>'import requests
url = "https://api-test.velafi.com/v2/base/sell/symbols"
headers = {"X-BH-TOKEN": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-BH-TOKEN': '<api-key>'}};
fetch('https://api-test.velafi.com/v2/base/sell/symbols', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api-test.velafi.com/v2/base/sell/symbols")
.header("X-BH-TOKEN", "<api-key>")
.asString();{
"code": 123,
"msg": "<string>",
"data": [
{
"country": "<string>",
"fiat": "<string>",
"crypto": "<string>",
"accuracy": 123
}
]
}Use the GET
/v2/base/sell/symbols endpoint to retrieve every crypto-to-fiat trading pair that VelaFi supports for its off-ramp flow. Each pair specifies the source cryptocurrency alongside the destination fiat currency and the country the fiat belongs to. Use these pairs to validate a user’s intended off-ramp conversion before requesting a quote or creating an order.
Request
GET /v2/base/sell/symbols
Headers
| Header | Value | Required |
|---|---|---|
X-BH-TOKEN | Your token from GET /v2/token/generate | ✓ |
Query Parameters
This endpoint takes no query parameters.Response Fields
number
HTTP-style status code.
200 indicates success.string
Human-readable status message, e.g.
"SUCCESS".array
Array of crypto/fiat trading pair objects.
Show data[]
Show data[]
string
Name of the country associated with the destination fiat currency (e.g.,
"Mexico").string
ISO 4217 code for the destination fiat currency (e.g.,
"MXN", "USD").string
Ticker symbol for the source cryptocurrency (e.g.,
"USDT").number
Number of decimal places used for trade amounts in this pair.
Example
cURL
curl --request GET \
--url 'https://api.velafi.com/v2/base/sell/symbols' \
--header 'X-BH-TOKEN: YOUR_TOKEN'
Response
{
"code": 200,
"msg": "SUCCESS",
"data": [
{
"country": "Mexico",
"fiat": "MXN",
"crypto": "USDT",
"accuracy": 2
},
{
"country": "United States",
"fiat": "USD",
"crypto": "USDT",
"accuracy": 2
}
]
}
Cross-reference this list with the off-ramp payment methods endpoint (
GET /v2/base/sell/payments) to confirm that at least one payment method exists for your chosen pair before presenting it to users.Was this page helpful?
⌘I
List Crypto→Fiat Pairs
curl --request GET \
--url https://api-test.velafi.com/v2/base/sell/symbols \
--header 'X-BH-TOKEN: <api-key>'import requests
url = "https://api-test.velafi.com/v2/base/sell/symbols"
headers = {"X-BH-TOKEN": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-BH-TOKEN': '<api-key>'}};
fetch('https://api-test.velafi.com/v2/base/sell/symbols', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api-test.velafi.com/v2/base/sell/symbols")
.header("X-BH-TOKEN", "<api-key>")
.asString();{
"code": 123,
"msg": "<string>",
"data": [
{
"country": "<string>",
"fiat": "<string>",
"crypto": "<string>",
"accuracy": 123
}
]
}