HashBay API

Base URL: https://api.hashbay.io

All responses are JSON. Times are UTC unless noted. Rate limits return HTTP 429.

All endpoints use clean URLs under https://api.hashbay.io.

Machine-readable docs: https://api.hashbay.io/docs.json

Stratum region: North America

Common Query Params

Public Endpoints

EndpointDescription
GET /healthHealth check + pool id.
GET /client-ipReturns the caller public IPv4 (when available).
GET /statusCached status snapshot for the site.
GET /poolsAll configured pools with ticker, name, algorithm, fee, min payout, payout scheme, current block height, and ports.
GET /summaryWindowed pool stats (shares, hashrate estimate, active miners/workers).
GET /top-minersTop miners by estimated hashrate in the window.
GET /blocks/recentRecent blocks with status, reward, effort, maturity progress.
GET /blocks/summaryBlock counts and averages over a window.
GET /payouts/recentRecent payout proofs grouped by txid.
GET /hashrate-seriesHashrate series data for charts.
GET /pricesUSD price lookup. Query: ?symbols=BTC,BCH.
GET /networkNetwork info (difficulty, peers, hash rate) for a pool.
GET /referrals/programReferral fee-reduction program details for a pool.
GET /referrals/summaryReferral code, attribution, and referral counts for a wallet.
GET /referrals/ledgerReferral activity ledger for a wallet.
GET /referrals/code/:codeResolve a referral code to its pool and referrer label.
POST /referrals/claimClaim a referral code for a miner wallet with a signed wallet message.
GET /pplns/diagnosticsPPLNS simulator, variance, and payout-change diagnostics.
GET /launch/programLaunch workflow states, rubric, and package metadata.
GET /launch/experimentalExperimental / launch-lane pool feed.
GET /launch/applications/:publicTokenPublic application tracking for a launch submission.
POST /launch/applySubmit a new SHA-256 coin launch / listing application.
GET /wallet/existsCheck if an address exists in any pool (or specific pool).
GET /wallet/public/summaryWallet balances (total/confirmed/pending) without unlock.
GET /wallet/public/statsWallet stats (24h shares, hashrate windows).
GET /wallet/public/seriesWallet chart series data.

Authenticated Endpoints Bearer Token

Use Authorization: Bearer <token> from /api/wallet/login.

EndpointDescription
POST /wallet/set-passwordDisabled. Wallet password setup is not available.
POST /wallet/loginLogin with address + top worker IP to obtain token.
GET /wallet/summaryTotal, confirmed, and pending wallet balances plus payout threshold.
GET /wallet/statsSame as public stats but auth-protected.
GET /wallet/seriesSame as public series but auth-protected.
POST /wallet/min-payoutSet minimum payout threshold.
POST /wallet/request-payoutRequest a payout (auto/manual based on checks).

Examples

GET https://api.hashbay.io/summary?poolId=bitcoin2
GET https://api.hashbay.io/blocks/recent?poolId=bitcoin2&limit=10
GET https://api.hashbay.io/referrals/program?poolId=bitcoin2
GET https://api.hashbay.io/referrals/summary?poolId=bitcoin2&address=YOUR_WALLET
GET https://api.hashbay.io/referrals/ledger?poolId=bitcoin2&address=YOUR_WALLET
GET https://api.hashbay.io/pplns/diagnostics?poolId=bitcoin2&hashrate=120&unit=TH/s&hoursOnline=24
GET https://api.hashbay.io/wallet/public/stats?poolId=bitcoin2&address=YOUR_WALLET
GET https://api.hashbay.io/wallet/public/series?poolId=bitcoin2&address=YOUR_WALLET&windowSec=86400&bucketSec=900

Need access or questions? Contact [email protected].