cURL
curl --request GET \ --url https://api.railsfromthecrypt.com/v1/rates \ --header 'x-api-key: <x-api-key>'
{ "message": "Rate retrieved successfully", "data": { "fromCurrency": "NGN", "toCurrency": "USDT", "rate": "1560.63", "status": "live", "timestamp": "2024-01-01T00:00:00.000Z" } }
API key for authentication
Source currency (fiat or crypto)
NGN
GHS
KES
ZAR
USD
EUR
GBP
USDC
USDT
Target currency (opposite type of fromCurrency)
Rate retrieved successfully
"Rate retrieved successfully"
Show child attributes