Skip to main content
GET
/
v1
/
topics
/
{id}
Get a topic
curl --request GET \
  --url https://api.particle.pro/v1/topics/{id} \
  --header 'X-API-Key: <api-key>'
{
  "id": "<string>",
  "name": "<string>",
  "slug": "<string>",
  "ancestors": [
    "<string>"
  ],
  "ancestry": "<string>",
  "ancestry_path": "<string>",
  "children": [
    {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "ancestry": "<string>",
      "ancestry_path": "<string>",
      "episode_count": 123
    }
  ],
  "episode_count": 123
}

Authorizations

X-API-Key
string
header
required

Pass your API key in the X-API-Key header (recommended).

Path Parameters

id
string
required

Topic ID, ancestry slug (e.g., technology/artificial-intelligence), or ancestry path hash

Response

OK

id
string
required

Unique identifier

name
string
required

Topic name

slug
string
required

Ancestry-based slug (e.g., technology/artificial-intelligence). Can be used as topic_id.

ancestors
string[] | null

Ancestor topic names from root to parent

ancestry
string

Human-readable breadcrumb path (e.g. Business > Technology > AI)

ancestry_path
string

Hash-based ancestry path for programmatic filtering

children
object[] | null

Direct child topics

episode_count
integer<int64>

Number of episodes in this podcast that cover this topic (only populated for /v1/podcasts/{id} topic lists)