# Retrieve Indicator values through WEB API

**URL:** <https://community.dhis2.org/t/retrieve-indicator-values-through-web-api/2190>\
**Category:** Support - Assistance technique\
**Created:** [6 September 2014 13:47 UTC](https://community.dhis2.org/t/retrieve-indicator-values-through-web-api/2190 "2014-09-06T13:47:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Morina\_Matasi](https://dhis2.b-cdn.net/letter_avatar_proxy/v4/letter/m/eada6e/32.png) [@Morina\_Matasi](https://community.dhis2.org/u/Morina_Matasi)\
**Post date:** [6 September 2014 13:47 UTC](https://community.dhis2.org/t/retrieve-indicator-values-through-web-api/2190/1 "2014-09-06T13:47:52Z")

</div>

I want to retrieve indicator values through WEB API. Can somebody help, the manual is not very clear (have tried examples in vain) on how to retrieve data from indicators, or I am missing something.

Regards,

Morina

---

<div class="post-metadata">

**Author:** ![Knut\_Staring](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/knut_staring/32/32549_2.png) [@Knut\_Staring](https://community.dhis2.org/u/Knut_Staring)\
**Post date:** [6 September 2014 13:49 UTC](https://community.dhis2.org/t/retrieve-indicator-values-through-web-api/2190/2 "2014-09-06T13:49:27Z")

</div>

“have tried examples in vain” is not very informative.

Which examples, what results?

> **···**
>
> On Sat, Sep 6, 2014 at 8:17 PM, Morina Matasi [morena.motsieng@gmail.com](mailto:morena.motsieng@gmail.com) wrote:
> 
> > I want to retrieve indicator values through WEB API. Can somebody help, the manual is not very clear (have tried examples in vain) on how to retrieve data from indicators, or I am missing something.
> 
> > Regards,
> 
> > 
> 
> > Morina
> 
> > 
> 
> > * * *
> > 
> > Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/~dhis2-users)
> > 
> > Post to : [dhis2-users@lists.launchpad.net](mailto:dhis2-users@lists.launchpad.net)
> > 
> > Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/~dhis2-users)
> > 
> > More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
> 
> –  
> Knut Staring
> 
> Dept. of Informatics, University of Oslo
> 
> +4791880522
> 
> [http://dhis2.org](http://dhis2.org)

---

<div class="post-metadata">

**Author:** ![Jan\_Henrik\_Overland](https://dhis2.b-cdn.net/letter_avatar_proxy/v4/letter/j/48db29/32.png) [@Jan\_Henrik\_Overland](https://community.dhis2.org/u/Jan_Henrik_Overland)\
**Post date:** [6 September 2014 13:53 UTC](https://community.dhis2.org/t/retrieve-indicator-values-through-web-api/2190/3 "2014-09-06T13:53:37Z")

</div>

[https://www.dhis2.org/doc/snapshot/en/user/html/ch32s21.html](https://www.dhis2.org/doc/snapshot/en/user/html/ch32s21.html)

Example:

```auto
api/analytics?dimension=dx:<uid of indicator>&dimension=pe:2013&dimension=ou:<uid of orgunit>

```

> **···**
>
> On Sat, Sep 6, 2014 at 3:49 PM, Knut Staring [knutst@gmail.com](mailto:knutst@gmail.com) wrote:
> 
> > “have tried examples in vain” is not very informative.
> 
> > Which examples, what results?
> 
> > * * *
> > 
> > Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/~dhis2-users)
> > 
> > Post to : [dhis2-users@lists.launchpad.net](mailto:dhis2-users@lists.launchpad.net)
> > 
> > Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/~dhis2-users)
> > 
> > More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
> 
> On Sat, Sep 6, 2014 at 8:17 PM, Morina Matasi [morena.motsieng@gmail.com](mailto:morena.motsieng@gmail.com) wrote:
> 
> > I want to retrieve indicator values through WEB API. Can somebody help, the manual is not very clear (have tried examples in vain) on how to retrieve data from indicators, or I am missing something.
> 
> > Regards,
> 
> > 
> 
> > Morina
> 
> > 
> 
> > 
> 
> > * * *
> > 
> > Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/~dhis2-users)
> > 
> > Post to : [dhis2-users@lists.launchpad.net](mailto:dhis2-users@lists.launchpad.net)
> > 
> > Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/~dhis2-users)
> > 
> > More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
> 
> Knut Staring
> 
> Dept. of Informatics, University of Oslo
> 
> +4791880522
> 
> [http://dhis2.org](http://dhis2.org)
> 
> –

---

<div class="post-metadata">

**Author:** ![Lars](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/lars/32/34166_2.png) [@Lars](https://community.dhis2.org/u/Lars)\
**Post date:** [6 September 2014 22:56 UTC](https://community.dhis2.org/t/retrieve-indicator-values-through-web-api/2190/4 "2014-09-06T22:56:29Z")

</div>

Hello Morina,

a good way of learning how the analytics web api works is to use the pivot table and play around with indicator data there. When you have created a pivot view of the indicators you want you can click download \> plan data source - JSON. From this you can study the URL in your browser in order to understand the analytics URL syntax.

Let us know how it goes.

regards,

Lars

> **···**
>
> On Sat, Sep 6, 2014 at 9:47 AM, Morina Matasi [morena.motsieng@gmail.com](mailto:morena.motsieng@gmail.com) wrote:
> 
> > I want to retrieve indicator values through WEB API. Can somebody help, the manual is not very clear (have tried examples in vain) on how to retrieve data from indicators, or I am missing something.
> 
> > Regards,
> 
> > 
> 
> > Morina
> 
> > 
> 
> > * * *
> > 
> > Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/~dhis2-users)
> > 
> > Post to : [dhis2-users@lists.launchpad.net](mailto:dhis2-users@lists.launchpad.net)
> > 
> > Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/~dhis2-users)
> > 
> > More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
