Skip to main content

block_get

/api/v0/block/get

Get a raw IPFS block.

REQUEST

curl "https://ipfs.infura.io:5001/api/v0/block/get?arg=<key>" \
-X POST \
-u "<API_KEY>:<API_KEY_SECRET>"

REQUEST PARAMS

  • arg [Required] - The base58 multihash of an existing block to get.

RESPONSE

On success, the call to this endpoint will return with 200 and the following body:

BODY

This endpoint returns a `text/plain` response body.