<p>I would like to get the full raw data on the latest bitcoin block. I was hoping I could get this from an API.</p>

<p>I looked at <a href="https://www.blockchain.com/api/blockchain_api" rel="nofollow noreferrer">blockchain.com's</a> API's but these don't seem to provide the full data for each block including the header and transactions.</p>

<p>Does anyone know of a good source for this? Or should I be looking at alternatives to an API?</p>

CC BY-SA 4.0
2020-06-02T16:08:39.020Z
I am not aware of any public endpoint that will serve you the raw bitcoin core data. You can try with other explorers like blockstream.info but if you're looking for raw data, the best option is to run your own bitcoin core node.
Tony Sanak
CC BY-SA 4.0
2020-06-02T17:44:20.837Z
Thanks for your reply Tony. I don't know if 'raw' is the correct terminology for me to use. I need the full block data so I can see the header and transactions. If that makes any difference?
Toms Code
CC BY-SA 4.0
2020-06-02T18:00:48.240Z
So basically something like this? https://api.smartbit.com.au/v1/blockchain/block/360973
m1xolyd1an
CC BY-SA 4.0
2020-06-02T18:10:19.253Z
Thanks m1xolyd1an, yes perfect! Except is their a way to get this for the latest block?
Toms Code
<api><raw-data>
API for raw Bitcoin latest block data?
Toms Code
# API for raw Bitcoin latest block data?

(Asked by: username_0 on 2020-06-02)

I would like to get the full raw data on the latest bitcoin block. I was hoping I could get this from an API.

I looked at [blockchain.com's](https://www.blockchain.com/api/blockchain_api) API's but these don't seem to provide the full data for each block including the header and transactions.

Does anyone know of a good source for this? Or should I be looking at alternatives to an API?

**Tags:** api, raw-data

> **Comments:**
> **username_1**: I am not aware of any public endpoint that will serve you the raw bitcoin core data. You can try with other explorers like blockstream.info but if you're looking for raw data, the best option is to run your own bitcoin core node.  
> **username_0**: Thanks for your reply username_1. I don't know if 'raw' is the correct terminology for me to use. I need the full block data so I can see the header and transactions. If that makes any difference?  
> **username_2**: So basically something like this? https://api.smartbit.com.au/v1/blockchain/block/360973  
> **username_0**: Thanks username_2, yes perfect! Except is their a way to get this for the latest block?  

---

## 0 answers

