> For the complete documentation index, see [llms.txt](https://docs.wetez.io/wetez/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wetez.io/wetez/developer/storage/get.md).

# get

## /api/v0/get

Download IPFS objects.

### REQUEST

{% tabs %}
{% tab title="Syntax" %}

```bash
curl "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/get?arg=<ipfs-path>&output=<value>&archive=false&compress=false&compression-level=-1" \
    -X POST
```

{% endtab %}

{% tab title="Example" %}

```bash
curl "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/get?arg=QmZACwaaaKQpYTFuaaxCC3z8cyJRAkk1bSfVSSViLQPAGu&archive=true" \
    -X POST
```

{% endtab %}
{% endtabs %}

#### REQUEST PARAMS

* `arg` *\[Required]* - The IPFS object hash.
* `output` *\[Optional]* - The path where the output should be stored.
* `archive` *\[Optional]* - Output a TAR archive. The default is `false`.
* `compress` *\[*&#x4F;*ptional]* - Compress the output with GZIP compression. The default is `false`.
* `compression-level` *\[*&#x4F;*ptional]* - The level of compression (1-9). The default is `-1`.

### 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.
```
