- Versions Concepts Resources Extensions Statistics Resources Reference
Top related tags GET resource
GET /statistics/network/top-related-tags
For each given tag label, get a list of top related tags, i.e. tags that occur most often together with the given tag. If two or three tag labels are given, priority is given to tags that are simultaneously related to as many given tag labels as possible.
Parameter | Type | Default | Required | Description |
---|---|---|---|---|
tags |
string |
- | ✓ | Comma-separated list of tag labels (max. 3 for optimal results) |
limit |
int |
10 | ✗ | Return no more than `limit` related tags per given tag label |
Response
The response is a list of objects, one for each tag given in the request.
[
{
"tag": "Sherlock Holmes",
"relations": ["Baker Street", "Watson", "Moriarty"]
},
{
"tag": "Baker Street",
"relations": ["Sherlock Holmes", "Watson"]
}
]