# Data Source - Connecting to REST API

**URL:** <https://community.dremio.com/t/data-source-connecting-to-rest-api/1288>\
**Category:** Uncategorized\
**Created:** [June 11, 2018, 7:29pm UTC](https://community.dremio.com/t/data-source-connecting-to-rest-api/1288 "2018-06-11T19:29:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsietz](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@dsietz](https://community.dremio.com/u/dsietz)\
**Post date:** [June 11, 2018, 7:29pm UTC](https://community.dremio.com/t/data-source-connecting-to-rest-api/1288/1 "2018-06-11T19:29:59Z")

</div>

Is there a way to setup a data source that pulls data directly from a REST call (e.g.: GET [https://mydatasource.com/api/sales/orders](https://mydatasource.com/api/sales/orders))

---

<div class="post-metadata">

**Author:** ![anthony](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/anthony/32/670_2.png) [@anthony](https://community.dremio.com/u/anthony)\
**Post date:** [June 11, 2018, 9:21pm UTC](https://community.dremio.com/t/data-source-connecting-to-rest-api/1288/2 "2018-06-11T21:21:07Z")

</div>

An option today is to create a script that would pull data from a REST call \> store it in some type of filesystem \> use Dremio’s REST API and create a physical dataset to that filesystem/file

---

<div class="post-metadata">

**Author:** ![dsietz](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@dsietz](https://community.dremio.com/u/dsietz)\
**Post date:** [June 12, 2018, 12:04pm UTC](https://community.dremio.com/t/data-source-connecting-to-rest-api/1288/3 "2018-06-12T12:04:40Z")

</div>

Thanks for the work-around Anthony.

Do you know where suggested enhancements can be submitted. I believe that having a REST URL as a data source (e.g.: with configurable headers) would make the product more versatile and valuable.

---

<div class="post-metadata">

**Author:** ![Ranjan](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@Ranjan](https://community.dremio.com/u/Ranjan)\
**Post date:** [May 8, 2019, 2:44pm UTC](https://community.dremio.com/t/data-source-connecting-to-rest-api/1288/4 "2019-05-08T14:44:41Z")

</div>

Hi @anthony if i would like to write a custom plugin or connector to read data directly from REST API how could we do it? any guidelines or help would be highly appreciated.

---

<div class="post-metadata">

**Author:** ![kelly](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/kelly/32/11_2.png) [@kelly](https://community.dremio.com/u/kelly)\
**Post date:** [May 8, 2019, 5:56pm UTC](https://community.dremio.com/t/data-source-connecting-to-rest-api/1288/5 "2019-05-08T17:56:37Z")

</div>

Hi Ranjan this is not something you can do today.

---

<div class="post-metadata">

**Author:** ![Ranjan](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@Ranjan](https://community.dremio.com/u/Ranjan)\
**Post date:** [May 9, 2019, 6:23am UTC](https://community.dremio.com/t/data-source-connecting-to-rest-api/1288/6 "2019-05-09T06:23:46Z")

</div>

Hi Kelly thanks for your response! Is it something doable in near future few weeks to months time?

---

<div class="post-metadata">

**Author:** ![Bruce\_Lowther](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/bruce_lowther/32/1453_2.png) [@Bruce\_Lowther](https://community.dremio.com/u/Bruce_Lowther)\
**Post date:** [May 9, 2019, 6:10pm UTC](https://community.dremio.com/t/data-source-connecting-to-rest-api/1288/7 "2019-05-09T18:10:20Z")

</div>

If you’re into DIY, I would recommend looking at examples of other plugins:

> **[dremio/dremio-oss](https://github.com/dremio/dremio-oss/tree/master/plugins)**
>
> Dremio - the missing link in modern data. Contribute to dremio/dremio-oss development by creating an account on GitHub.

Then consider some of the parameters that would be involved in implementing. Credentials, authentication, metadata mapping, etc.

---

<div class="post-metadata">

**Author:** ![aparnav](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@aparnav](https://community.dremio.com/u/aparnav)\
**Post date:** [December 13, 2019, 9:57pm UTC](https://community.dremio.com/t/data-source-connecting-to-rest-api/1288/8 "2019-12-13T21:57:39Z")

</div>

Not sure if there has been any progress on this but it will be a very useful feature for Dremio to be able to connect to data sources that expose data as REST API. Has anyone tried to implement it as custom connector?
