Block: 0 Hashrate: 0 MH/sec Supply: 0 NIM Time: UTC

Nimiq JSON API Endpoints

Quick Stats

Various data about supply and the latest block.
/api/quick-stats
Example: https://nimiq.mopsus.com/api/quick-stats

{
  "version": 1,
  "timestamp": 1527886232566,
  "difficulty": 607659.035745116,
  "estimated_global_hashrate": 663725709.4431987,
  "maximum_supply": 21000000000,
  "current_supply": 2824012950.5064,
  "block_reward": 4333.49403,
  "latest_block": {
    "hash": "0x57d3b5b7e00200828417dbf6c3d437a6a4f6ec88bd4a2cf166c544da4dc641e0",
    "prev_hash": "0xdd03da5bf6c3b6f11299b625bcec0c703e5cf8bd9b4953ab821e4aad6e00271d",
    "body_hash": "0x8abb67d9004a18dcf10a30defa5cc6294d964d1109ca922381b259d651bf014e",
    "interlink_hash": "0x9ac382781130d618c53831c608f4e382424996a56d4198aff50c757f708dae44",
    "accounts_hash": "0x415c2075eae8dcb3759ecc489fd9b19e3cd5171c92bd3971d176b64f1b84b246",
    "pow": "0x00000000101fe312c2979177270c4a0243c3283c4ef9e0b6463bb31b59e6a313",
    "height": 69574,
    "nbits": 471571470,
    "difficulty": 607659.035745116,
    "nonce": 1369921500,
    "version": 1,
    "timestamp": 1527886157,
    "miner_addr_friendly": "NQ48 8CKH BA24 2VR3 N249 N8MN J5XX 74DB 5XJ8",
    "miner_addr_friendly_compact": "NQ488CKHBA242VR3N249N8MNJ5XX74DB5XJ8",
    "miner_addr_hex": "0x432715a84417723b0889b22b6917de391ab2fa48",
    "size": 486,
    "transaction_count": 1,
    "sum_transaction_values": 15000,
    "sum_transaction_fees": 150,
    "extra_data_base64": "c2t5cG9vbC1ldTEtMw==",
    "extra_data_string": "skypool-eu1-3"
  }
}

Block

A single block, queried by block hash.
/api/block/HEX_BLOCK_HASH
Example: https://nimiq.mopsus.com/api/block/0xfff6a50561deba3fc970ef2065d494850fd4652802a3388eab081261e4d1546a


{
  "hash": "0xfff6a50561deba3fc970ef2065d494850fd4652802a3388eab081261e4d1546a",
  "prev_hash": "0x1f3c4ea71b0bc3cae25dfa452dc045a50084b3d1b604fac3787395936ffa53bf",
  "body_hash": "0xde28cdcc9b8f7df41cdf81beca2072b48da6225b68227cafaabc9d05d38b3517",
  "interlink_hash": "0x90257afc9d1c082a93b52e02d70812d4a66b2f8911b2de87f8af68a53fc75357",
  "accounts_hash": "0xe6bc280ce235e8758e642ca87d81e0e6a0f86e082124001ad3232ad4abcb862e",
  "pow": "0x0000000021341aa8eb344e721157ace2333a6f2ade64bdd93805943999d1eb6a",
  "height": 48412,
  "nbits": 472238198,
  "difficulty": 444040.800345698,
  "nonce": 18008,
  "version": 1,
  "timestamp": 1526608918,
  "miner_addr_friendly": "NQ76 R7R0 DCKG N0RC 35XK ULTS N41J VGA7 3CMP",
  "miner_addr_hex": "0xc9f206b270b032c197d3e537ab1032ec1471b2b7",
  "size": 5733,
  "transaction_count": 39,
  "sum_transaction_values": 1671491348,
  "sum_transaction_fees": 5382,
  "extra_data_base64": "UG9ya3kgUG9vbCAoTmltaXEpADbKo6yYeh4P350V5GQqxLs3EEzvaY5ZDB8BAAA=",
  "extra_data_string": "Porky Pool (Nimiq) mined by: NQ71 6T5A 7B4Q F8F0 YPUV 2PJ6 8AN4 PCTH 0K7F",
  "next_hash": "0xdd217f0e7ea08c6d24a049cb2d432b8e99450d62bd88a9f9b538a61a072de970"
}

