Skip to main content
GET
/
v2
/
portfolios
/
{portfolioId}
/
performance
curl --request GET \
  --url 'https://api.glider.fi/v2/portfolios/pf_01JWZEE2MF30KVRMRX53N88VA4/performance' \
  --header 'x-api-key: gldr_sk_your_api_key'
{
  "success": true,
  "data": {
    "portfolioId": "pf_01JWZEE2MF30KVRMRX53N88VA4",
    "strategyId": "01JWZEE2MF30KVRMRX53N88VA4",
    "meta": {
      "method": "TWR",
      "currency": "USD",
      "resolution": "1d",
      "asOf": "2026-04-30T12:00:00.000Z"
    },
    "points": [
      {
        "date": "2026-04-28",
        "percentChange": "0.0000",
        "valueUsd": "1000",
        "cashFlowUsd": "0"
      },
      {
        "date": "2026-04-29",
        "percentChange": "1.2000",
        "valueUsd": "912",
        "cashFlowUsd": "-100"
      },
      {
        "date": "2026-04-30",
        "percentChange": "2.5000",
        "valueUsd": "1025",
        "cashFlowUsd": "100",
        "isLive": true
      }
    ],
    "summary": {
      "windows": [
        { "window": "1d", "percentChange": "1.2846", "since": "2026-04-29" }
      ]
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.glider.fi/llms.txt

Use this file to discover all available pages before exploring further.

Returns a daily performance curve for the authenticated tenant’s portfolio. Performance is reported as time-weighted return (TWR), with deposits and withdrawals reflected separately as daily cash flow.
  • Auth: x-api-key header (required)
  • Scope: portfolios:read
portfolioId
string
required
Portfolio identifier returned by POST /v2/enroll or GET /v2/portfolios.
Common error responses:
  • 400 when the path parameter is invalid
  • 401 when x-api-key header is missing or the key is invalid
  • 403 when the API key lacks the portfolios:read scope
  • 404 when the portfolio does not exist or does not belong to the tenant
  • 500 on unexpected server errors
curl --request GET \
  --url 'https://api.glider.fi/v2/portfolios/pf_01JWZEE2MF30KVRMRX53N88VA4/performance' \
  --header 'x-api-key: gldr_sk_your_api_key'
The response carries a meta block describing the calculation method and a summary block with available lookback returns. summary is omitted when there are not enough points to calculate a lookback.
  • meta.method is TWR (time-weighted return).
  • meta.resolution is 1d; points[] has at most one entry per UTC date.
  • points[].percentChange is cumulative TWR since the first returned point, or null when a return is unavailable for that point.
  • points[].valueUsd is the portfolio value for that UTC day.
  • points[].cashFlowUsd is the signed net cash flow for that UTC day: positive on net-deposit days, negative on net-withdrawal days, 0 otherwise.
  • summary.windows[] carries lookbacks ordered shortest to longest (1d, 1w, 1m, 3m, 6m, 12m) when enough history is available.
{
  "success": true,
  "data": {
    "portfolioId": "pf_01JWZEE2MF30KVRMRX53N88VA4",
    "strategyId": "01JWZEE2MF30KVRMRX53N88VA4",
    "meta": {
      "method": "TWR",
      "currency": "USD",
      "resolution": "1d",
      "asOf": "2026-04-30T12:00:00.000Z"
    },
    "points": [
      {
        "date": "2026-04-28",
        "percentChange": "0.0000",
        "valueUsd": "1000",
        "cashFlowUsd": "0"
      },
      {
        "date": "2026-04-29",
        "percentChange": "1.2000",
        "valueUsd": "912",
        "cashFlowUsd": "-100"
      },
      {
        "date": "2026-04-30",
        "percentChange": "2.5000",
        "valueUsd": "1025",
        "cashFlowUsd": "100",
        "isLive": true
      }
    ],
    "summary": {
      "windows": [
        { "window": "1d", "percentChange": "1.2846", "since": "2026-04-29" }
      ]
    }
  }
}