Cardanoscan API (Free)

After working all day constructing an Ajax form for the first Cardanoscan API function, GET /block, I have a new found appreciation for both their website and API. Thank you to everyone who makes this all work so seamlessly.You guys rock!

I don’t think there is an added value in what I am doing by creating Ajax forms for the API functions, since all the data is readily available on Cardanoscan and in a nicely polished format to boot. Nevertheless, this little project is providing me with a better understanding of the blockchain, so it is not for naught. I think I will build Ajax forms for all the API functions working in the same order they are listed in the API documentation, but I reserve the right to jump around.

While I can still somewhat see what I am writing (my poor eyes), let me drop a link to the first Ajax form. Please break it if you can, if you are so inclined. Cheers!

https://buddym.com/dev/block

I completed a few more AJAX forms this morning while sipping on my coffee. The GET /pool response was a bit tough, but fun to work on. It has been a while since I looped through nested objects in a JSON response.

Here are the new forms if anyone is interested. Thanks!

https://buddym.com/dev/block/latest

https://buddym.com/dev/address/balance

https://buddym.com/dev/pool

Ouch! GET pool/list pushed me to the brink!

https://buddym.com/dev/pool/stats

https://buddym.com/dev/pool/list

I took a break yesterday, but I am back at it today…

https://buddym.com/dev/pool/list/expiring

https://buddym.com/dev/pool/list/expired

https://buddym.com/dev/asset

https://buddym.com/dev/asset/list/byPolicyId

https://buddym.com/dev/asset/list/byAddress

Just a quick update…

I fixed some issues with the above endpoint responses: 1) broken links pointing back to CardanoScan; 2) pool owners array not parsed; and 3) tokens and pools in asset and pool lists having multiple list headings.

I am finishing up the Transaction Details and Transaction List By Address endpoints and anticipate having those completed by the end of the week.

Thanks!

Here are the Transaction Details and Transaction List By Address Ajax forms… I didn’t test transactions related to voting or proposals, as I didn’t have those types of transactions in my wallet. If you do, then would you please post the transaction hash or wallet address, so I can test those types of transactions. Thanks!

https://buddym.com/dev/transaction

https://buddym.com/dev/transaction/list