Statistics APIs

The Statistics APIs provide a way for you to access information and resources that deal with the data.fao.org environment.

You can use the following path to access the different services:

        
        http://data.fao.org/statistics/<api-method>

There are several different API methods, for example:

  • The 'named-query' method:

    The named-query method allows you to retrieve resource data by running MDX queries. The path is the following: http://data.fao.org/statistics/named-query?<parameters>

  • The 'techcdr-mdx' method:

    The techcdr-mdx method allows you to retrieve mdx resource data. The path is the following: http://data.fao.org/statistics/techcdr-mdx?<parameters>

  • The 'datasetExporter' method:

    The datasetExporter method allows you to retrieve dataset streams. The path is the following: http://data.fao.org/statistics/datasetExporter?<parameters>

  • The 'saiku' method:

    The ESB exposes an interface to interact with the Saiku suite to analyse statistical data.
    For a complete list of the possible operations click this link.
    The path to invoke these services is the following: http://data.fao.org/statistics/saiku/<operation>?<parameters>

To obtain a list of the provided services by example, see the example page.