Macademia Tree logo Macademia Tree
Sign In

Topics

List all topics

Returns all topics ordered alphabetically. Each includes synonyms, parent topic (if any), and parent sub-disciplines with their disciplines. Topics are the most specific units of the taxonomy.

GET /api/v2/topics

Authentication

Requires Bearer token in the Authorization header.

Response

id uuid

Unique identifier

name string

Topic name (canonical label)

slug string

URL-safe identifier

description string

Brief description

synonyms string[]

Alternative names for this topic

parent_topic object|null

Parent topic if this is a sub-topic

sub_disciplines array

Sub-disciplines this topic belongs to, each with its disciplines

curl -X GET "https://macademiatree.com/api/v2/topics" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
[
  {
    "id": "d4e5f6a7-b8c9-0123-def0-1234567890ab",
    "name": "Neural Networks",
    "slug": "neural-networks",
    "description": "Computing systems inspired by biological networks",
    "synonyms": [
      "Artificial Neural Networks",
      "ANN"
    ],
    "parent_topic": {
      "id": "...",
      "name": "Machine Learning",
      "slug": "machine-learning"
    },
    "sub_disciplines": [
      {
        "id": "...",
        "name": "Deep Learning",
        "slug": "deep-learning",
        "disciplines": [
          {
            "id": "...",
            "name": "Computer Science",
            "slug": "computer-science"
          }
        ]
      }
    ]
  }
]