/v1/pool
A single liquidity pool by id (omit for the top pool)
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/stellarpools-api/v1/pool" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stellarpools-api/v1/pool", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stellarpools-api/v1/pool");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/stellarpools-api/v1/pool",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"id": "ffffe478b19c0d27c19fecdf36b6b60fefc563e1806109a58b86b4138abd085a",
"note": "A single Stellar liquidity pool: its two reserves, fee, shares and trustlines.",
"type": "constant_product",
"fee_bp": 30,
"source": "Stellar Horizon",
"fee_pct": 0.3,
"reserves": [
{
"code": "LIBRE",
"asset": "LIBRE:GAYCCWKECNGDRHYU3UTREBD2XLC3CUQN6FV22TKM4WCQER3IWR7TF5CY",
"amount": "2493.4272764",
"issuer": "GAYCCWKECNGDRHYU3UTREBD2XLC3CUQN6FV22TKM4WCQER3IWR7TF5CY"
},
{
"code": "NFIUM",
"asset": "NFIUM:GD76B36XOOH432PICDIVEOD4RU7TEFJ5DZVA2C5MW5LKTSCARK45V3DB",
"amount": "2948385.4709963",
"issuer": "GD76B36XOOH432PICDIVEOD4RU7TEFJ5DZVA2C5MW5LKTSCARK45V3DB"
}
],
"total_shares": "85559.0257965",
"total_trustlines": 1,
"last_modified_ledger": 63020560
},
"meta": {
"timestamp": "2026-06-14T08:03:50.795Z",
"request_id": "5123fffc-5bbb-46b6-8333-11994493fc29"
},
"status": "ok",
"message": "Pool retrieved successfully",
"success": true
}