Skip to main content

Endpoint

GET
string
https://api.llmquant.com/prices/crypto/snapshot

Parameters

Required

symbol
string
required
The trading pair symbol (e.g. BTCUSDT). Supports comma-separated list for batch requests.

Optional

market_type
string
default:"spot"
Market type. One of: spot, futures.

Response

snapshots
array
Array of CryptoSnapshot objects.

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]