Info
Alias for /info/blockdag
GET /info/network HTTP/1.1
Host: kas.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
Successful Response
{
"networkName": "kaspa-mainnet",
"blockCount": "260890",
"headerCount": "2131312",
"tipHashes": [
"78273854a739e3e379dfd34a262bbe922400d8e360e30e3f31228519a334350a"
],
"difficulty": 3870677677777.2,
"pastMedianTime": "1656455670700",
"virtualParentHashes": [
"78273854a739e3e379dfd34a262bbe922400d8e360e30e3f31228519a334350a"
],
"pruningPointHash": "5d32a9403273a34b6551b84340a1459ddde2ae6ba59a47987a6374340ba41d5d",
"virtualDaaScore": "19989141",
"sink": "366b1cf51146cc002672b79948634751a2914a2cc9e273afe358bdc1ae19dce9"
}
Get Kaspa BlockDAG information
GET /info/blockdag HTTP/1.1
Host: kas.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
Successful Response
{
"networkName": "kaspa-mainnet",
"blockCount": "260890",
"headerCount": "2131312",
"tipHashes": [
"78273854a739e3e379dfd34a262bbe922400d8e360e30e3f31228519a334350a"
],
"difficulty": 3870677677777.2,
"pastMedianTime": "1656455670700",
"virtualParentHashes": [
"78273854a739e3e379dfd34a262bbe922400d8e360e30e3f31228519a334350a"
],
"pruningPointHash": "5d32a9403273a34b6551b84340a1459ddde2ae6ba59a47987a6374340ba41d5d",
"virtualDaaScore": "19989141",
"sink": "366b1cf51146cc002672b79948634751a2914a2cc9e273afe358bdc1ae19dce9"
}
Get $KAS coin supply information
GET /info/coinsupply HTTP/1.1
Host: kas.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
Successful Response
{
"circulatingSupply": "1000900697580640180",
"maxSupply": "2900000000000000000"
}
Get circulating amount of $KAS token as numerical value
false
GET /info/coinsupply/circulating HTTP/1.1
Host: kas.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
text
Get total amount of $KAS token as numerical value
false
GET /info/coinsupply/total HTTP/1.1
Host: kas.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
text
Get some information for kaspad instance, which is currently connected.
GET /info/kaspad HTTP/1.1
Host: kas.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
Successful Response
{
"mempoolSize": "1",
"serverVersion": "0.12.2",
"isUtxoIndexed": true,
"isSynced": true,
"p2pIdHashed": "36a17cd8644eef34fc7fe4719655e06dbdf117008900c46975e66c35acd09b01"
}
Get fee estimate from Kaspad.
For all buckets, feerate values represent fee/mass of a transaction in sompi/gram
units.
Given a feerate value recommendation, calculate the required fee by taking the transaction mass and multiplying it by feerate: fee = feerate * mass(tx)
GET /info/fee-estimate HTTP/1.1
Host: kas.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
Successful Response
{
"priorityBucket": {
"feerate": 1,
"estimatedSeconds": 0.004
},
"normalBuckets": [
{
"feerate": 1,
"estimatedSeconds": 0.004
}
],
"lowBuckets": [
{
"feerate": 1,
"estimatedSeconds": 0.004
}
]
}
Returns the current price for Kaspa in USD.
false
GET /info/price HTTP/1.1
Host: kas.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"price": 0.025235
}
Returns the current blockreward in KAS/block
false
GET /info/blockreward HTTP/1.1
Host: kas.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"blockreward": 12000132
}
Returns information about chromatic halving
GET /info/halving HTTP/1.1
Host: kas.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"nextHalvingTimestamp": 1662837270000,
"nextHalvingDate": "2022-09-10 19:38:52 UTC",
"nextHalvingAmount": 155.123123
}
Returns the current hashrate for Kaspa network in TH/s.
false
GET /info/hashrate HTTP/1.1
Host: kas.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"hashrate": 12000132
}
Returns the current hashrate for Kaspa network in TH/s.
GET /info/hashrate/max HTTP/1.1
Host: kas.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
Successful Response
{
"hashrate": 12000132,
"blockheader": {
"hash": "e6641454e16cff4f232b899564eeaa6e480b66069d87bee6a2b2476e63fcd887",
"timestamp": "1656450648874",
"difficulty": 1212312312,
"daaScore": "19984482",
"blueScore": "18483232"
}
}
Get historical hashrate samples with optional resolution (default = 1h)
GET /info/hashrate/history HTTP/1.1
Host: kas.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
[
{
"daaScore": 1,
"blueScore": 1,
"timestamp": 1,
"date_time": "text",
"bits": 1,
"difficulty": 1,
"hashrate_kh": 1
}
]
Checks node and database health by comparing blue score and sync status. Returns health details or 503 if the database lags by ~10min or no nodes are synced.
GET /info/health HTTP/1.1
Host: kas.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
Successful Response
{
"kaspadServers": [
{
"kaspadHost": "text",
"serverVersion": "0.12.6",
"isUtxoIndexed": true,
"isSynced": true,
"p2pId": "1231312",
"blueScore": 0
}
],
"database": {
"isSynced": true,
"blueScore": 1,
"blueScoreDiff": 1,
"acceptedTxBlockTime": 1,
"acceptedTxBlockTimeDiff": 1
}
}
Get $KAS price and market cap. Price info is from coingecko.com
false
GET /info/marketcap HTTP/1.1
Host: kas.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"marketcap": 12000132
}