Macademia Tree logo Macademia Tree
Sign In

Search

Search across all entities

PRO

Search across all taxonomy entities (domains, disciplines, sub-disciplines, and topics) in a single request. Returns up to 10 results per entity type by default.

GET /api/v2/search?q=:query

Authentication

Requires Bearer token in the Authorization header.

Query Parameters

q string required

Search query — matches against entity names and topic synonyms

limit integer optional

Max results per entity type (default: 10, max: 50)

Response

domains array

Matching domains

disciplines array

Matching disciplines

sub_disciplines array

Matching sub-disciplines

topics array

Matching topics (also searches synonyms)

curl -X GET "https://macademiatree.com/api/v2/search?q=machine+learning" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
{
  "domains": [],
  "disciplines": [
    {
      "id": "...",
      "name": "Computer Science",
      "slug": "computer-science",
      "type": "discipline"
    }
  ],
  "sub_disciplines": [
    {
      "id": "...",
      "name": "Machine Learning",
      "slug": "machine-learning",
      "type": "sub_discipline"
    }
  ],
  "topics": [
    {
      "id": "...",
      "name": "Neural Networks",
      "slug": "neural-networks",
      "type": "topic",
      "synonyms": [
        "ANN"
      ]
    }
  ]
}