Zum Inhalt springen
GET /v1/change

Percentage price change over a period

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/tokenpricehistory-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "coin": "ethereum:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
        "note": "Percentage price change over the period.",
        "period": "7d",
        "source": "DeFiLlama",
        "change_pct": 3.6088
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:19.832Z",
        "request_id": "27b83514-fd58-4915-9b69-a59b65bc4bb2"
    },
    "status": "ok",
    "message": "Price change retrieved successfully",
    "success": true
}