- Get Positions: Retrieve all positions for a wallet across supported platforms
- Get Platforms: Discover all platforms and protocols supported by the Portfolio API
- Get Staked JUP: Query staking information for Jupiter’s governance token
Get Positions
The Get Positions endpoint allows you to retrieve comprehensive position data for a wallet across all supported platforms. To get positions for a wallet, make a GET request to/positions/{address}:
| Parameter | Type | Location | Required | Description |
|---|---|---|---|---|
| address | string | path | Yes | The Solana wallet address you want to query |
| platforms | string | query | No | Optional comma-separated list of platform IDs to filter results (e.g., jupiter-exchange,jupiter-governance) |
Only Jupiter platforms are supported currently. We do not have plans to support all/other platforms yet.
Response Structure
The response contains an array ofelements, where each element represents a position (wallet balance, staking position, liquidity pool, etc.). Each element includes:
type: The type of position (multiple,liquidity,leverage,borrowlend,trade)label: Human-readable label (e.g.,Wallet,Staked,LiquidityPool,LimitOrder,DCA)platformId: ID of the platform this position belongs tovalue: USD value of the positiondata: Position-specific data that varies by type
tokenInfo which contains token metadata (name, symbol, decimals, logoURI, etc.) organized by network, and fetcherReports which shows the status of each platform queried.
The
data field structure varies significantly depending on the type of element. Each type has its own required and optional fields. Refer to the API reference for complete schema details.If you need help, reach out to us in Discord.Get Platforms
Before querying positions, you might want to discover which platforms are supported by the Portfolio API. The Get Platforms endpoint returns a comprehensive list of all available platforms with their metadata.id: Unique identifier for the platform - use this with theplatformsquery parameter in Get Positionsname: Display name of the platformimage: URL to the platform’s logo/imagedescription: Description of what the platform doestags: Array of tags categorizing the platform (e.g.,swap,staking,governance)links: Optional object containing platform links (website, discord, twitter, etc.)isDeprecated: Whether the platform is deprecated
Get Staked JUP
The Get Staked JUP endpoint provides staking information specifically for Jupiter’s governance token (JUP). This is useful since it is a simpler way to query for staking status, unstaking schedules, and total staked amounts. To get staking information for a wallet, make a GET request to/staked-jup/{address}:
stakedAmount: Total amount of JUP currently staked (in native token units, before decimals are applied)unstaking: Array of unstaking schedules, each containing:amount: Amount being unstaked (in native token units)until: Unix timestamp when the unstaking period ends
