Dashboard
Tutorials
Community
Support
Search…
Welcome to Infura docs
Getting started
Dashboard stats
Networks
Ethereum (execution layer)
ETH2 (consensus layer)
IPFS
How to
HTTP API methods
add
block_get
block_put
block_stat
cat
dag_get
dag_put
dag_resolve
get
object_data
object_get
object_put
object_stat
pin_add
pin_ls
pin_rm
pin_update
version
Filecoin
Polygon PoS
Palm
Optimism
Arbitrum
NEAR
Aurora
StarkNet
Features
Archive data
NFT SDK
Infura transactions (ITX)
Tutorials
Ethereum
Filecoin
NEAR
Layer 2 networks
Developer tools
LEARN
curl
JSON Web Token (JWT)
Web3 libraries
Powered By
GitBook
object_data
/api/v0/object/data
Output the raw bytes of an IPFS object.
REQUEST
1
POST https://ipfs.infura.io:5001/api/v0/object/data?arg=<key>
Copied!
REQUEST PARAMS
arg
[required]
- Key of the object to retrieve, in base58-encoded multihash format.
EXAMPLE
1
// POST
2
curl
-X POST
"https://ipfs.infura.io:5001/api/v0/object/data?arg=QmZtmD2qt6fJot32nabSP3CUjicnypEBz7bHVDhPQt9aAy"
Copied!
RESPONSE
On success, the call to this endpoint will return with 200 and the following body:
BODY
1
This endpoint returns a `text/plain` response body.
Copied!
Previous
get
Next
object_get
Last modified
3mo ago
Copy link
Contents
/api/v0/object/data
REQUEST
RESPONSE