For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tracking Strategy Allocations

Add Maple strategy allocations to your tracking. Query each Pool's position in each strategy, its value and the yield it earns from the Maple GraphQL API.

Maple Pools such as syrupUSDC, syrupUSDT and syrupUSDG deploy capital in two ways: overcollateralized loans, and strategies. A strategy deploys part of a Pool's liquidity into a venue such as U.S. Treasuries, Aave V3, Sky or DeFi markets. If you track Maple Pools as a partner, add strategies to your tracking so you get a complete picture of all allocations.

What changes for your tracking

Total AUM from the API does not change. The AUM figures the API already returns include capital in strategies, so a dashboard that reads AUM keeps working without changes.

Loans and collateral no longer add up to AUM on their own. Part of each Pool's capital now sits in strategies rather than in loans. If you rebuild AUM from the underlying loans and their collateral, add the strategy allocations to close the gap.

AUM breaks down into four parts:

AUM = loansUsd + collateralUsd + assetsUsd + assetsInStrategiesUsd

Component
What it is
Where to get it

loansUsd

Principal outstanding on active loans

syrupGlobals.aumTimeSeries, or openTermLoans / nativeLoans per loan

collateralUsd

USD value of collateral posted against those loans

syrupGlobals.aumTimeSeries, or poolCollaterals per Pool

assetsUsd

Cash held by the Pools

syrupGlobals.aumTimeSeries, or poolV2.assets per Pool

assetsInStrategiesUsd

Capital the Pools have allocated to strategies

syrupGlobals.aumTimeSeries, or the sum of currentValue over a Pool's strategy positions

The per-strategy and per-Pool detail behind assetsInStrategiesUsd is described below.

How strategies are structured

  • Strategy Manager. Each strategy runs through its own Strategy Manager contract on Ethereum mainnet. One Strategy Manager can serve several Pools, so syrupUSDC and syrupUSDT can hold positions in the same strategy.

  • Positions. A position is one Pool's stake in one strategy. Its currentValue is the live onchain value of that Pool's share, in the Pool asset's decimals.

  • Strategy types. strategyType is Allocation, Aave (Aave V3) or Sky. An Allocation strategy's onchain metadata gives its category: U.S. Treasuries, DeFi, DEX LP or Maple Trading. Aave V3 and Sky strategies count as DeFi.

  • Active strategies. Filter on active: true to return only the strategies in use.

For how the contracts work, see How Pools Allocate Capital.

Example queries

All queries run against the public Maple GraphQL API at https://api.maple.finance/v2/graphql and need no authentication. Addresses sent to the API must be lowercase.

Pool

poolId

syrupUSDC

0x80ac24aa929eaf5013f6436cda2a7ba190f5cc0b

syrupUSDT

0x356b8d89c1e1239cbbb9de4815c39a1474d5ba7d

syrupUSDG

0x87b65c4aaffa76881f9e96f3e7ed945ddfc3cd7a

AUM breakdown, including strategies

Returns daily AUM split into loans, collateral, cash and strategies. Use it to reconcile the headline AUM against the loan book.

Reading this example: the USD fields use 8 decimals, so the day's AUM is $1,500.3M loans + $2,196.2M collateral + $34.3M cash + $125.0M in strategies = $3,855.8M. The figures are illustrative.

List strategies

Returns every active strategy with its fees, caps and the Pools that hold a position in it. It is also the live list of strategy addresses.

One Pool's allocations

Returns one Pool's positions across all active strategies. The sum of currentValue is that Pool's capital in strategies.

Variables:

Reading this example: USDC has 6 decimals, so the Pool's USTB position is worth $75.0M and its Aave V3 position $50.0M, $125.0M in strategies in total. The figures are illustrative.

One strategy's activity and yield

Returns one strategy's latest activity, newest first. strategyManagerTxes holds the flows between Pools and the strategy. strategyTxes holds the strategy's own operations, including realizeYield. The query drops collectFees rows with a zero amount.

Variables:

Reading this example:

  • The fund row shows the Pool sending $25.0M (USDC, 6 decimals) into the strategy in exchange for strategy shares.

  • The realizeYield row reports $312,500 of gross yield. After the $31,250 protocol fee, $281,250 of net yield vests into the strategy's value over 7 days (duration of 604800 seconds).

The figures are illustrative.

How yield shows up

  • Allocation strategies realize yield in steps through realizeYield transactions. amount is gross of delegateFee and protocolFee. The net yield vests linearly into the strategy's value until allocationStrategy.yieldDeadline. See Allocation Strategy.

  • Aave V3 and Sky strategies accrue yield continuously. Measure it from the change in currentValue over time. See Aave V3 Strategy and Sky Strategy.

Units and parsing

Field
Units
Example raw value
Parsed value

currentValue, depositedAssets, withdrawnAssets, caps, amount

Pool asset decimals (fundsAsset.decimals, or a transaction's decimals)

1000000000 (USDC, 6 decimals)

1,000 USDC

Transaction value

USD, 6 decimals

1000000000

$1,000

delegateFeeRate, protocolFeeRate

6 decimals, 1000000 = 100%

100000

10%

aumTimeSeries USD fields

USD, 8 decimals

100000000000

$1,000

timestamp, yieldDeadline

Unix seconds

1794268800

Tue, 10 Nov 2026

Caveats

  • Strategy AUM sits slightly below onchain AUM. A strategy's AUM is the sum of currentValue over its positions. Each strategy also holds bootstrap shares worth 1e6 base units (1 token) that belong to no Pool. They appear as a fund transaction whose pool is null.

  • currentValue is always live. It returns the latest value and ignores the block argument. For history, use aumTimeSeries or store snapshots.

  • Losses show in two places. Allocation strategy losses show in a position's unrealizedLosses. Aave V3 and Sky losses show in the Strategy Manager's impairedAssets and state, not in unrealizedLosses.

Contracts and source code

Getting help

Email partnerships@maple.finance with questions, or to request data the API does not expose yet.

Last updated

Was this helpful?