curl -X GET "https://api.globalwebindex.com/v2/categories/500?include=children" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"category": {
"id": "500",
"name": "Social Media",
"child_categories": [
{
"id": "520",
"name": "Social and Messaging Usage"
},
...
]
}
}
curl -X GET "https://api.globalwebindex.com/v2/categories/500?include=children" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"category": {
"id": "500",
"name": "Social Media",
"child_categories": [
{
"id": "520",
"name": "Social and Messaging Usage"
},
...
]
}
}
curl -X GET "https://api.globalwebindex.com/v2/categories/500?include=children" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"category": {
"id": "500",
"name": "Social Media",
"child_categories": [
{
"id": "520",
"name": "Social and Messaging Usage"
},
...
]
}
}
id
for the Social and Messaging Usage subcategory: 520
.