AR.IO LogoAR.IO Documentation

Chunks

Upload Arweave data chunks or get existing chunk offset information

Get chunk offset information.

Fetches information about the size and offset of a specified chunk.

GET
/chunk/{offset}

Path Parameters

offsetinteger

Header Parameters

If-None-Match?string

ETag value for conditional request. Returns 304 if chunk hash matches.

Response Body

curl -X GET "https://ardrive.net/chunk/0" \  -H "If-None-Match: string"
{
  "tx_path": "string",
  "packing": "string",
  "data_path": "string",
  "chunk": "string"
}
Empty
Empty
Empty

Get chunk metadata without body.

Returns the same headers as GET but without the response body. Useful for checking chunk existence and metadata.

HEAD
/chunk/{offset}

Path Parameters

offsetinteger

Header Parameters

If-None-Match?string

ETag value for conditional request. Returns 304 if chunk hash matches.

Response Body

curl -X HEAD "https://ardrive.net/chunk/0" \  -H "If-None-Match: string"
Empty
Empty
Empty
Empty

How is this guide?