Transaction

A single transaction, queried by transaction hash.
/api/tx/HEX_TRANSACTION_HASH
Example: https://nimiq.mopsus.com/api/tx/0x46cbe83b5d2815712d07d9aa4a6016624068420e0d7b247eb6a8dd445f329f43


{
  "hash": "0x46cbe83b5d2815712d07d9aa4a6016624068420e0d7b247eb6a8dd445f329f43",
  "block_hash": "0x199aa08791991dc02f47804c6eb4a126a7fb978158ce8f198fa5d646a69aa597",
  "type": 0,
  "height": 70918,
  "version": 0,
  "timestamp": 1527966672,
  "value": 15000,
  "fee": 150,
  "validity_start_height": 70917,
  "data_length": 0,
  "data": {
    "type": "Buffer",
    "data": []
  },
  "data_string": "",
  "sender_type": 0,
  "sender_addr_friendly": "NQ94 GSXP KNG0 K5YV HFJ1 PYAQ Y5D1 XTQ1 SLFP",
  "sender_addr_friendly_compact": "NQ94GSXPKNG0K5YVHFJ1PYAQY5D1XTQ1SLFP",
  "sender_addr_hex": "0x86bd79da00997fd8be41bfd58f95a1f6f01d51f7",
  "recipient_type": 0,
  "recipient_addr_friendly": "NQ91 D63D 6URS J60D 4TMN 97U6 PE0S 8V38 RT0R",
  "recipient_addr_friendly_compact": "NQ91D63D6URSJ60D4TMN97U6PE0S8V38RT0R",
  "recipient_addr_hex": "0x6986d3733a9180d26eb649f86bb81a47468cec19",
  "size": null
}

Mined Blocks

An array of blocks mined by a single address, ORDER BY blockheight DESC
/api/mined-blocks/USER_FRIENDLY_ADDRESS
Example: https://nimiq.mopsus.com/api/mined-blocks/NQ95HEADFUCK7UNCD8S9BCL9YPMP65F1C3DB

