DEVELOPERS

LEPool Public API

Öffentliche Read-only-Endpunkte für eigene Dashboards, Discord-Bots, Home Assistant oder Monitoring. Admin-/Operator-Endpunkte gehören ausdrücklich nicht zur Public API.

Grundlagen

Base URL: https://pool.legendecho.net Format: JSON Auth: keine für Public-Endpunkte Cache: für Live-Werte am besten cache: no-store

Endpunkte

EndpointInhaltBeispiel
/api/statusBitcoin Core Sync, Blockhöhe, Header, Disk-Statusöffnen ↗
/api/system-statusNode, Team, Solo, Website, Databaseöffnen ↗
/api/pool-address-statsaktive/entlohnte Adressenöffnen ↗
/api/mining-chanceTeam/Solo Hashrate und Blockchanceöffnen ↗
/api/hashrate-historyPool-Hashrate-Historieöffnen ↗
/api/wallet-stats?address=...öffentliche Mining-Statistik einer WalletWallet als Query-Parameter
/api/network-blocksaktuelle Bitcoin-Blöckeöffnen ↗
/api/rouletteaktuelle öffentliche Roulette-Rundeöffnen ↗
/api/roulette-winnersWinner-History + Commitmentsöffnen ↗
/api/transparencyFees, Minimum Payout, öffentliche Pool-Adressenöffnen ↗
/api/transparency-historyPayouts, Blocks, Uptime-Historieöffnen ↗
/api-extra/status-history?window=24h24h/7d Service-Historieöffnen ↗
/api-extra/pool-rulesöffentlich sichere Miningcore-Regelnöffnen ↗

JavaScript

const data = await fetch('/api/mining-chance', { cache: 'no-store' }).then(r => r.json()); console.log(data);

Fair Use

Bitte Live-Endpunkte nicht mehrfach pro Sekunde pollen. Für normale Dashboards reichen typischerweise 5–30 Sekunden; Historien deutlich seltener.