/v1/markets
SparkLend lending markets with supply APY and TVL
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/spark-api/v1/markets" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/spark-api/v1/markets", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/spark-api/v1/markets");
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/markets",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "SparkLend lending markets — supply APY and TVL per asset.",
"sort": "tvl",
"chain": "Ethereum",
"count": 13,
"source": "DeFiLlama",
"markets": [
{
"tvl": 2195005787,
"asset": "WSTETH",
"chain": "Ethereum",
"pool_id": "3b45941c-16cb-48c5-a490-16c6c4f1d86a",
"total_apy": 0,
"reward_apy": null,
"stablecoin": false,
"supply_apy": 0
},
{
"tvl": 588726624,
"asset": "USDS",
"chain": "Ethereum",
"pool_id": "54e9b138-3146-4c1f-8dce-1cb948f5ef96",
"total_apy": 3.7,
"reward_apy": 3.7,
"stablecoin": true,
"supply_apy": null
},
{
"tvl": 211510745,
"asset": "LBTC",
"chain": "Ethereum",
"pool_id": "ff17b423-bccc-4d12-9a72-68bde120ac62",
"total_apy": 0,
"reward_apy": null,
"stablecoin": false,
"supply_apy": 0
},
{
"tvl": 174976632,
"asset": "WETH",
"chain": "Ethereum",
"pool_id": "24195b31-d749-445f-bf9e-b65aa025ebdd",
"total_apy": 1.44,
"reward_apy": null,
"stablecoin": false,
"supply_apy": 1.44
},
{
"tvl": 152861680,
"asset": "WBTC",
"chain": "Ethereum",
"pool_id": "03406d3a-fcc4-4fe3-8809-7a95222951b6",
"total_apy": 0,
"reward_apy": null,
"stablecoin": false,
"supply_apy": 0
},
{
"tvl": 137298451,
"asset": "USDS",
"chain": "Ethereum",
"pool_id": "0ed981dc-b49d-426d-ade5-6014728b1ef9",
"total_apy": 2.2,
"reward_apy": null,
"stablecoin": true,
"supply_apy": 2.2
},
{
"tvl": 116095122,
"asset": "USDT",
"chain": "Ethereum",
"pool_id": "8fbe28b8-140d-4e37-8804-5d2aba4daded",
"total_apy": 2.44,
"reward_apy": null,
"stablecoin": true,
"supply_apy": 2.44
},
{
"tvl": 111090085,
"asset": "CBBTC",
"chain": "Ethereum",
"pool_id": "00d1e1f8-b3c8-4350-a247-5da693d2d4dd",
"total_apy": 0,
"reward_apy": null,
"stablecoin": false,
"supply_apy": 0
},
{
"tvl": 95194098,
"a
…