[
  {
    "hash": "0x0c878da049e5ecf57bf473fe299c975023565a30217f8219def75c3d82a548c0",
    "prev_hash": "0xdc524e5845430e18562ac051edca0aa18fe427e165acfe7d3592474fe6c04012",
    "body_hash": "0xe36c65eaa953dedf3fad43f781aa63dcd66485494f0aed75fc992ce29cda85c8",
    "interlink_hash": "0x07c958f27036cada32a75394cc83bef95c44408e0d09db785e114bff563e0c6a",
    "accounts_hash": "0x5d2f27566c5ceb775fece81f26ff63b6de013f59bee206104ab641a625e33c7e",
    "pow": "0x00000000163a1938ae370cd6fa1aa85613cfd805a246f6f4e7e86b71e4ce548c",
    "height": 37044,
    "nbits": 471432571,
    "difficulty": 658184.070363593,
    "nonce": 6804608,
    "version": 1,
    "timestamp": 1525922317,
    "miner_addr_friendly": "NQ95 HEAD FUCK 7UNC D8S9 BCL9 YPMP 65F1 C3DB",
    "miner_addr_hex": "0x8b94d7f1933f2cc6a3495b289fdeb7315e160dab",
    "size": 402,
    "transaction_count": 0,
    "sum_transaction_values": 0,
    "sum_transaction_fees": 0,
    "extra_data_base64": "Tm93IGlzIHRoZSBvbmx5IHRoaW5nIHRoYXQncyByZWFsXCE=",
    "extra_data_string": "Now is the only thing that's real\\!"
  },
  {
    "hash": "0x2f0eba1c0d5b145a5f9a42989b012cd251e6f582455292c304b4dbd43794ad4c",
    "prev_hash": "0x3b48a9aa8f08de1b978f15b9bc18e15a1ad7b4b83c40723c58ce398f5717cc35",
    "body_hash": "0x385cb5b8ac6e03bb365e22947332730033f6ed3a69a76a9a49ec765db074fe04",
    "interlink_hash": "0xb3385cbcde677488ec0918bacd087e13e7ed83f7e13cd1953c918609120dd75e",
    "accounts_hash": "0xba555a4d71ad1cf2d13a6dfcc8f5430b1856a7b9c6e3d275007d82ef369d39f6",
    "pow": "0x00000000196addac270e47edb5af6d74ca86427d1c2533c5b36333f61742d346",
    "height": 35769,
    "nbits": 471627449,
    "difficulty": 589423.73665287,
    "nonce": 837983,
    "version": 1,
    "timestamp": 1525845542,
    "miner_addr_friendly": "NQ95 HEAD FUCK 7UNC D8S9 BCL9 YPMP 65F1 C3DB",
    "miner_addr_hex": "0x8b94d7f1933f2cc6a3495b289fdeb7315e160dab",
    "size": 342,
    "transaction_count": 0,
    "sum_transaction_values": 0,
    "sum_transaction_fees": 0,
    "extra_data_base64": "QWxsIHRoZSBwZW9wbGUgYXJlIGFzbGVlcCBhbmQgZHJlYW1pbmcu",
    "extra_data_string": "All the people are asleep and dreaming."
  },
  {
    "hash": "0x9d046175d96e090db9b55537377b29efa5d08717dee0ce91ceb3d044f4ce92e3",
    "prev_hash": "0xa33f3679ab9e5e5dc75ecc453b379e8b9315202714dd4e4902c3d375e08e1252",
    "body_hash": "0xe36c65eaa953dedf3fad43f781aa63dcd66485494f0aed75fc992ce29cda85c8",
    "interlink_hash": "0x8058ff17d5a4977fc216e29334d23a0fde7101ad027dbff1d899ee0bc91d0c81",
    "accounts_hash": "0x682f0c943149c88f935ca7198e0c18d137afb50f01f737cf4d8e887d942af04d",
    "pow": "0x00000000090f8ad1cf626e04cd8c2d3a1313727dd96406e2bc5718c87d29b323",
    "height": 31837,
    "nbits": 471548897,
    "difficulty": 615335.502762684,
    "nonce": 2086456,
    "version": 1,
    "timestamp": 1525608786,
    "miner_addr_friendly": "NQ95 HEAD FUCK 7UNC D8S9 BCL9 YPMP 65F1 C3DB",
    "miner_addr_hex": "0x8b94d7f1933f2cc6a3495b289fdeb7315e160dab",
    "size": 498,
    "transaction_count": 0,
    "sum_transaction_values": 0,
    "sum_transaction_fees": 0,
    "extra_data_base64": "Tm93IGlzIHRoZSBvbmx5IHRoaW5nIHRoYXQncyByZWFsXCE=",
    "extra_data_string": "Now is the only thing that's real\\!"
  },
  {
    "hash": "0x8b2dd600ebb7f8577a0c88675169ac9706662b569200d5c9615befa6fea23c2d",
    "prev_hash": "0xea3c8e2fa91b63540ed35ef68b47cc7a07a1e70e89fe199fa819ab3245d62003",
    "body_hash": "0x385cb5b8ac6e03bb365e22947332730033f6ed3a69a76a9a49ec765db074fe04",
    "interlink_hash": "0x7e83323d3df18109d249379d525031da2b815a6b90891020b53997dd5faf38a4",
    "accounts_hash": "0x1aa58b139fd5c6e8965fac33287ea0dfc1ddeed232f7e86533a826b91534eb65",
    "pow": "0x0000000002f4d18c62e94d73a893528795dc149dcfb6bdb7b034b8fb1e9b4d32",
    "height": 31521,
    "nbits": 471491745,
    "difficulty": 635667.18782307,
    "nonce": 1064633,
    "version": 1,
    "timestamp": 1525589906,
    "miner_addr_friendly": "NQ95 HEAD FUCK 7UNC D8S9 BCL9 YPMP 65F1 C3DB",
    "miner_addr_hex": "0x8b94d7f1933f2cc6a3495b289fdeb7315e160dab",
    "size": 406,
    "transaction_count": 0,
    "sum_transaction_values": 0,
    "sum_transaction_fees": 0,
    "extra_data_base64": "QWxsIHRoZSBwZW9wbGUgYXJlIGFzbGVlcCBhbmQgZHJlYW1pbmcu",
    "extra_data_string": "All the people are asleep and dreaming."
  },
  {
    "hash": "0xcbaccfe52980528445c43eb2b364bbc6d32b5cfd09faff08ab807d98a9f09472",
    "prev_hash": "0x9fcc8348c3825483f5ee3bda875f0faf4b6fc60459653b982999f6b9e702de52",
    "body_hash": "0xe36c65eaa953dedf3fad43f781aa63dcd66485494f0aed75fc992ce29cda85c8",
    "interlink_hash": "0x71df2b00f1bdc9e3cf69a214f7dacb0c317a5f379b66e3820a4432c17028e33a",
    "accounts_hash": "0xb1f32f0e4d41ba1edba2eb91b920f7cadee8d3d40a3a19396a8c78e5ab01e732",
    "pow": "0x00000000183f2a74dac1e13aada728e4d2f66ea87382e1d8c1ae1985af6880cc",
    "height": 27049,
    "nbits": 471948830,
    "difficulty": 502798.90625,
    "nonce": 895253,
    "version": 1,
    "timestamp": 1525321104,
    "miner_addr_friendly": "NQ95 HEAD FUCK 7UNC D8S9 BCL9 YPMP 65F1 C3DB",
    "miner_addr_hex": "0x8b94d7f1933f2cc6a3495b289fdeb7315e160dab",
    "size": 371,
    "transaction_count": 0,
    "sum_transaction_values": 0,
    "sum_transaction_fees": 0,
    "extra_data_base64": "Tm93IGlzIHRoZSBvbmx5IHRoaW5nIHRoYXQncyByZWFsXCE=",
    "extra_data_string": "Now is the only thing that's real\\!"
  },
  {
    "hash": "0x3c35463ca494d922fe498a608489fcd26d6cad3ca86a1716f8067b29cf1e922f",
    "prev_hash": "0xe48ca27c5374bfb5341038ed33c3549d6af0aa0143b02cb02a0a41d5d6ebb481",
    "body_hash": "0xe36c65eaa953dedf3fad43f781aa63dcd66485494f0aed75fc992ce29cda85c8",
    "interlink_hash": "0xf333460181dee94a22d9dbcfc83bf3cd2c32ada6dff104cd6e1831a5ef8368fa",
    "accounts_hash": "0x1c2f52d0c11aa8ce8e9c5a833912fcc096b12d07377c1cde263c660dec8e730c",
    "pow": "0x00000000041971b05cf95ab7e19229bfda031ac0ab26cadfcc09b86c0163ab49",
    "height": 19678,
    "nbits": 472504374,
    "difficulty": 400941.25,
    "nonce": 3605578,
    "version": 1,
    "timestamp": 1524876728,
    "miner_addr_friendly": "NQ95 HEAD FUCK 7UNC D8S9 BCL9 YPMP 65F1 C3DB",
    "miner_addr_hex": "0x8b94d7f1933f2cc6a3495b289fdeb7315e160dab",
    "size": 530,
    "transaction_count": 0,
    "sum_transaction_values": 0,
    "sum_transaction_fees": 0,
    "extra_data_base64": "Tm93IGlzIHRoZSBvbmx5IHRoaW5nIHRoYXQncyByZWFsXCE=",
    "extra_data_string": "Now is the only thing that's real\\!"
  },
  {
    "hash": "0x6f8a018e5c49a89dbaf368f74a4675c300d013db55a9a2574616b56f48e1e411",
    "prev_hash": "0xd29e0e8fe6c97e4cd5780cf7df594ecfbd8bba289e5868f60441931532fb296a",
    "body_hash": "0x74227ffa88ab75c1a8b8b6d052269cfb5c1e6c0350424a63b83d52aa3082e7f2",
    "interlink_hash": "0x896b77459a3cea4ed21e4663e63dfced7413becd74ca0111b82f54252dca514c",
    "accounts_hash": "0x155b3907c53218d512b0130c3ed0c096393f56dffa4381cae91045dedcbc5539",
    "pow": "0x0000000019d3aecadfa41b26adbcdb9eea0f762d7d01139f231963877581f952",
    "height": 18054,
    "nbits": 472415569,
    "difficulty": 414359.5,
    "nonce": 6170317,
    "version": 1,
    "timestamp": 1524778185,
    "miner_addr_friendly": "NQ95 HEAD FUCK 7UNC D8S9 BCL9 YPMP 65F1 C3DB",
    "miner_addr_hex": "0x8b94d7f1933f2cc6a3495b289fdeb7315e160dab",
    "size": 540,
    "transaction_count": 0,
    "sum_transaction_values": 0,
    "sum_transaction_fees": 0,
    "extra_data_base64": "RmFzdGVyLCBmYXN0ZXIgZmFzdGVyLiBVbnRpbCB0aGUgdGhyaWxsIG9mIHNwZWVkIG92ZXJjb21lcyB0aGUgZmVhciBvZiBkZWF0aC4=",
    "extra_data_string": "Faster, faster faster. Until the thrill of speed overcomes the fear of death."
  },
  {
    "hash": "0xd32bd31c1b12a274cbdaf8fa5c26803bffbc262ab98ca2c04da4f8c178b6ff2e",
    "prev_hash": "0x4997dd2acd24bb9da883720baeb9219f6cadafdcf3223314b7755d569ac6b3f1",
    "body_hash": "0x74227ffa88ab75c1a8b8b6d052269cfb5c1e6c0350424a63b83d52aa3082e7f2",
    "interlink_hash": "0xa8dc26169a168c766780338c70491262a50b53974f34305ccfbf858463b356e0",
    "accounts_hash": "0x262cc0a783ae47eb3ca0bae4c0245aa37ed5d2616b83bce8f5d600440f2303e4",
    "pow": "0x000000000023117a3ff4eec12e63b920e2afc2bed9f6e60fd6447bb4919754b6",
    "height": 15065,
    "nbits": 472925775,
    "difficulty": 347536.8125,
    "nonce": 1057191,
    "version": 1,
    "timestamp": 1524597827,
    "miner_addr_friendly": "NQ95 HEAD FUCK 7UNC D8S9 BCL9 YPMP 65F1 C3DB",
    "miner_addr_hex": "0x8b94d7f1933f2cc6a3495b289fdeb7315e160dab",
    "size": 444,
    "transaction_count": 0,
    "sum_transaction_values": 0,
    "sum_transaction_fees": 0,
    "extra_data_base64": "RmFzdGVyLCBmYXN0ZXIgZmFzdGVyLiBVbnRpbCB0aGUgdGhyaWxsIG9mIHNwZWVkIG92ZXJjb21lcyB0aGUgZmVhciBvZiBkZWF0aC4=",
    "extra_data_string": "Faster, faster faster. Until the thrill of speed overcomes the fear of death."
  }
]