2 Months Free · Annually

One call. Complete
DeFi positions

Positions, health factor, yield, LP breakdowns, and activity across Blend, Aquarius, and more.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
GET /v1/users/G.../positions
{
"summary": {
"total_deposits_usd": 12450.32,
"total_borrows_usd": 4200.11,
"health_factor": 1.82
},
"positions": [
{
"protocol": "blend",
"deposits": [...],
"borrows": [...]
}
],
"prices": {...}
}
Trusted by 5,000+ companies
of all sizes
Use Cases

What you get

Everything returned in a single API response, normalized across protocols.

Positions

Deposits, borrows, and collateral across protocols, normalized in USD.

Health Factor

Real-time risk metrics aligned with on-chain calculations.

Yield & APY

Current rates and accrued yield across positions.

Supported Protocols

Positions across every major
Stellar DeFi protocol

Unified data from lending, AMMs, and DEX liquidity, returned in a single response.

Blend

Lending and borrowing positions with health factor and borrow limits.

Aquarius

LP positions with pool share and reward emissions.

Soroswap

DEX liquidity with constant product pool breakdown.

1
2
3
4
5
6
7
curl -X GET "https://api.orion.xyz/v1/users/0xS5...XYZ/positions" \
-H "Authorization: Bearer sk_live_your_api_key" \
-H "Content-Type: application/json" \
-H "Orion-Version: 1.0" \
-G \
--data-urlencode "protocols=blend,aquarius" \
--data-urlencode "include_prices=true"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"summary": {
"deposits_usd": 12450.32,
"borrows_usd": 4200.11,
"health_factor": 1.82
},
"positions": [
{
"protocol": "blend",
"deposits": [{ "asset": "USDC", "value_usd": 8200 }],
"borrows": [{ "asset": "XLM", "value_usd": 4200 }]
},
{
"protocol": "aquarius",
"lp": [{ "pool": "XLM/USDC", "value_usd": 2250 }]
}
]
}
Get Started

Ready to build?

Start getting Web Data for free and scale seamlessly as your project expands. No credit card needed.

Get Started

Need help
integrating?

Book a session and we'll walk you through the API.