REST API v1

Last updated: Jan 16th, 2020

Free plan methods

6 calls / minute
For example: https://grepblock.com/apiv1/free/findbyblocknum?assetname=all&num=1

getlastblock?assetname=bitcoin
{"block": 612551}
getlastdifficulty?assetname=bitcoin
{"difficulty": 13798783827516.42}
getlastparsedwallet?assetname=bitcoin
{"wallet": "1G4Psnj9kMsWWnZcsuKZ9YMt3pZWbTERhr", "walletTime": 1425999708, "block": 347018}
getblockbyhash?assetname=bitcoin&blockhash=000000007fd154304333282ea2e1bbd4458fcc354d4e6c3b7fea6c95b76e417c
{"block": 32132}
getblocktimebynum?assetname=bitcoin&num=123
{"time": 1231677823}
findbyblocknum?assetname=bitcoin&num=123
{"block": 123, "hash": "00000000a3bbe4fd1da16a29dbdaba01cc35d6fc74ee17f794cf3aab94f7aaa0", "confirmations": 597274, "strippedsize": 216, "size": 216, "weight": 864, "height": 123, "version": 1, "versionHex": "00000001", "merkleroot": "b944ef8c77f9b5f4a4276880f17256988bba4d0125abc54391548061a688ae09", "tx": ["b944ef8c77f9b5f4a4276880f17256988bba4d0125abc54391548061a688ae09"], "time": 1231677823, "mediantime": 1231673484, "nonce": 4094077204, "bits": "1d00ffff", "difficulty": 1, "chainwork": "0000000000000000000000000000000000000000000000000000007c007c007c", "nTx": 1, "previousblockhash": "000000008d98d186565441057e87cc03251b95b9042956c9fb11325e2d4a847a", "nextblockhash": "00000000ceae2b1cb578f066bd08c672fe87814880671c205febb2d624184f21"}
findbyblockhash?assetname=bitcoin&blockhash=00000000a3bbe4fd1da16a29dbdaba01cc35d6fc74ee17f794cf3aab94f7aaa0
{"block": 123, "hash": "00000000a3bbe4fd1da16a29dbdaba01cc35d6fc74ee17f794cf3aab94f7aaa0", "confirmations": 597274, "strippedsize": 216, "size": 216, "weight": 864, "height": 123, "version": 1, "versionHex": "00000001", "merkleroot": "b944ef8c77f9b5f4a4276880f17256988bba4d0125abc54391548061a688ae09", "tx": ["b944ef8c77f9b5f4a4276880f17256988bba4d0125abc54391548061a688ae09"], "time": 1231677823, "mediantime": 1231673484, "nonce": 4094077204, "bits": "1d00ffff", "difficulty": 1, "chainwork": "0000000000000000000000000000000000000000000000000000007c007c007c", "nTx": 1, "previousblockhash": "000000008d98d186565441057e87cc03251b95b9042956c9fb11325e2d4a847a", "nextblockhash": "00000000ceae2b1cb578f066bd08c672fe87814880671c205febb2d624184f21"}
findbytransaction?assetname=bitcoin&txid=b944ef8c77f9b5f4a4276880f17256988bba4d0125abc54391548061a688ae09
{"block": 123, "hash": "00000000a3bbe4fd1da16a29dbdaba01cc35d6fc74ee17f794cf3aab94f7aaa0", "confirmations": 597274, "strippedsize": 216, "size": 216, "weight": 864, "height": 123, "version": 1, "versionHex": "00000001", "merkleroot": "b944ef8c77f9b5f4a4276880f17256988bba4d0125abc54391548061a688ae09", "tx": ["b944ef8c77f9b5f4a4276880f17256988bba4d0125abc54391548061a688ae09"], "time": 1231677823, "mediantime": 1231673484, "nonce": 4094077204, "bits": "1d00ffff", "difficulty": 1, "chainwork": "0000000000000000000000000000000000000000000000000000007c007c007c", "nTx": 1, "previousblockhash": "000000008d98d186565441057e87cc03251b95b9042956c9fb11325e2d4a847a", "nextblockhash": "00000000ceae2b1cb578f066bd08c672fe87814880671c205febb2d624184f21"}
findbywallet?assetname=bitcoin&addr=146U52e2kLnMkJ3uDCV69mKqkoYGJwBahP
{"wallet": "146U52e2kLnMkJ3uDCV69mKqkoYGJwBahP", "walletTime": 1240759940, "block": 12312}
findbyblocknum?assetname=all&num=2230000
{"ProcessingTook": "3374 ms among 30 blockchains", "SearchData": [{"assetTicker": "ETH", "assetName": "Ethereum", "assetExplorerLinkWallets": "https://etherscan.io/address/", "assetExplorerLinkTransactions": "https://etherscan.io/tx/", "assetExplorerLinkBlockHashes": "https://etherscan.io/block/", "assetExplorerLinkBlocks": "https://etherscan.io/block/", "FoundDataIn": "ethereum", "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "miner": "0x2a65aca4d5fc5b5c859090a6c34d164135398226", "number": "0x2206f0", "size": 526, "tx": [], "author": "0x2a65aca4d5fc5b5c859090a6c34d164135398226", "mixHash": "0xa548add7a595d08fe7fb4ac3257a67f5066fedaaffc4d3283e17c98187d2537c", "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", "gasLimit": 4707788, "gasUsed": 0, "hash": "0xf19568cfa8ac16d822e57305055b190d73265292053bde0ee127955d60c2edee", "uncles": [], "transactions": "forwardedTo>tx", "timestamp": "0x57d3316e", "sealFields": ["0xa0a548add7a595d08fe7fb4ac3257a67f5066fedaaffc4d3283e17c98187d2537c", "0x883dfb2af4d0284c80"], "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "difficulty": "69930991825055", "parentHash": "0x68f3d6f7359fb0097905608618d970056509397b898466a982a6ebb098ef4e72", "extraData": "0x4477617266506f6f6c", "stateRoot": "0xab46d072ffa002f455b12661c2bd6b384cf599c73e8e97565d8b01560c016850", "time": 1473458542, "totalDifficulty": "58493038858122821877", "logsBloom": "null", "block": 2230000}, {"assetTicker": "GRS", "assetName": "Groestlcoin", "assetExplorerLinkWallets": "https://chainz.cryptoid.info/grs/address.dws?", "assetExplorerLinkTransactions": "https://chainz.cryptoid.info/grs/tx.dws?", "assetExplorerLinkBlockHashes": "https://chainz.cryptoid.info/grs/block.dws?", "assetExplorerLinkBlocks": "https://chainz.cryptoid.info/grs/block.dws?", "FoundDataIn": "groestlcoin", "weight": 2050, "height": 2230000, "size": 703, "tx": ["d8c5ba2b8bdb491605518844334f072cad92aac0538795f39fe125c3b86415b5", "e3b581ae1536d1d1dc21598b61246122a7b936ca136f44c7c682b47060cc0093"], "version": 536870912, "bits": "1b00d732", "merkleroot": "d7aa545770b9b9d035f04bfd3f592903423e90776037ec74ef5ca863d60f699f", "hash": "000000000000004dbfba4ffa8ece854819dc81ca678f2867a27f010a8d0670c6", "chainwork": "0000000000000000000000000000000000000000000000022dba018e888b827b", "isMainChain": "True", "mediantime": 1535398415, "difficulty": 77961.54946451262, "nextblockhash": "null", "strippedsize": 449, "reward": 5, "previousblockhash": "0000000000009bd6f498949fb803b50128bc628cf8154e61e921b91f0bd48a56", "confirmations": 662566, "time": 1535398802, "versionHex": "20000000", "block": 2230000}, {"assetTicker": "MEME", "assetName": "Memetic", "assetExplorerLinkWallets": "http://explorer.memetic.ai/address/", "assetExplorerLinkTransactions": "http://explorer.memetic.ai/tx/", "assetExplorerLinkBlockHashes": "http://explorer.memetic.ai/block/", "assetExplorerLinkBlocks": "http://explorer.memetic.ai/block/", "FoundDataIn": "memetic", "merkleroot": "edb97046ea2d96117ce1e1c9635be52e7253b05995abef42676fdcef425cf0a5", "height": 2230000, "entropybit": 1, "mint": 7.5, "size": 615, "blocktrust": "958caf272913c", "tx": ["cec67e135ccf274fe8259c23a65e574ddbb14ea726ef11bdaca5c23adddd1317", "52e0ae9bdeb82000d4761794cb86e246c48cc7a4cae7af2bbf12d0fd45aeaa29"], "chaintrust": "461607b2889e28c671", "version": 7, "modifierv2": "6b47ad11fbeb14a03f4b59a9cc936033644be29cf43cb3312f6dc1966d7fb216", "bits": "1a1b6390", "hash": "bd531f079c4c188d337b85619077ff7d67ae2193117883eceae4a171140a798b", "time": 1576473024, "difficulty": 612545.60021393, "confirmations": 30036, "proofhash": "0001b4636431c6fcfdff05b4cc229010bb46586e51263263e1a39c656028962b", "previousblockhash": "6db9ab92e23a8d4ebb0fef4db347ed21cb23e73c887c3e7b2dad17b6ed53e20e", "nextblockhash": "null", "flags": "proof-of-stake", "signature": "3045022100915f8e98510e1481c71f38267ba041afb5b3c724f97c9899fb8cf61ed4d00f8f022014b9956dc798b815cac3b2d9760b699e98cc84c0869afb7fa51181cc64c27d50", "modifier": "d1cd786e012e5b2d", "block": 2230000}, {"assetTicker": "RDD", "assetName": "Reddcoin", "assetExplorerLinkWallets": "https://live.reddcoin.com/address/", "assetExplorerLinkTransactions": "https://live.reddcoin.com/tx/", "assetExplorerLinkBlockHashes": "https://live.reddcoin.com/block/", "assetExplorerLinkBlocks": "https://live.reddcoin.com/block/", "FoundDataIn": "reddcoin", "merkleroot": "f0b01178a29fd60774b5e74403781116002aa2c70ab89567a21a0d7556a284eb", "modifierchecksum": "76d6cd6c", "height": 2230000, "entropybit": 0, "mint": 225.80961171, "size": 1006, "moneysupply": 28851424500.02482, "version": 4, "bits": "1c0181a9", "hash": "6eacb62ac3056fe2e5b93cd319db22a4e54462dd2a7e67a804d9e260b8cad7e2", "chainwork": "00000000000000000000000000000000000000000000000010c353b4bb0923e0", "isMainChain": "True", "signature": "304502210091070401e108473c3a3e96afce939b67189c56e28761de2f7d83fa5653d3bd6f02200767fa9c6f4a530698ce5183cde0ac82a442dd82ef4836cc3d640dabfa0dea9b", "difficulty": 169.92940271, "nextblockhash": "null", "reward": 0, "previousblockhash": "45778474df254067540771deec6a8b42ef39d615559c24771ee66ad25eca38f5", "tx": ["99dbd0a5aff882caed9d26ee6bf3aa8b7c140e6311aa0292534a1a03443cf1c9", "105d308b4239daadc236ad8470f2d03f3f58e3badb020571785b732844c310b7", "aa96ec25517dd713d866757addbd9139fc03e617934c203ff6d2bde0f018dc7d", "5105ae8b42e13fe9d8bb04ccdc2ade41ea204b6035052137b219a14130c5a192"], "confirmations": 817922, "flags": "proof-of-stake", "time": 1525763703, "modifier": "1c2c8d5036c13db2", "block": 2230000}, {"assetTicker": "DGB", "assetName": "Digibyte", "assetExplorerLinkWallets": "https://chainz.cryptoid.info/dgb/address.dws?", "assetExplorerLinkTransactions": "https://chainz.cryptoid.info/dgb/tx.dws?", "assetExplorerLinkBlockHashes": "https://chainz.cryptoid.info/dgb/block.dws?", "assetExplorerLinkBlocks": "https://chainz.cryptoid.info/dgb/block.dws?", "FoundDataIn": "digibyte", "merkleroot": "489c5b17b85f5d5d352616f79b65256ccabd9abfc011d1e1481f50ef4733f7fe", "weight": 816, "pow_algo": "sha256d", "height": 2230000, "size": 204, "nTx": 1, "tx": ["489c5b17b85f5d5d352616f79b65256ccabd9abfc011d1e1481f50ef4733f7fe"], "version": 514, "pow_algo_id": 0, "bits": "1a0263b2", "hash": "000000000000010a3324310e3254a4b84250661bbfa047d5608a7c70f53d9617", "chainwork": "0000000000000000000000000000000000000000000000c4a39d46487164afcc", "isMainChain": "True", "mediantime": 1461198920, "difficulty": 7021308.929844055, "nextblockhash": "null", "pow_hash": "000000000000010a3324310e3254a4b84250661bbfa047d5608a7c70f53d9617", "strippedsize": 204, "previousblockhash": "ce7b6d8e4d2f47e8a1370e5a50d9debca40c0e3e0e6564f8eef70f4302220b03", "confirmations": 7648405, "time": 1461199019, "versionHex": "00000202", "reward": 1031.15571515, "block": 2230000}]}

