/v1/categories
Coin categories
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/crypto-api/v1/categories" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/crypto-api/v1/categories", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/crypto-api/v1/categories");
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/crypto-api/v1/categories",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"count": 712,
"categories": [
{
"id": "smart-contract-platform",
"name": "Smart Contract Platform",
"market_cap": 2104524603211.8145,
"volume_24h": 64483344313.1523,
"top_3_coins": [
"https://coin-images.coingecko.com/coins/images/1/small/bitcoin.png",
"https://coin-images.coingecko.com/coins/images/279/small/ethereum.png",
"https://coin-images.coingecko.com/coins/images/825/small/bnb-icon2_2x.png"
],
"market_cap_change_24h": -0.6007025937269063
},
{
"id": "layer-1",
"name": "Layer 1 (L1)",
"market_cap": 2077970633252.2668,
"volume_24h": 61455730923.07344,
"top_3_coins": [
"https://coin-images.coingecko.com/coins/images/1/small/bitcoin.png",
"https://coin-images.coingecko.com/coins/images/279/small/ethereum.png",
"https://coin-images.coingecko.com/coins/images/825/small/bnb-icon2_2x.png"
],
"market_cap_change_24h": -0.6921758146805653
},
{
"id": "proof-of-work-pow",
"name": "Proof of Work (PoW)",
"market_cap": 1524210201030.2856,
"volume_24h": 38059589684.312904,
"top_3_coins": [
"https://coin-images.coingecko.com/coins/images/1/small/bitcoin.png",
"https://coin-images.coingecko.com/coins/images/5/small/dogecoin.png",
"https://coin-images.coingecko.com/coins/images/486/small/circle-zcash-color.png"
],
"market_cap_change_24h": -0.884564312673366
},
{
"id": "world-liberty-financial-portfolio",
"name": "World Liberty Financial Portfolio",
"market_cap": 564241888301.345,
"volume_24h": 86734404534.21207,
"top_3_coins": [
"https://coin-images.coingecko.com/coins/images/279/small/ethereum.png",
"https://coin-images.coingecko.com/coins/images/325/small/Tether.png",
"https://coin-images.coingecko.com/coins/images/6319/small/USDC.png"
],
"market_cap_change_24h": -0.4966007400275453
},
{
"id": "proof-of-stake-pos",
"name": "Proof of Stake (PoS)",
"market_cap": 462081323268.1058,
"volume_24h": 21715900607.654655,
"top_3_coins": [
"https://coin-images.coingecko.com/coins/images/279/small/ethereum.png",
"https://coin-images.coingecko.com/coins/images/825/small/bnb-icon2_2x.png",
"https://coin-images.coingecko.c
…