Post
Topic
Board Development & Technical Discussion
Re: how to get block height for given day
by
mendace
on 18/02/2023, 16:42:43 UTC
I'm trying to programmatically get the block height at certain given dates - for instance, first day of each month.
I don't have access to a full node.
Is there a block explorer or other platform with an API endpoint (or just a small dump of such data somewhere) that could be helpful?
Thanks!

I believe that you can utilize the blockchain.info API to obtain the data you are seeking. Please take a look at the following link to see if it provides what you require.

https://www.blockchain.com/explorer/api