Basic plan methods

60 calls / minute
All previous methods are valid too
For example: https://grepblock.com/apiv1/basic/findbyblockhash?assetname=all&hash=000000000000004dbfba4ffa8ece854819dc81ca678f2867a27f010a8d0670c6

findbyblockhash?assetname=all&hash=000000000000004dbfba4ffa8ece854819dc81ca678f2867a27f010a8d0670c6
{"ProcessingTook": "6702 ms among 30 blockchains", "SearchData": [{"assetTicker": "GRS", "assetName": "Groestlcoin", "assetExplorerLinkWallets": "https://chainz.cryptoid.info/grs/address.dws?", "assetExplorerLinkTransactions": "https://chainz.cryptoid.info/grs/tx.dws?", "assetExplorerLinkBlockHashes": "https://chainz.cryptoid.info/grs/block.dws?", "assetExplorerLinkBlocks": "https://chainz.cryptoid.info/grs/block.dws?", "FoundDataIn": "groestlcoin", "weight": 2050, "height": 2230000, "size": 703, "tx": ["d8c5ba2b8bdb491605518844334f072cad92aac0538795f39fe125c3b86415b5", "e3b581ae1536d1d1dc21598b61246122a7b936ca136f44c7c682b47060cc0093"], "version": 536870912, "bits": "1b00d732", "merkleroot": "d7aa545770b9b9d035f04bfd3f592903423e90776037ec74ef5ca863d60f699f", "hash": "000000000000004dbfba4ffa8ece854819dc81ca678f2867a27f010a8d0670c6", "chainwork": "0000000000000000000000000000000000000000000000022dba018e888b827b", "isMainChain": "True", "mediantime": 1535398415, "difficulty": 77961.54946451262, "nextblockhash": "null", "strippedsize": 449, "reward": 5, "previousblockhash": "0000000000009bd6f498949fb803b50128bc628cf8154e61e921b91f0bd48a56", "confirmations": 662566, "time": 1535398802, "versionHex": "20000000", "block": 2230000}]}
findbytransaction?assetname=all&txid=d8c5ba2b8bdb491605518844334f072cad92aac0538795f39fe125c3b86415b5
{"ProcessingTook": "6613 ms among 30 blockchains", "SearchData": [{"assetTicker": "GRS", "assetName": "Groestlcoin", "assetExplorerLinkWallets": "https://chainz.cryptoid.info/grs/address.dws?", "assetExplorerLinkTransactions": "https://chainz.cryptoid.info/grs/tx.dws?", "assetExplorerLinkBlockHashes": "https://chainz.cryptoid.info/grs/block.dws?", "assetExplorerLinkBlocks": "https://chainz.cryptoid.info/grs/block.dws?", "FoundDataIn": "groestlcoin", "weight": 2050, "height": 2230000, "size": 703, "tx": ["d8c5ba2b8bdb491605518844334f072cad92aac0538795f39fe125c3b86415b5", "e3b581ae1536d1d1dc21598b61246122a7b936ca136f44c7c682b47060cc0093"], "version": 536870912, "bits": "1b00d732", "merkleroot": "d7aa545770b9b9d035f04bfd3f592903423e90776037ec74ef5ca863d60f699f", "hash": "000000000000004dbfba4ffa8ece854819dc81ca678f2867a27f010a8d0670c6", "chainwork": "0000000000000000000000000000000000000000000000022dba018e888b827b", "isMainChain": "True", "mediantime": 1535398415, "difficulty": 77961.54946451262, "nextblockhash": "null", "strippedsize": 449, "reward": 5, "previousblockhash": "0000000000009bd6f498949fb803b50128bc628cf8154e61e921b91f0bd48a56", "confirmations": 662566, "time": 1535398802, "versionHex": "20000000", "block": 2230000}]}

Pro plan methods

600 calls / minute
All previous methods are valid too
For example: https://grepblock.com/apiv1/pro/findbywallet?assetname=all&addr=AV12hgJ8VzCt9ANmYCN6rbBLEYPt9VJTP6

findbywallet?assetname=all&addr=AV12hgJ8VzCt9ANmYCN6rbBLEYPt9VJTP6
{"ProcessingTook": "4291 ms among 30 blockchains", "SearchData": [{"assetTicker": "ADE", "assetName": "Adeptio", "assetExplorerLinkWallets": "https://chainz.cryptoid.info/ade/address.dws?", "assetExplorerLinkTransactions": "https://chainz.cryptoid.info/ade/tx.dws?", "assetExplorerLinkBlockHashes": "https://chainz.cryptoid.info/ade/block.dws?", "assetExplorerLinkBlocks": "https://chainz.cryptoid.info/ade/block.dws?", "FoundDataIn": "adeptio", "wallet": "AV12hgJ8VzCt9ANmYCN6rbBLEYPt9VJTP6", "walletTime": 1575835621, "block": 764979}]}