◈88Pool Mining Pool 中文·English
Admin login Miner login
DEVELOPER API · Read-only, public

API

A read-only JSON API covering the pool overview, hashrate trends, coin markets, halving countdowns, miner earnings and pool statistics. The data matches every public page on this site, so you can plug it into your own dashboards, market aggregators or apps.

Base URL https://www.88pool.com Method GET Auth No login CORS Access-Control-Allow-Origin: * Cache Edge 5s, server-side a few seconds Back { ok, ts, data }
Pool Pool overview GET /api/pool

Live overview of every supported coin: hashrate, online workers, the top-15 miner leaderboard, plus the public mining address / fee / payout threshold / difficulty. (Pool balance and daily output are operational data and are not exposed.)

{
  "ok": true,
  "ts": 1792560000,
  "data": {
    "fx_usd_cny": 7.2,
    "coins": [
      {
        "coin": "PRL",
        "hashrate": 482000000000000,
        "hashrate_disp": "482.00 TH/s",
        "worker_count": 3,
        "online_count": 1,
        "price": 0.0843,
        "stratum": "www.88pool.com:9444",
        "yield_per_h": 2.6e-14,
        "pool_fee": "1%",
        "min_payout": "1 PRL",
        "top_workers": [ { "worker": "…", "hashrate": 0, "online": true, "share_pct": 100 } ]
      }
    ]
  }
}
Pool Hashrate / price trend GET /api/pool/history?coin=PRL&win=7d

An evenly-bucketed time series of pool hashrate (H/s) and coin price (USD), aligned with null for missing points — ready to plot as a line chart.

ParametersRequiredNote
coinYesA supported coin code, e.g. PRL / BTC
winNoWindow: 24h (15-min buckets) / 7d / 30d, default 7d
{
  "ok": true,
  "data": {
    "coin": "PRL", "win": "7d", "label": "Last 7 days", "bucket": 86400,
    "buckets": [ 1792003200, 1792089600, "…" ],
    "hash": [ 4.8e14, 4.9e14, "…" ],
    "price": [ 0.0843, 0.085, "…" ],
    "hash_max": 5.1e14, "price_max": 0.086,
    "hash_unit": "TH/s", "has_data": true
  }
}
Markets Coin market rankings GET /api/coins

The PoW coin market list. Rank = PoW 24h output descending (same as the /coins page); supported coins have their market cap recomputed with our live pool price (price_src=pool).

{
  "ok": true,
  "data": {
    "fx_usd_cny": 7.2,
    "count": 100,
    "coins": [
      {
        "coin": "PRL", "rank": 2, "name": "Pearl", "algo": "PearlHash",
        "price": 0.0843, "price_src": "pool",
        "marketcap": 420000000, "volume24h": 1800000,
        "output24h": 1860000, "supply_issued": 5000000000,
        "remain_pct": 62.5, "change_pct": 1.24,
        "in_pool": true, "active": 1, "sort": 100
      }
    ]
  }
}
Markets Halving GET /api/halving

The halving countdown list: blocks remaining (the authoritative entered value) and the recomputed halving timestamp halving_at (UTC seconds).

{
  "ok": true,
  "data": {
    "fx_usd_cny": 7.2,
    "rows": [
      {
        "coin": "BTC", "block_sec": 600, "blocks": 12345,
        "halving_at": 1795000000, "reward": 3.125, "reward_next": 1.5625,
        "coin_per_unit": 0.000012, "price": 84000, "in_pool": false
      }
    ]
  }
}
Miners Miner earnings GET /api/miners?coin=PRL

The miner model library plus estimated daily earnings (coin / USD / power cost / net profit) derived from this pool's yield parameters.

ParametersRequiredNote
coinNoCoin code; defaults to the first supported coin
{
  "ok": true,
  "data": {
    "coin": "PRL",
    "params": { "yield_th_day": 0.0113, "yield_basis": "pool", "price_usd": 0.0843, "power_price": 0.06 },
    "miners": [
      {
        "name": "RTX 3060", "hash_disp": "65.00 MH/s", "power_w": 120,
        "coin_per_day": 0.000735, "usd_per_day": 0.062, "profit_usd_day": -0.018
      }
    ]
  }
}
Statistics Pool stats GET /api/statistics?coin=BTC&page=1

Luck cards (3/7/30/90 days) and block records (server-side pagination, 20 per page).

ParametersRequiredNote
coinNoCoin code; defaults to the first coin with statistics
pageNoBlock-record page number, default 1
{
  "ok": true,
  "data": {
    "meta": { "coins": 2, "blocks": 60, "updated_at": 1792560000 },
    "coin": "BTC",
    "lucky": { "coin": "BTC", "name": "Bitcoin", "luck3": 105.3, "luck7": 98.1, "blocks": 30 },
    "blocks": {
      "rows": [ { "height": 972120, "reward": 3.125, "fee": 0.02, "hash": "a1b2…", "explorer": "https://mempool.space/block/a1b2…", "mined_at": 1792560000 } ],
      "total": 60, "page": 1, "pages": 3, "per": 20
    }
  }
}