Top tags GET resource

GET /statistics/network/top-tags

Returns an ordered list of the most used tag labels in the network, together with for each label an ordered list of their top connections. These connections are other tag labels in the result, that occur most often together with the given tag label.

This endpoint is optimized for use with limit = 72, other values of limit might be slower.

Parameter Type Default Required Description
limit int 10 Return no more than `limit` tags (Optimized for use with `limit` = 72)

Response

[
    {
        "tag": "Sherlock Holmes",
        "relations": ["Baker Street", "Watson", "Moriarty"]
    },
    {
        "tag": "Baker Street",
        "relations": ["Sherlock Holmes", "Watson"]
    },
    {
        "tag": "Watson",
        "relations": ["Sherlock Holmes", "Baker Street"]
    },
    {
        "tag": "Moriarty",
        "relations": ["Sherlock Holmes"]
    }
]