Retrieve the latest conversion rates for supported stablecoins relative to USD
Endpoint: GET /rates
Authorization: Bearer YOUR_API_KEY
curl https://api.stablecraft.io/v1/rates \ -H "Authorization: Bearer YOUR_API_KEY"
fetch('https://api.stablecraft.io/v1/rates', { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }) .then(res => res.json()) .then(data => console.log(data));
{ "rates": { "USDC": 1.00, "USDT": 0.9998, "DAI": 1.0012 }, "timestamp": "2025-04-26T19:00:00Z" }