Get Stablecoin Conversion Rates
Retrieve the latest conversion rates for supported stablecoins relative to USD
📄 Endpoint
Note:
- The full request would be: GET https://api.stablecraft.io/v1/rates
- You call it with a Bearer token in the header
- The server responds with live (or simulated) stablecoin conversion rates
🔐 Authentication
Include your API key as a Bearer token in the request header:
📥 Sample Request
Or using JavaScript:
📤 Sample Response
- rates: A map of stablecoin symbols to their USD conversion rates.
- timestamp: ISO timestamp indicating when the rates were last updated.
⚠️ Notes
- Rates are refreshed every 60 seconds.
- Values may differ slightly from centralized exchanges due to on-chain pricing sources.