---
title: "Returns a list of Indicators filtered by one or more {codes} that can either be Indicator 'id' or 'shortName' separated by semi-column (;) or comma (,)"
method: GET
path: "/api/v1/Indicators/{codes}"
tags: ["Indicators"]
---

# Returns a list of Indicators filtered by one or more {codes} that can either be Indicator 'id' or 'shortName' separated by semi-column (;) or comma (,)

`GET /api/v1/Indicators/{codes}`

## Request

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

<br>Filtering options: \
            \
            <br>* To filter Indicators by Ids: in place of {codes} parameter, pass in comma (,) or semi-column (;) separated list of Indicator Ids (i.e. '1;24;19') \
            <br>* To filter Indicators by Short Names: in place of {codes} parameter, pass in comma (,) or semi-column (;) separated list of Indicator ShortNames (i.e. 'CPAnyP;U5MR;TFR5')

## Path parameters

- `codes` string, required

## Query parameters

- `sort` string
- `format` string

## Response `200`

Returns list of filtered Indicators

- IndicatorFlatDto[]
  - `id` integer
  - `name` string, nullable
  - `shortName` string, nullable
  - `description` string, nullable
  - `displayName` string, nullable
  - `dimAge` boolean
  - `dimSex` boolean
  - `dimVariant` boolean
  - `dimCategory` boolean
  - `defaultAgeId` integer
  - `defaultSexId` integer
  - `defaultVariantId` integer
  - `defaultCategoryId` integer
  - `variableType` string, nullable
  - `valueType` string, nullable
  - `unitScaling` number, double
  - `precision` integer
  - `isThousandSeparatorSpace` boolean
  - `formatString` string, nullable
  - `unitShortLabel` string, nullable
  - `unitLongLabel` string, nullable
  - `nClassesDefault` integer
  - `downloadFileName` string, nullable
  - `sourceId` integer
  - `sourceName` string, nullable
  - `sourceYear` integer, nullable
  - `sourceStartYear` integer, nullable
  - `sourceEndYear` integer, nullable
  - `sourceCitation` string, nullable
  - `sourceUrl` string, nullable
  - `topicId` integer
  - `topicName` string, nullable
  - `topicShortName` string, nullable

## Other responses

- `400`: Returns Status 400 BadRequest if passed 'sort' parameter is not a property of the Model class returned
- `401`: Unauthorized
- `404`: Returns Status 404 NotFound if 'id' or 'shortName' do not exist
- `406`: Not Acceptable
- `500`: Returns Status 500 Internal Server Error if an exception is thrown by the server

---

[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)
