> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trusset.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Price History

> Retrieve oracle price history for a market

Returns the current oracle price and recorded price history for charting.

## Path Parameters

<ParamField path="marketId" type="string" required>Market ID.</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.trusset.org/lending-stocks/api/positions/{marketId}/price-history" \
    -H "X-API-Key: trusset_your_key_here"
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "data": {
      "currentPrice": 185.5,
      "history": [
        { "timestamp": 1718380800000, "price": 184.25 },
        { "timestamp": 1718384400000, "price": 185.10 },
        { "timestamp": 1718388000000, "price": 185.50 }
      ],
      "symbol": "tAAPL",
      "marketId": "clx_market_001"
    }
  }
  ```
</ResponseExample>
