---
title: "Relay to an IPFS gateway"
method: GET
path: "/ipfs/gateway/{IPFS_path}"
tags: ["IPFS » Gateway"]
---

# Relay to an IPFS gateway

`GET /ipfs/gateway/{IPFS_path}`

Retrieve an object from the IPFS gateway (useful if you do not want to rely on a public gateway, such as `ipfs.blockfrost.dev`).

<p>
  <span class="hosted">Hosted</span> Endpoint only available for hosted variant.
</p>

## Path parameters

- `IPFS_path` string, required — Path to the IPFS object

## Response `200`

Returns the object content

## Other responses

- `400` — Bad request
- `403` — Authentication secret is missing or invalid
- `404` — Component not found
- `418` — IP has been auto-banned for extensive sending of requests after usage limit has been reached
- `429` — Usage limit reached
- `500` — Internal Server Error

---

[API](https://skmtc.net/txpipe/apis/blockfrost-io-api-documentation.md) · [All operations](https://skmtc.net/txpipe/apis/blockfrost-io-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/txpipe/blockfrost-io-api-documentation/revisions/4a2f67b16876/schema)
