For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/market-data/get-venue-history.md.
Get one venue's price or funding series for an asset
Returns a single venue's series for an asset, one point per interval
bucket holding the last value seen in it. Buckets with no data are
omitted. Points are oldest first. Internal: Envoy does not route this
path, so only services inside the network reach it.
A request is capped at 50,000 buckets: window divided by interval
above that is a 400 (30d at 1m is 43,200 and allowed; 7d at 5s
is 120,960 and rejected).
Sources per venue, all matched on asset_id:
| venue | metric | source |
|---|---|---|
robinhood, base | price | CoinGecko onchain price on that chain; 0x price on that chain when CoinGecko has no row in the window |
solana | price | Jupiter price |
hyperliquid | price | Hyperliquid spot mid |
hyperliquid-perp | price | Hyperliquid perp mid |
hyperliquid-perp | funding | Hyperliquid hourly funding rate as a decimal fraction |
cefi | price | CeFi EBBO midpoint, (bid + ask) / 2 |
asset_id*stringBackend asset ID.
uuidvenue*stringVenue whose series to read.
"robinhood""base""solana""hyperliquid""hyperliquid-perp""cefi"metric?stringSeries to read. funding is served only for hyperliquid-perp.
"price""price""funding"window*stringLookback period (e.g. 1h, 1d, 7d), at most 30d and at most 50,000 intervals.
interval*stringBucket size.
"5s""30s""1m""5m""1h"The venue's series for the asset
application/json- response
asset_id*stringBackend asset ID
uuidvenue*stringThe venue the series was read from
metric*stringThe series read, price or funding
interval*stringThe bucket size
points*array<>One point per bucket with data, oldest first
curl -X GET 'https://api.truemarkets.co/v1/marketdata/venue-history?asset_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&venue=robinhood&window=string&interval=5s'{ "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4", "venue": "string", "metric": "string", "interval": "string", "points": [ { "t": "2019-08-24T14:15:22Z", "v": "string" } ]}Get CeFi min/max price over a window GET
Returns the minimum and maximum bid/ask midpoint price observed for a CeFi instrument within a configurable lookback window, along with the timestamps at which each extreme occurred. See the [Time Window & Resolution](#section/Time-Window-and-Resolution) section for the format of `window`.
Market data WebSocket
Next Page