For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/market-data/get-price-at-time.md.
Get price at a point in time
Returns the last known price for an asset at or before the given timestamp. Use this to value a position, settle a trade, or anchor a calculation to a specific moment in time.
asset_id?stringBackend asset ID. Mutually exclusive with symbol: exactly one of
the two is required, and naming both is a 400.
uuidsymbol?stringDeprecatedAsset symbol to look up (e.g. SOL, BTC).
timestamp*integerUnix timestamp in seconds. The response returns the most recent price at or before this moment.
int64asset_class?stringAsset class to resolve the symbol in. Defaults to spot.
"spot""spot""perp"Price at the requested point in time
application/json- response
asset_id?stringBackend asset ID. Absent on the CeFi routes.
uuidsymbol?stringThe asset symbol
timestamp?integerUnix timestamp of the actual data point returned
int64price?stringPrice at the returned timestamp
curl -X GET 'https://api.truemarkets.co/v1/defi/market/prices/history/point?timestamp=0'{ "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4", "symbol": "string", "timestamp": 0, "price": "string"}Get price history for a symbol GET
Returns historical price points for an asset over a configurable lookback window, sampled at a configurable resolution. Use for charting and time-series analysis.
Get price history for multiple symbols GET
Returns price history for multiple symbols in a single request. Each symbol is resolved independently — an unknown or failing symbol returns a per-symbol error in its result entry instead of failing the whole batch, so partial results are still returned.