---
title: "Gets an object Hierarchy of Topics | Indicators | Sources"
method: GET
path: "/api/v1/topics/{topicIdsOrShortNames}/indicators"
tags: ["Topics"]
---

# Gets an object Hierarchy of Topics | Indicators | Sources

`GET /api/v1/topics/{topicIdsOrShortNames}/indicators`

## Request

- Base URL: `https://population.un.org/dataportalapi`
- URL: `https://population.un.org/dataportalapi/api/v1/topics/{topicIdsOrShortNames}/indicators`
- Auth: none declared
- TypeScript: <https://skmtc.dev/united-nations/apis/data-portal-api/docs/api/v1/topics/:topicIdsOrShortNames/indicators/get.ts> (a function with typed inputs; its response is checked against the schema)

<br>Gets a hierarchy of Topics | Indicators | Sources for given 'Topic Ids' or 'Topic Short Names' (i.e: 'FERT;MORT;FP') parameters or Topic Ids: (i.e: '2,5').

## Path parameters

- `topicIdsOrShortNames` string, required

## Query parameters

- `format` string

## Response `200`

Returns Status 200 OK

- TopicIndicatorDto[]
  - `topicId` integer
  - `topicName` string, nullable
  - `topicShortName` string, nullable
  - `indicatorId` integer
  - `indicatorName` string, nullable
  - `indicatorDisplayName` string, nullable
  - `indicatorShortName` string, nullable
  - `indicatorDescription` string, nullable
  - `dimAge` boolean
  - `dimSex` boolean
  - `dimVariant` boolean
  - `dimCategory` boolean
  - `defaultAgeId` integer
  - `defaultSexId` integer
  - `defaultVariantId` integer
  - `defaultCategoryId` integer
  - `unitScaling` number, double
  - `formatString` string, nullable
  - `unitLongLabel` string, nullable
  - `unitShortLabel` string, nullable
  - `variableType` string, nullable
  - `sourceId` integer, nullable
  - `sourceName` string, nullable
  - `sourceYear` integer, nullable
  - `sourceStartYear` integer, nullable
  - `sourceEndYear` integer, nullable
  - `sourceCitation` string, nullable
  - `sourceUrl` string, nullable

## Other responses

- `400`: Returns Status 400 BadRequest if supplied 'Topic Ids' or 'Topic Short Names' are in bad format
- `401`: Unauthorized
- `404`: Returns Status 404 NotFound if supplied 'Topic Ids' or 'Topic Short Names' do not exist
- `406`: Not Acceptable
- `500`: Returns Status 500 Internal Server Error if an exception is thrown from the Web API code.

---

[API](https://skmtc.dev/united-nations/apis/data-portal-api.md) - [All operations](https://skmtc.dev/united-nations/apis/data-portal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/united-nations/apis/data-portal-api/revisions/2f5f5b77ad0d?raw)
