Credit Usage
The Portfolio API operates on a credit-based system, where each request consumes credits based on the modules included in the response. This ensures efficient usage and cost control for developers.
How Credits Are Consumed
Credits are only charged when all returned data is fresh (i.e., no stale data in the response).
Each module has an associated credit cost, which is deducted when queried.
If a request includes multiple modules, the total credit cost is the sum of all queried modules.
Coverage
User portfolio data is grouped into one of several modules. some of which have subgroups. A single module or subgroup will contain positions fetched from a number DeFi providers.
A complete list of providers can be found here
Module Credit Costs
Below are the current credit costs per module:
"dex"
Decentralized exchanges. e.g. Openbook
"domain"
Solana domain name services
"farm"
Yield farms
"lending"
Lending platforms
'liquidity"
Liquidity pools
"margin"
Margin platforms, e.g. Drift
"nft"
Metaplex NFTs and cNFTs
"nftmarket"
NFT DeFi platforms, e.g. Tensor
"staking"
Single-sided staking protocols
"token"
Spot and Yield Bearing fungible tokens
"validator"
Staked solana validator positions
"vault"
Automated strategies, e.g. Hawksight
Last updated