API endpoints

This page list the endpoints available for accessing the metadata programmatically. Supported file types are json and xml.

Note that the structure of the responses is experimental during this pilot, and could change.

  • GET /api/indicators.[file type]

    An array of indicator ids.

    Try JSON Try XML

  • GET /api/[indicator id]/fields.[file type]

    An array of field names for the specified indicator.

    Try JSON Try XML

  • GET /api/[indicator id].[file type]

    All metadata fields for the specified indicator, translated into all languages.

    Try JSON Try XML

  • GET /api/[indicator id]/[language].[file type]

    All metadata fields for the specified indicator, translated into the specified language.

    Try JSON Try XML

  • GET /api/[indicator id]/[field].[file type]

    The specified metadata field for the specified indicator, translated into all languages.

    Try JSON Try XML

  • GET /api/[indicator id]/[field]/[language].[file type]

    The specified metadata field for the specified indicator, translated into the specified language.

    Try JSON Try XML

  • GET /api/all.[file type]

    All translations of all fields in all indicators.

    Try JSON Try XML