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
}{
"detail": "Property foo is required but is missing.",
"error_code": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"resolve": {
"message": "<string>",
"action": "<string>",
"endpoint": "<string>",
"method": "<string>",
"url": "<string>"
},
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Get a topic
Returns a single topic with breadcrumb ancestors and the top direct children by prominence. Children are capped — use /v1/topics?parent_id= to paginate beyond the cap.
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
}{
"detail": "Property foo is required but is missing.",
"error_code": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"resolve": {
"message": "<string>",
"action": "<string>",
"endpoint": "<string>",
"method": "<string>",
"url": "<string>"
},
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Authorizations
Pass your API key in the X-API-Key header (recommended).
Path Parameters
Topic ID, ancestry slug (e.g., technology/artificial-intelligence), or ancestry path hash
Response
OK
Unique identifier
Topic name
Ancestry-based slug (e.g., technology/artificial-intelligence). Can be used as topic_id.
Total number of direct child topics. May exceed len(children) when truncated; 0 for leaf topics.
Ancestor topic names from root to parent
Human-readable breadcrumb path (e.g. Business > Technology > AI)
Hash-based ancestry path for programmatic filtering
Direct child topics, capped — may be truncated. Paginate via /v1/topics?parent_id={id} to enumerate all.
Show child attributes
Show child attributes
Number of episodes in this podcast that cover this topic (only populated for /v1/podcasts/{id} topic lists)
Was this page helpful?