POST
/api/auth/registerPublicCreate a new HuurrexPool account.
Request body
{
"email": "miner@example.com",
"username": "minername",
"password": "SecurePass123"
}DEVELOPER DOCUMENTATION
The public API is available under https://huurrexpool.com/api.
Authorization: Bearer YOUR_ACCESS_TOKEN
/api/auth/registerPublicCreate a new HuurrexPool account.
Request body
{
"email": "miner@example.com",
"username": "minername",
"password": "SecurePass123"
}/api/auth/loginPublicAuthenticate and receive a JWT access token.
Request body
{
"email": "miner@example.com",
"password": "SecurePass123"
}/api/pool/stats?coin=DGB&algorithm=SHA256PublicReturn current hashrate and share statistics for a specific coin, optionally filtered by mining algorithm.
/api/users/meBearer tokenReturn the profile of the authenticated user.
/api/workersBearer tokenReturn all workers belonging to the authenticated user.
/api/workersBearer tokenCreate a new mining worker.
Request body
{
"name": "worker01"
}/api/workers/:id/heartbeatBearer tokenUpdate worker status and mining counters.
Request body
{
"currentHashrate": "1000000000",
"acceptedShares": 25,
"rejectedShares": 1
}