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

# Strategy vault APY history

> Returns APY chart data for a managed strategy.

export const ApiResponse = ({children, errors = {}}) => {
  const [status, setStatus] = useState("200");
  const statuses = ["200", ...Object.keys(errors)];
  return <section className="api-response" aria-label="Response">
      <div className="api-response-header not-prose">
        <h2>Response</h2>
        <div className="api-response-format">
          {statuses.length > 1 ? <select aria-label="Response status" value={status} onChange={event => setStatus(event.target.value)}>
              {statuses.map(code => <option key={code} value={code}>{code}</option>)}
            </select> : <span>200</span>}
          <span className="api-response-mime">application/json</span>
        </div>
      </div>
      <div hidden={status !== "200"}>{children}</div>
      {status !== "200" && <div aria-live="polite">
          {Object.entries(errors[status]).map(([name, value]) => <ResponseField key={name} name={name} type={value === null ? "null" : Array.isArray(value) ? "array" : typeof value}>
              {name === "error" ? "Error message describing why the request failed." : "Additional error details."}
            </ResponseField>)}
        </div>}
    </section>;
};

## Path parameters

<ParamField path="address" type="string" required>
  Managed strategy address.
</ParamField>

## Query parameters

<ParamField query="timeframeSeconds" type="number" default="86400">
  Requested lookback in seconds. Non-positive or non-finite values fall back to one day.
</ParamField>

<ParamField query="refresh" type="boolean" default="false">
  Refresh the legacy chart cache. Persisted APY history bypasses that cache.
</ParamField>

<RequestExample dropdown>
  ```bash cURL theme={null}
  curl https://api.exponent.finance/strategies/managed/puiRBGikahXM4C7weFtNRFcs7bSUx8wVn1m5v6RA91o/apy-chart
  ```

  ```python Python theme={null}
  import requests

  response = requests.get("https://api.exponent.finance/strategies/managed/puiRBGikahXM4C7weFtNRFcs7bSUx8wVn1m5v6RA91o/apy-chart", timeout=30)
  response.raise_for_status()
  print(response.json())
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch("https://api.exponent.finance/strategies/managed/puiRBGikahXM4C7weFtNRFcs7bSUx8wVn1m5v6RA91o/apy-chart");
  if (!response.ok) {
    throw new Error(`Request failed: ${response.status}`);
  }
  const data = await response.json();
  console.log(data);
  ```
</RequestExample>

<ApiResponse errors={{"404": {"error": "<message>"}, "500": {"error": "<message>"}}}>
  <ResponseField name="address" type="string">
    Requested managed vault address.
  </ResponseField>

  <ResponseField name="data" type="object[]">
    APY observations.

    <Expandable title="child attributes">
      <ResponseField name="snapshotId" type="number | null">
        Snapshot ID shared with position APY history.
      </ResponseField>

      <ResponseField name="timestamp" type="string">
        Snapshot timestamp.
      </ResponseField>

      <ResponseField name="apy" type="number">
        Decimal APY.
      </ResponseField>

      <ResponseField name="apySource" type="string">
        `positionComponents` or `legacyPtAdjusted`.
      </ResponseField>

      <ResponseField name="aum" type="number | null">
        Optional snapshot AUM.
      </ResponseField>

      <ResponseField name="managementFee" type="number | null">
        Optional annual management fee as a decimal.
      </ResponseField>

      <ResponseField name="ptWeight" type="number | null">
        Principal-token weight, where available.
      </ResponseField>
    </Expandable>
  </ResponseField>

  <ResponseField name="aumData" type="object[]">
    Optional independent AUM observations from persisted APY history.

    <Expandable title="child attributes">
      <ResponseField name="snapshotId" type="number | null">
        Snapshot identifier shared with the position-APY history endpoint.
      </ResponseField>

      <ResponseField name="timestamp" type="string">
        Snapshot timestamp.
      </ResponseField>

      <ResponseField name="aum" type="number">
        Snapshot AUM.
      </ResponseField>
    </Expandable>
  </ResponseField>
</ApiResponse>

<ResponseExample>
  ```json 200 theme={null}
  {
    "address": "puiRBGikahXM4C7weFtNRFcs7bSUx8wVn1m5v6RA91o",
    "data": [
      {
        "snapshotId": 229523,
        "timestamp": "2026-10-13T16:32:31+00:00",
        "apy": 0.05180373227575127,
        "apySource": "positionComponents",
        "aum": 37526628905035,
        "managementFee": 0.001,
        "ptWeight": null
      },
      {
        "snapshotId": 229583,
        "timestamp": "2026-10-13T17:32:25+00:00",
        "apy": 0.051803730479816984,
        "apySource": "positionComponents",
        "aum": 37526634780814,
        "managementFee": 0.001,
        "ptWeight": null
      }
    ],
    "aumData": [
      {
        "snapshotId": 229460,
        "timestamp": "2026-10-13T15:32:43+00:00",
        "aum": 37526618015609
      },
      {
        "snapshotId": 229523,
        "timestamp": "2026-10-13T16:32:31+00:00",
        "aum": 37526628905035
      }
    ]
  }
  ```

  ```json 404 theme={null}
  {
    "error": "<message>"
  }
  ```

  ```json 500 theme={null}
  {
    "error": "<message>"
  }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.