New beta API for zcash-cli data

Hi folx,

When I was building zdash.info, I was frustrated by the lack of a public API for Zcash blockchain data that was both free AND reliable. I’ve built a beta API to hopefully help solve the problem. If the community finds this to be a valuable resource, happy to continue to develop the API.

At the moment, I’m implementing three zcash-cli queries:

  • getinfo
  • getblock
  • getrawtransaction

getinfo
Example API call: http://97.107.142.251:3000/getinfo

getblock
Example API call: http://97.107.142.251:3000/getblock?height=1000

getrawtransaction
Example API call: http://97.107.142.251:3000/getrawtransaction?txid=7fcba320afb3ca5c0b58d00d99e8ad2e8b4dfebdb95006eaadf603edef756eb4

4 Likes