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

GET
/v1/marketdata/venue-history

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:

venuemetricsource
robinhood, basepriceCoinGecko onchain price on that chain; 0x price on that chain when CoinGecko has no row in the window
solanapriceJupiter price
hyperliquidpriceHyperliquid spot mid
hyperliquid-perppriceHyperliquid perp mid
hyperliquid-perpfundingHyperliquid hourly funding rate as a decimal fraction
cefipriceCeFi EBBO midpoint, (bid + ask) / 2

Query Parameters

asset_id*string

Backend asset ID.

Formatuuid
venue*string

Venue whose series to read.

Value in"robinhood""base""solana""hyperliquid""hyperliquid-perp""cefi"
metric?string

Series to read. funding is served only for hyperliquid-perp.

Default"price"
Value in"price""funding"
window*string

Lookback period (e.g. 1h, 1d, 7d), at most 30d and at most 50,000 intervals.

interval*string

Bucket size.

Value in"5s""30s""1m""5m""1h"

Response Body

The venue's series for the asset

application/json
  1. response
asset_id*string

Backend asset ID

Formatuuid
venue*string

The venue the series was read from

metric*string

The series read, price or funding

interval*string

The bucket size

points*array<>

One point per bucket with data, oldest first

Example Request
curl -X GET 'https://api.truemarkets.co/v1/marketdata/venue-history?asset_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&venue=robinhood&window=string&interval=5s'
Example Response
{  "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",  "venue": "string",  "metric": "string",  "interval": "string",  "points": [    {      "t": "2019-08-24T14:15:22Z",      "v": "string"    }  ]}