# Retrieving DAG nodes via a public gateway

**URL:** <https://discuss.ipfs.tech/t/retrieving-dag-nodes-via-a-public-gateway/5560>\
**Category:** Help\
**Created:** [June 2, 2019, 6:49pm UTC](https://discuss.ipfs.tech/t/retrieving-dag-nodes-via-a-public-gateway/5560 "2019-06-02T18:49:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![khinsen](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/khinsen/32/2681_2.png) [@khinsen](https://discuss.ipfs.tech/u/khinsen)\
**Post date:** [June 2, 2019, 6:49pm UTC](https://discuss.ipfs.tech/t/retrieving-dag-nodes-via-a-public-gateway/5560/1 "2019-06-02T18:49:23Z")

</div>

Is there a public IPFS gateway that allows retrieving arbitrary DAG nodes? I tried [ipfs.io](http://ipfs.io), but it seems to use “ipfs cat” and thus works only with file-type nodes:

[https://ipfs.io/ipfs/z8mWaJHXieAVxxLagBpdaNWFEBKVWmMiE](https://ipfs.io/ipfs/z8mWaJHXieAVxxLagBpdaNWFEBKVWmMiE)

replies  
`ipfs cat /ipfs/z8mWaJHXieAVxxLagBpdaNWFEBKVWmMiE: unknown node type`

I don’t plan to make any heavy use of such a gateway. I am just looking for a way to illustrate in a tutorial that a piece of data added to the local daemon is in fact accessible from everywhere.

---

<div class="post-metadata">

**Author:** ![olizilla](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/olizilla/32/2302_2.png) [@olizilla](https://discuss.ipfs.tech/u/olizilla)\
**Post date:** [June 3, 2019, 3:11pm UTC](https://discuss.ipfs.tech/t/retrieving-dag-nodes-via-a-public-gateway/5560/2 "2019-06-03T15:11:08Z")

</div>

Not yet. The gateway functionality built into go-ipfs does not currently support rendering dag nodes that dont represent directories and files (e.g. dag-cbor, ipld-git, etc)

> [@How to view ipfs dag CID content from http gateways?](https://discuss.ipfs.tech/t/how-to-view-ipfs-dag-cid-content-from-http-gateways/5498):
>
> After using the ipfs.dag.put method, received a CID string: bafyreic6x6ekvd3wc56vgol75nfygvav6pxj5raqvdghyqeyxmgcvmx6fy If I now try this: [http://ipfs.io/ipfs/bafyreic6x6ekvd3wc56vgol75nfygvav6pxj5raqvdghyqeyxmgcvmx6fy](http://ipfs.io/ipfs/bafyreic6x6ekvd3wc56vgol75nfygvav6pxj5raqvdghyqeyxmgcvmx6fy) it does not resolve. How to view this dag CID content with public ipfs gateways?

---

<div class="post-metadata">

**Author:** ![khinsen](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/khinsen/32/2681_2.png) [@khinsen](https://discuss.ipfs.tech/u/khinsen)\
**Post date:** [June 3, 2019, 3:33pm UTC](https://discuss.ipfs.tech/t/retrieving-dag-nodes-via-a-public-gateway/5560/3 "2019-06-03T15:33:40Z")

</div>

Thanks for the pointer to that discussion. It gave me an idea for a workaround: I can tell people to feed their local CID to [explore.ipfs.io](http://explore.ipfs.io), making sure to do so on a browser running on a different machine (a phone would do) to prevent the site from using the local daemon.
