Naar de inhoud
GET /v1/meta

Service metadata

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "sample": {
            "pair": "XLM/USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
            "mid_price": 0.18632158096821455
        },
        "source": "public Stellar Horizon API (horizon.stellar.org /order_book, /trades), keyless",
        "service": "stellardex-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/ticker": "Compact pair ticker: best bid/ask, mid, spread, last trade (default XLM/USDC).",
            "GET /v1/trades": "Recent executed trades, network-wide or for a pair (limit; optional selling & buying).",
            "GET /v1/orderbook": "Live order book for a pair: bids/asks, best bid/ask, mid, spread (selling, buying; default XLM/USDC)."
        },
        "description": "Read the Stellar Decentralized Exchange (SDEX) central-limit order book live from the public Horizon API: live bids/asks for any pair with derived best bid/ask, mid and spread; a compact pair ticker; and the most recent executed trades (network-wide or per pair). The order-book-and-trading layer for Stellar wallets, swap UIs and market-makers. Live, short cache only.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-14T08:03:48.447Z",
        "request_id": "d69d2d3e-992b-41c8-97f9-7523fe2c8b0d"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}