Skip to main content

Taxonomy

Returns the complete tree of affinities.

note

The children field is actually an array of affinity objects, not an array of strings.

Getting Started

URL REQUEST (GET)
https://api.statsocial.com/platform/v0/taxonomy

Let's go to examples

Normal Request

Returns all upload types for the user.

https://api.statsocial.com/platform/v0/taxonomy

We will receive a json like this

{
"response": [
{
"id": "b2b",
"name": "B2B",
"is_category": true,
"can_add": false,
"kind": "affinity",
"children": [
{
"id": "01",
"name": "b2b child 1",
"is_category": true,
"followers_count": 230000,
"can_add": true,
"kind": "affinity",
"children": [
{
"id": "011",
"name": "First Child",
"is_category": false,
"followers_count": 11000,
"can_add": true,
"kind": "affinity"
},
{
"id": "012",
"name": "Second Child",
"is_category": false,
"followers_count": 9000,
"can_add": true,
"kind": "affinity"
}
]
}
]
},
{
"id": "personas",
"name": "Personas",
"is_category": true,
"can_add": false,
"kind": "affinity"
},
{
"id": "private",
"name": "Private",
"is_category": true,
"can_add": false,
"kind": "affinity"
}
],
"information": {
"version": "0.0.1"
}
}