Trendtracker Connect

Get Related Topics

Returns related topics for a given topic id, based on how many organizations are active in both the topic and the related topic. The result is normalized using jaccard similarity score. For very large topics (more than 5000 orgs active in it), Jaccard is skipped and the similarity score is always 1.

GET
/topics/{topic_id}/related

Authorization

APIKeyHeader superAdmin
x-api-key<token>

In: header

Scope: superAdmin

Path Parameters

topic_id*Topic Id

The id of a topic node, can be either provider:id or just id. The id is a valid UUID. The providers is one of trb.

Query Parameters

take?Take

The number of related topics to return, all topics are caculated anyways, this is just to limit response size.

Default10
Range0 <= value <= 100

Response Body

application/json

application/json

curl -X GET "https://connect-api.trendtracker.ai/topics/string/related"
[
  {
    "id": "string",
    "label": "string",
    "sharedOrgs": 0,
    "similarity": 0
  }
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}