---
title: "Get a topic by ID"
method: GET
path: "/topics/{id}"
tags: ["Public"]
---

# Get a topic by ID

`GET /topics/{id}`

Provides a high-level description of the topic and relevant links.

## Path parameters

- `id` string, required

## Response `200`

JSON object containing information about the topic.

- Topic
  - `description` string — A description of the topic.
  - `id` string — The ID of the topic.
  - `keywords` string[] — List of keywords that relate to the topic.
  - `links` object
    - `self` SelfHref
      - `id` string — The ID of the resource.
      - `href` string — The URL to the resource.
    - `subtopics` SubtopicsLink — A link to the subtopics of this topic.
      - `href` string — A URL to the subtopics of this topic.
    - `content` ContentLink — A link to the content for this topic.
      - `href` string — A URL to the content for this topic.
  - `slug` string — The slug of the topic.
  - `state` 'created' | 'published' | 'completed' — The state of the resource.
  - `subtopics_ids` string[] — Array of subtopic IDs.
  - `title` string — The title of the topic.

## Other responses

- `404` — The specified resource was not found.
- `500` — Failed to process the request due to an internal error.

---

[API](https://skmtc.net/office-of-national-statistics/apis/topic-api.md) · [All operations](https://skmtc.net/office-of-national-statistics/apis/topic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/office-of-national-statistics/topic-api/versions/84b8391c5030/schema)
