GET
/api/v1/spot/price/{base}Hobbyist tier+ · 30 req/minLatest spot price for a single coin across every reporting venue.
Returns the freshest spot tick (`bestPrice`/`bestSource`/`bestTs`) plus the full per-venue comparison list.
Path parameters
Segments of the URL path, validated server-side.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| base | string | required | — | Base asset (e.g. `BTC`). |
Query parameters
This endpoint takes no query parameters.
Response shape
Always wrapped in the standard envelope. Nullable fields are explicitly marked — treat missing numeric data as a real data-source gap, not as an error.
data payloadtypescript
// Wrapped in the standard envelope:
// {
// data: /* shape below */,
// meta?: { total?: number; limit?: number; offset?: number; ... }
// }
{
base: string;
bestPrice: number | null;
bestSource: string | null;
bestTs: number | null;
venues: Array<{ source: string; price: number; ts: number; canonicalSymbol: string }>;
}Example
Copy the curl, replace YOUR_KEY with a real key from your dashboard, and run.
Requestbash
curl -sS "http://localhost:3000/api/v1/spot/price/BTC" \
-H "Authorization: Bearer cg_live_YOUR_KEY"Responsejson
{
"data": {
"base": "BTC",
"bestPrice": 63180.5,
"bestSource": "binance",
"bestTs": 1744834810000,
"venues": [
{ "source": "binance", "price": 63180.5, "ts": 1744834810000, "canonicalSymbol": "BTCUSDT" }
]
},
"meta": { "total": 1 }
}Next
Check the error code reference, or get an API key to try the request against your own account.