/v1/chart
Price, market-cap & volume time series
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/cryptohistory-api/v1/chart" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cryptohistory-api/v1/chart", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cryptohistory-api/v1/chart");
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/cryptohistory-api/v1/chart",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"vs": "usd",
"coin": "bitcoin",
"days": 30,
"count": 721,
"series": [
{
"time": 1778540447829,
"price": 81823.28617527579,
"volume": 35994421743.647064,
"market_cap": 1638861626907.0112
},
{
"time": 1778544027362,
"price": 81725.20771701908,
"volume": 33905980449.09922,
"market_cap": 1636812805155.4443
},
{
"time": 1778547646949,
"price": 81530.92615591706,
"volume": 32357071143.705776,
"market_cap": 1633256705574.8726
},
{
"time": 1778551232124,
"price": 81170.30460840944,
"volume": 32123103097.100742,
"market_cap": 1625949895005.1477
},
{
"time": 1778554842009,
"price": 81222.304124304,
"volume": 31974743138.338326,
"market_cap": 1626708971977.3086
},
{
"time": 1778558445205,
"price": 81026.2679937985,
"volume": 30369778396.694324,
"market_cap": 1622846674684.4128
},
{
"time": 1778562052161,
"price": 81199.57392751012,
"volume": 30947302102.336845,
"market_cap": 1626420138978.9624
},
{
"time": 1778565608103,
"price": 81229.06269424419,
"volume": 30902375812.715855,
"market_cap": 1626966785489.814
},
{
"time": 1778569250449,
"price": 81010.85603635802,
"volume": 31156980004.794754,
"market_cap": 1622400683628.5007
},
{
"time": 1778572845072,
"price": 80862.23210418917,
"volume": 30867288323.79895,
"market_cap": 1620682011825.299
},
{
"time": 1778576451880,
"price": 80837.67211840981,
"volume": 29524188620.321484,
"market_cap": 1618655727470.1572
},
{
"time": 1778580018314,
"price": 80791.43564091134,
"volume": 31072176459.77417,
"market_cap": 1618038705834.8315
},
{
"time": 1778583660041,
"price": 80632.79138688132,
"volume": 30865620726.80593,
"market_cap": 1614904808719.7837
},
{
"time": 1778587247697,
"price": 80745.79929009557,
"volume": 30481222134.479546,
"market_cap": 1617000293371.2446
…