---
title: "Number of labels by language"
method: GET
path: "/{vocid}/labelStatistics"
tags: ["Vocabulary-specific methods"]
---

# Number of labels by language

`GET /{vocid}/labelStatistics`

Returns a list of label (skos:prefLabel, skos:altLabel and skos:hiddenLabel) counts in all the different languages.

## Path parameters

- `vocid` string, required

## Query parameters

- `lang` string

## Response `200`

the concept and group counts for the vocabulary

## Other responses

- `304` — the resource was not modified, so there is no need to retransmit the requested resources
- `404` — no vocabulary could be found with the requested id

## Changes

> 50 revisions in range; 1 could not be searched.

- **2020-05-14** `e2a83efe04db` — 1 info
  - added the non-success response with the status `304`
- **2020-05-14** `4415daa2b2fa` — 1 info
  - removed the non-success response with the status `304`
- **2020-05-07** `1f76fb9558eb` — 1 info
  - added the non-success response with the status `304`
- **2016-05-12** `f8c6990627f2` — 1 info
  - api tag `Vocabulary-specific methods` added
- **2016-05-12** `d5bf990d86f1` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/natlibfi/apis/skosmos-api/changes/:vocid/labelStatistics/get.md)

---

[API](https://skmtc.dev/natlibfi/apis/skosmos-api.md) · [All operations](https://skmtc.dev/natlibfi/apis/skosmos-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/natlibfi/skosmos-api/revisions/1ad5811c7a3e/schema)
