List Aerodrome V3 Positions
curl --request GET \
--url https://api.defiorbit.xyz/v1/positions/aerodromev3 \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.defiorbit.xyz/v1/positions/aerodromev3', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.defiorbit.xyz/v1/positions/aerodromev3"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.defiorbit.xyz/v1/positions/aerodromev3"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.defiorbit.xyz/v1/positions/aerodromev3")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.defiorbit.xyz/v1/positions/aerodromev3")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.defiorbit.xyz/v1/positions/aerodromev3",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": [
{
"token_id": "1",
"chain_id": 8453,
"manager_address": "0x827922686190790b37229fd06084350e74485b72",
"wallet": "0xbf7620d0377b0660a6cbaef5cdfe2e00eddc1495",
"is_active": true,
"position_state": {
"id": "1",
"owner": "0xbf7620d0377b0660a6cbaef5cdfe2e00eddc1495",
"liquidity": "123456789",
"tickLower": "-887220",
"tickUpper": "887220",
"token0": {
"id": "0xweth",
"symbol": "WETH",
"decimals": 18,
"name": "Wrapped Ether"
},
"token1": {
"id": "0xusdc",
"symbol": "USDC",
"decimals": 6,
"name": "USD Coin"
},
"pool": {
"id": "0xpool",
"tick": "0",
"feeTier": "100"
},
"chain": {
"id": 8453
},
"protocol": {
"code": "aerodrome"
}
}
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 3,
"next_page": null,
"prev_page": null
},
"counts": {
"totalActive": 3,
"totalInactive": 2,
"total": 5,
"filtered": 3,
"errors": 0,
"spams": []
},
"request_id": "req_..."
}{
"error": {
"code": "INVALID_PARAMETER",
"message": "page must be a positive integer.",
"request_id": "req_..."
}
}{
"error": {
"code": "INVALID_API_KEY",
"message": "Missing API key.",
"request_id": "req_..."
}
}{
"error": {
"code": "INSUFFICIENT_CREDITS",
"message": "Insufficient API credits.",
"request_id": "req_..."
}
}{
"error": {
"code": "ACCOUNT_SUSPENDED",
"message": "This organization is suspended.",
"request_id": "req_..."
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Please try again later.",
"request_id": "req_..."
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"request_id": "req_..."
}
}List Aerodrome V3 Positions
All active Slipstream CL positions for a wallet on Base (chain_id=8453). Use status=inactive for closed positions.
Credits: 2 per position returned on this page.
These queries have their own credit cost.
| Query | Credits per returned position |
|---|---|
status=inactive | 1 |
full=true | 15 |
GET
https://api.defiorbit.xyz
/
v1
/
positions
/
aerodromev3
List Aerodrome V3 Positions
curl --request GET \
--url https://api.defiorbit.xyz/v1/positions/aerodromev3 \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.defiorbit.xyz/v1/positions/aerodromev3', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.defiorbit.xyz/v1/positions/aerodromev3"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.defiorbit.xyz/v1/positions/aerodromev3"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.defiorbit.xyz/v1/positions/aerodromev3")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.defiorbit.xyz/v1/positions/aerodromev3")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.defiorbit.xyz/v1/positions/aerodromev3",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"data": [
{
"token_id": "1",
"chain_id": 8453,
"manager_address": "0x827922686190790b37229fd06084350e74485b72",
"wallet": "0xbf7620d0377b0660a6cbaef5cdfe2e00eddc1495",
"is_active": true,
"position_state": {
"id": "1",
"owner": "0xbf7620d0377b0660a6cbaef5cdfe2e00eddc1495",
"liquidity": "123456789",
"tickLower": "-887220",
"tickUpper": "887220",
"token0": {
"id": "0xweth",
"symbol": "WETH",
"decimals": 18,
"name": "Wrapped Ether"
},
"token1": {
"id": "0xusdc",
"symbol": "USDC",
"decimals": 6,
"name": "USD Coin"
},
"pool": {
"id": "0xpool",
"tick": "0",
"feeTier": "100"
},
"chain": {
"id": 8453
},
"protocol": {
"code": "aerodrome"
}
}
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 3,
"next_page": null,
"prev_page": null
},
"counts": {
"totalActive": 3,
"totalInactive": 2,
"total": 5,
"filtered": 3,
"errors": 0,
"spams": []
},
"request_id": "req_..."
}{
"error": {
"code": "INVALID_PARAMETER",
"message": "page must be a positive integer.",
"request_id": "req_..."
}
}{
"error": {
"code": "INVALID_API_KEY",
"message": "Missing API key.",
"request_id": "req_..."
}
}{
"error": {
"code": "INSUFFICIENT_CREDITS",
"message": "Insufficient API credits.",
"request_id": "req_..."
}
}{
"error": {
"code": "ACCOUNT_SUSPENDED",
"message": "This organization is suspended.",
"request_id": "req_..."
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Please try again later.",
"request_id": "req_..."
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"request_id": "req_..."
}
}Authorizations
Query Parameters
Wallet address.
Example:
"0xbf7620d0377b0660a6cbaef5cdfe2e00eddc1495"
Omit for active positions. Set to inactive for closed positions. Default: active.
Available options:
inactive Boolean. Include full=true for the detailed payload. Omit otherwise. On list endpoints this returns active positions only.
Page. Default: 1.
Maximum 25. Default: 10.
Required range:
x <= 25