# API: Retreive indicators values

**URL:** <https://community.dhis2.org/t/api-retreive-indicators-values/4181>\
**Category:** Support - Assistance technique\
**Created:** [16 March 2017 09:07 UTC](https://community.dhis2.org/t/api-retreive-indicators-values/4181 "2017-03-16T09:07:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mva](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/mva/32/96_2.png) [@mva](https://community.dhis2.org/u/mva)\
**Post date:** [16 March 2017 09:07 UTC](https://community.dhis2.org/t/api-retreive-indicators-values/4181/1 "2017-03-16T09:07:27Z")

</div>

Hi,  
Quick question: is there any way to retrieve indicators values for a given group/set for a given period & entity except via analytics (we want to avoid being dependent on the analytics having run).

Thanks !

Martin

> **···**
>
> \*\*Martin Van Aken - \*\ ***Freelance Enthusiast Developer**
> 
> Mobile : +32 486 899 652
> 
> Follow me on Twitter : [@martinvanaken](http://twitter.com/martinvanaken)
> 
> Call me on Skype : vanakenm
> 
> Hang out with me : [martin@joyouscoding.com](mailto:martin@joyouscoding.com)
> 
> Contact me on LinkedIn : [http://www.linkedin.com/in/martinvanaken](http://www.linkedin.com/in/martinvanaken)
> 
> Company website : [www.joyouscoding.com](http://www.joyouscoding.com/)

---

<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:** [16 March 2017 09:10 UTC](https://community.dhis2.org/t/api-retreive-indicators-values/4181/2 "2017-03-16T09:10:30Z")

</div>

Hi Martin,

unfortunately not. You need to use the analytics API.

regards,

Lars

> **···**
>
> On Thu, Mar 16, 2017 at 10:07 AM, Martin Van Aken [martin@joyouscoding.com](mailto:martin@joyouscoding.com) wrote:
> 
> > Hi,  
> > Quick question: is there any way to retrieve indicators values for a given group/set for a given period & entity except via analytics (we want to avoid being dependent on the analytics having run).
> 
> > 
> 
> > Thanks !
> 
> > 
> 
> > Martin
> 
> > –  
> > \*\*Martin Van Aken - \*\ ***Freelance Enthusiast Developer**
> 
> > 
> 
> > Mobile : +32 486 899 652
> 
> > 
> 
> > Follow me on Twitter : [@martinvanaken](http://twitter.com/martinvanaken)
> 
> > Call me on Skype : vanakenm
> 
> > Hang out with me : [martin@joyouscoding.com](mailto:martin@joyouscoding.com)
> 
> > Contact me on LinkedIn : [http://www.linkedin.com/in/martinvanaken](http://www.linkedin.com/in/martinvanaken)
> 
> > Company website : [www.joyouscoding.com](http://www.joyouscoding.com/)
> 
> > * * *
> > 
> > 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)
> 
> –
> 
> Lars Helge Øverland
> 
> Lead developer, DHIS 2
> 
> University of Oslo
> 
> Skype: larshelgeoverland
> 
> [lars@dhis2.org](mailto:lars@dhis2.org)
> 
> [http://www.dhis2.org](https://www.dhis2.org/)

---

<div class="post-metadata">

**Author:** ![mva](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/mva/32/96_2.png) [@mva](https://community.dhis2.org/u/mva)\
**Post date:** [16 March 2017 09:32 UTC](https://community.dhis2.org/t/api-retreive-indicators-values/4181/3 "2017-03-16T09:32:53Z")

</div>

Ok, thanks for the quick reply !

Martin

> **···**
>
> On Thu, Mar 16, 2017 at 10:10 AM, Lars Helge Øverland [lars@dhis2.org](mailto:lars@dhis2.org) wrote:
> 
> > Hi Martin,
> 
> > unfortunately not. You need to use the analytics API.
> 
> > 
> 
> > regards,
> 
> > 
> 
> > Lars
> 
> –
> 
> On Thu, Mar 16, 2017 at 10:07 AM, Martin Van Aken [martin@joyouscoding.com](mailto:martin@joyouscoding.com) wrote:
> 
> > Hi,  
> > Quick question: is there any way to retrieve indicators values for a given group/set for a given period & entity except via analytics (we want to avoid being dependent on the analytics having run).
> 
> > 
> 
> > Thanks !
> 
> > 
> 
> > Martin
> 
> > –  
> > \*\*Martin Van Aken - \*\ ***Freelance Enthusiast Developer**
> 
> > 
> 
> > Mobile : +32 486 899 652
> 
> > 
> 
> > Follow me on Twitter : [@martinvanaken](http://twitter.com/martinvanaken)
> 
> > Call me on Skype : vanakenm
> 
> > Hang out with me : [martin@joyouscoding.com](mailto:martin@joyouscoding.com)
> 
> > Contact me on LinkedIn : [http://www.linkedin.com/in/martinvanaken](http://www.linkedin.com/in/martinvanaken)
> 
> > Company website : [www.joyouscoding.com](http://www.joyouscoding.com/)
> 
> > 
> 
> > * * *
> > 
> > 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)
> 
> Lars Helge Øverland
> 
> Lead developer, DHIS 2
> 
> University of Oslo
> 
> Skype: larshelgeoverland
> 
> [lars@dhis2.org](mailto:lars@dhis2.org)
> 
> [http://www.dhis2.org](https://www.dhis2.org/)
> 
> –
> 
> \*\*Martin Van Aken - \*\ ***Freelance Enthusiast Developer**
> 
> Mobile : +32 486 899 652
> 
> Follow me on Twitter : [@martinvanaken](http://twitter.com/martinvanaken)
> 
> Call me on Skype : vanakenm
> 
> Hang out with me : [martin@joyouscoding.com](mailto:martin@joyouscoding.com)
> 
> Contact me on LinkedIn : [http://www.linkedin.com/in/martinvanaken](http://www.linkedin.com/in/martinvanaken)
> 
> Company website : [www.joyouscoding.com](http://www.joyouscoding.com/)

---

<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:** [16 March 2017 09:43 UTC](https://community.dhis2.org/t/api-retreive-indicators-values/4181/4 "2017-03-16T09:43:06Z")

</div>

Sure. You already know this but one approach is to fetch the indicator formulas through api/indicators, then get the relevant raw data from api/dataValueSets, and then implement your own indicator calculation engine on your side.

Alternatively, a patch for DHIS 2 is welcome 😉

best,

Lars

> **···**
>
> On Thu, Mar 16, 2017 at 10:32 AM, Martin Van Aken [martin@joyouscoding.com](mailto:martin@joyouscoding.com) wrote:
> 
> > 
> 
> > Martin
> 
> > Ok, thanks for the quick reply !
> 
> –
> 
> On Thu, Mar 16, 2017 at 10:10 AM, Lars Helge Øverland [lars@dhis2.org](mailto:lars@dhis2.org) wrote:
> 
> > Hi Martin,
> 
> > unfortunately not. You need to use the analytics API.
> 
> > 
> 
> > regards,
> 
> > 
> 
> > Lars
> 
> –  
> \*\*Martin Van Aken - \*\ ***Freelance Enthusiast Developer**
> 
> Mobile : +32 486 899 652
> 
> Follow me on Twitter : [@martinvanaken](http://twitter.com/martinvanaken)
> 
> Call me on Skype : vanakenm
> 
> Hang out with me : [martin@joyouscoding.com](mailto:martin@joyouscoding.com)
> 
> Contact me on LinkedIn : [http://www.linkedin.com/in/martinvanaken](http://www.linkedin.com/in/martinvanaken)
> 
> Company website : [www.joyouscoding.com](http://www.joyouscoding.com/)
> 
> On Thu, Mar 16, 2017 at 10:07 AM, Martin Van Aken [martin@joyouscoding.com](mailto:martin@joyouscoding.com) wrote:
> 
> > Hi,  
> > Quick question: is there any way to retrieve indicators values for a given group/set for a given period & entity except via analytics (we want to avoid being dependent on the analytics having run).
> 
> > 
> 
> > Thanks !
> 
> > 
> 
> > Martin
> 
> > –  
> > \*\*Martin Van Aken - \*\ ***Freelance Enthusiast Developer**
> 
> > 
> 
> > Mobile : +32 486 899 652
> 
> > 
> 
> > Follow me on Twitter : [@martinvanaken](http://twitter.com/martinvanaken)
> 
> > Call me on Skype : vanakenm
> 
> > Hang out with me : [martin@joyouscoding.com](mailto:martin@joyouscoding.com)
> 
> > Contact me on LinkedIn : [http://www.linkedin.com/in/martinvanaken](http://www.linkedin.com/in/martinvanaken)
> 
> > Company website : [www.joyouscoding.com](http://www.joyouscoding.com/)
> 
> > 
> 
> > * * *
> > 
> > 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)
> 
> Lars Helge Øverland
> 
> Lead developer, DHIS 2
> 
> University of Oslo
> 
> Skype: larshelgeoverland
> 
> [lars@dhis2.org](mailto:lars@dhis2.org)
> 
> [http://www.dhis2.org](https://www.dhis2.org/)
> 
> –
> 
> Lars Helge Øverland
> 
> Lead developer, DHIS 2
> 
> University of Oslo
> 
> Skype: larshelgeoverland
> 
> [lars@dhis2.org](mailto:lars@dhis2.org)
> 
> [http://www.dhis2.org](https://www.dhis2.org/)
