# How use a existing RESTful API that response JSON data as a data source

**URL:** <https://community.grafana.com/t/how-use-a-existing-restful-api-that-response-json-data-as-a-data-source/11574>\
**Category:** Grafana\
**Created:** [October 26, 2018, 6:41pm UTC](https://community.grafana.com/t/how-use-a-existing-restful-api-that-response-json-data-as-a-data-source/11574 "2018-10-26T18:41:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![phucle](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@phucle](https://community.grafana.com/u/phucle)\
**Post date:** [October 26, 2018, 6:41pm UTC](https://community.grafana.com/t/how-use-a-existing-restful-api-that-response-json-data-as-a-data-source/11574/1 "2018-10-26T18:41:09Z")

</div>

Hi,

I am trying to connect my existing RESTfull API with JSON data response to Grafana dashboard to create some graphs. How do I do this?  
I have done some research and found SimpleJson addon, but this require changes in my back-end API. Is there any other way to do this other then SimpleJson addon.

Thanks,

---

<div class="post-metadata">

**Author:** ![viapass](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/viapass/32/1000_2.png) [@viapass](https://community.grafana.com/u/viapass)\
**Post date:** [October 27, 2018, 4:17pm UTC](https://community.grafana.com/t/how-use-a-existing-restful-api-that-response-json-data-as-a-data-source/11574/2 "2018-10-27T16:17:18Z")

</div>

I tried the same think with REST API on Cisco Prime Infrastrcuture but this is not the good way !  
Obviously you do the same approach ☹  
There are so many change that you must to do on your back-end API ?

---

<div class="post-metadata">

**Author:** ![joesen](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@joesen](https://community.grafana.com/u/joesen)\
**Post date:** [January 27, 2021, 8:50am UTC](https://community.grafana.com/t/how-use-a-existing-restful-api-that-response-json-data-as-a-data-source/11574/3 "2021-01-27T08:50:22Z")

</div>

Is there a progress in connection of RESTfull API with JSON response?  
Thanks…

---

<div class="post-metadata">

**Author:** ![samant](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/samant/32/5520_2.png) [@samant](https://community.grafana.com/u/samant)\
**Post date:** [January 27, 2021, 12:49pm UTC](https://community.grafana.com/t/how-use-a-existing-restful-api-that-response-json-data-as-a-data-source/11574/4 "2021-01-27T12:49:53Z")

</div>

are you looking for this - [Implementing Grafana SimpleJson Datasource using SparkJava microframework](https://www.linkedin.com/pulse/implementing-grafana-simplejson-datasource-using-sparkjava-samant/) ?

---

<div class="post-metadata">

**Author:** ![samant](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/samant/32/5520_2.png) [@samant](https://community.grafana.com/u/samant)\
**Post date:** [January 27, 2021, 12:51pm UTC](https://community.grafana.com/t/how-use-a-existing-restful-api-that-response-json-data-as-a-data-source/11574/5 "2021-01-27T12:51:38Z")

</div>

well , if the API is not responding in the format that Grafana needs, 1 option is do use AjaxPanel plugin and attach it to your custom graph panel

---

<div class="post-metadata">

**Author:** ![joesen](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@joesen](https://community.grafana.com/u/joesen)\
**Post date:** [January 27, 2021, 2:22pm UTC](https://community.grafana.com/t/how-use-a-existing-restful-api-that-response-json-data-as-a-data-source/11574/6 "2021-01-27T14:22:16Z")

</div>

Thanks for the link, i have to evaluate …
