Naar de inhoud
GET /v1/meta

Service metadata & live sample

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/stellarpools-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/stellarpools-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stellarpools-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stellarpools-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "sample": {
            "pools_sampled": 1
        },
        "source": "public Stellar Horizon API (horizon.stellar.org /liquidity_pools), keyless",
        "service": "stellarpools-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/pool": "A single pool by id (id=...64 hex).",
            "GET /v1/pools": "Browse liquidity pools with reserves, fee, shares, trustlines (limit).",
            "GET /v1/for-asset": "Pools holding an asset (code, issuer; code=XLM for native)."
        },
        "description": "Read live Stellar liquidity pools (the native AMM) from the public Horizon API: browse pools with their reserves/fee/shares/trustlines, read a single pool by id, or find every pool holding a given asset. The automated-market-maker layer for Stellar wallets, swap UIs and analytics. Live, short cache only.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-14T08:03:51.103Z",
        "request_id": "1c00261d-da6e-4971-87e9-dd12d0d9d038"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}