---
title: "Download a file from the local node in a streaming manner. If the file is not available locally, a 404 is returned."
method: GET
path: "/data/{cid}"
tags: ["Data"]
---

# Download a file from the local node in a streaming manner. If the file is not available locally, a 404 is returned.

`GET /data/{cid}`

## Path parameters

- `cid` string, required — Content Identifier as specified at https://github.com/multiformats/cid

## Response `200`

Retrieved content specified by CID

## Other responses

- `400` — Invalid CID is specified
- `404` — Content specified by the CID is unavailable locally
- `500` — Well it was bad-bad

## Changes

- **2023-11-21** `27f1035cd6be` — 1 info
  - api operation id `download` removed and replaced with `downloadLocal`
- **2023-11-09** `816b1baf058f` — 1 info
  - endpoint added
- **2023-03-15** `dfe487dfc0e2` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/logos-storage/apis/logos-storage-api/changes/data/:cid/get.md)

---

[API](https://skmtc.dev/logos-storage/apis/logos-storage-api.md) · [All operations](https://skmtc.dev/logos-storage/apis/logos-storage-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/logos-storage/logos-storage-api/revisions/08d9f3fb83f3/schema)
