Prerequisites
- Access to the DeFi Orbit dashboard
- A wallet address to query
1
Create an API key
Open API Keys and create a key. The API key starts with
do_sk_. Copy and store the full key securely when creating it.2
Call the summary endpoint
Send your API key in the Authorization header as a Bearer token. Replace the example wallet address with the wallet you want to query.
- curl
- JavaScript
- Python
3
Read the counts
data.total_active is the number of active positions. data.total_inactive is the number of inactive positions.429, 502, 503, and 504 as shown in Errors and rate limits.