Skip to content

Crypto Prices

Retrieve current cryptocurrency prices and exchange rates used for transaction calculations.

Terminal window
curl -X GET https://quinix.byteconnect.us/crypto_prices
{
"success": true,
"prices": {
"BTC": 67500.00,
"LTC": 85.50,
"ETH": 3450.00,
"BCH": 485.00,
"DASH": 32.50,
"DOGE": 0.125,
"USDT": 1.00
},
"timestamp": "2024-03-15T14:30:00Z"
}
FieldTypeDescription
pricesobjectCurrent USD price for each cryptocurrency
timestampstringWhen prices were last updated
CurrencySymbolDescription
BitcoinBTCPrimary cryptocurrency
LitecoinLTCFast, low-fee transactions
EthereumETHSmart contract platform
Bitcoin CashBCHBitcoin fork with larger blocks
DashDASHPrivacy-focused cryptocurrency
DogecoinDOGECommunity-driven cryptocurrency
TetherUSDTUSD-pegged stablecoin

Prices are used to:

  1. Calculate crypto amounts - When creating a transaction, the USD amount is converted to crypto using these rates
  2. Display equivalents - Show customers the USD value of their payment
  3. Lock exchange rates - Rates are locked when a transaction is created

When you create a transaction:

  1. Current exchange rate is captured
  2. Rate is locked for the transaction timeout period (typically 15 minutes)
  3. Customer pays the locked crypto amount regardless of price fluctuations
  4. You receive the exact USD equivalent specified

Prices are updated approximately every 60 seconds. For the most accurate conversion, create transactions close to when the customer is ready to pay.