Skip to main content
GET
/
v1
/
topics
/
{id}
cURL
curl -H "X-API-Key: $PARTICLE_API_KEY" \
  "https://api.particle.pro/v1/topics/{id}"
{
  "id": "<string>",
  "name": "<string>",
  "slug": "<string>",
  "total_children": 123,
  "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.

total_children
integer<int64>
required

Total number of direct child topics. May exceed len(children) when truncated; 0 for leaf topics.

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, capped — may be truncated. Paginate via /v1/topics?parent_id={id} to enumerate all.

episode_count
integer<int64>

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