The Trinity Beast
Real-time cryptocurrency price API
Price Endpoints
WebSocket
Authentication
GET/price
Returns the latest price for a single asset. Price is served from the in-memory WebSocket cache — no database round-trip. The source field tells you which exchange the price came from.
| Parameter | Type | Description |
| asset | string | Asset symbol (lowercase), e.g. btc, eth, sol |
| Authorization | header | Bearer YOUR_API_KEY |
POST/pricesNEW
Batch price lookup — fetch up to 30 assets in a single request. The entire batch counts as 1 request against your rate limits. Perfect for portfolio dashboards and watchlists. Better than Kraken: partial failures don't break the batch — every asset that resolves is returned, every asset that fails is named in failed[]. One round-trip, useful data on the first call.
| Parameter | Type | Description |
| assets | string[] | JSON array of asset symbols, e.g. ["BTC", "ETH", "SOL"] |
| Authorization | header | Bearer YOUR_API_KEY |
WS/ws/pricesPartner tier · PrivateLink
Real-time WebSocket price stream for Partners. Subscribe to a list of assets and receive push updates as exchanges emit them. No polling, no per-request cost. Partners connect via AWS PrivateLink for private-VPC delivery.
// API response — 9-decimal precision, all exchanges
Prices are served to 9 decimal places — the full precision of the WebSocket feed.
No rounding, no truncation. Your application decides how many decimals to display.