Luxor PlatformAPI DocumentationMining PoolReporting

Get pool hashrate

Returns total hashrate of Luxor Pool for some time intervals. Deprecated: use get-pool-stats instead

GET
/v2/pool/pool-hashrate/{currency_type}

Authorization

LuxorAPIKey
AuthorizationBearer <token>

Send your API key for authentication as a bearer token: Authorization: Bearer <api key>.

In: header

Path Parameters

currency_type*string

Which coin to query: BTC, SC, ZEC, LTC or DOGE. LTC_DOGE is not accepted, since this route covers one coin.

Value in

  • "BTC"
  • "SC"
  • "ZEC"
  • "LTC"
  • "DOGE"

Response Body

application/json

application/json

curl -X GET "https://example.com/v2/pool/pool-hashrate/BTC"
{  "currency_type": "BTC",  "hashrate_5m": "1035827914295214",  "hashrate_1h": "1035827914295214",  "hashrate_24h": "1035827914295214"}
{  "statusCode": 400,  "code": "FST_ERR_VALIDATION",  "error": "Bad Request",  "message": "body/end_date Required"}