Dashboard
Live BTC prices
GET
/api/merchants/pricesCurrent BTC price in every supported fiat currency. Cached server-side. No auth. Use it to convert a cart total to amount_sats before creating a payment.
- Responds
{ success, prices, currencies, cached, cache_age_seconds, timestamp }.pricesmaps currency code to the BTC price in that currency.
Authentication
No authentication required.
GET
/api/merchants/pricescurl "https://api.trevi.cash/api/merchants/prices"Was this page helpful?
