# How can I query outside data in mapping.ts? F.e. IPFS json-data

**URL:** <https://forum.thegraph.com/t/how-can-i-query-outside-data-in-mapping-ts-f-e-ipfs-json-data/2817>\
**Category:** Questions\
**Tags:** subgraph-devs\
**Created:** [December 8, 2021, 8:52pm UTC](https://forum.thegraph.com/t/how-can-i-query-outside-data-in-mapping-ts-f-e-ipfs-json-data/2817 "2021-12-08T20:52:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![adamfuller](https://avatars.discourse-cdn.com/v4/letter/a/8e8cbc/32.png) [@adamfuller](https://forum.thegraph.com/u/adamfuller)\
**Post date:** [December 9, 2021, 1:57pm UTC](https://forum.thegraph.com/t/how-can-i-query-outside-data-in-mapping-ts-f-e-ipfs-json-data/2817/2 "2021-12-09T13:57:38Z")

</div>

Hi @mhaas  
You can currently fetch files from IPFS in your mappings: [documentation](https://thegraph.com/docs/developer/assemblyscript-api#ipfs-api).

There is work in progress to offer more robust support for this: [GIP: File data sources](https://forum.thegraph.com/t/gip-file-data-sources/2721)

In general questions about subgraph development are best asked in the [Graph Protocol Discord](https://discord.gg/vtvv7FP)

Thanks!

---

_[View the full topic](https://forum.thegraph.com/t/how-can-i-query-outside-data-in-mapping-ts-f-e-ipfs-json-data/2817)._
