Endpoint
https://api.llmquant.com/prices/crypto/snapshot
Parameters
Required
The trading pair symbol (e.g. BTCUSDT). Supports comma-separated list for batch requests.
Optional
Market type. One of: spot, futures.
Response
Array of CryptoSnapshot objects.
Price change over the last 24 hours.
Percentage price change over the last 24 hours.
24-hour base asset volume.
Current funding rate (futures only).
Current open interest (futures only).
Timestamp of the snapshot (ISO 8601).
Code Examples
import requests
headers = {"X-API-KEY": "your_api_key_here"}
url = "https://api.llmquant.com/prices/crypto/snapshot?symbol=BTCUSDT"
response = requests.get(url, headers=headers)
snapshot = response.json().get("snapshots")[0]