Aller au contenu
GET /v1/meta

Service metadata & live sample

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/spark-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "markets takes optional chain, min_tvl, limit (1-100) and sort (tvl, supply_apy or apy). savings takes optional chain, limit and sort (tvl or apy). All money values are USD; APYs are percentages. Other endpoints take no parameters.",
        "sample": {
            "total_tvl": 4683759402.97,
            "best_savings_apy": 3.6
        },
        "source": "DeFiLlama open API (api.llama.fi + yields.llama.fi), live",
        "service": "spark-api",
        "endpoints": {
            "GET /v1/tvl": "Spark TVL total and per-chain breakdown.",
            "GET /v1/meta": "This document.",
            "GET /v1/markets": "SparkLend lending markets with supply APY and TVL (chain, sort).",
            "GET /v1/savings": "Spark Savings products (Sky Savings Rate) with live savings APY (chain, sort).",
            "GET /v1/overview": "Combined Spark snapshot (TVL + markets + savings + best savings rate)."
        },
        "description": "Live protocol metrics for Spark (the Sky / former MakerDAO ecosystem's capital-allocation protocol), keyless. Both Spark products: SparkLend, the lending money-market with per-asset supply APY and TVL, and Spark Savings, the sUSDS/USDS/USDC/USDT savings products passing through the Sky Savings Rate — a savings-yield dimension other lending APIs don't have. Plus total value locked and per-chain TVL. One combined overview snapshots it all. Live, nothing stored beyond a short protective cache. The Spark-metrics layer for DeFi dashboards, lending, savings, stablecoin and yield apps. Distinct from pure lending protocols — Spark's lending-plus-savings model specifically.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:23.939Z",
        "request_id": "f7251c19-ab94-4c5c-bb44-6124cfdea762"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}