curl -X POST "https://api.globalwebindex.com/v2/categories/filter" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{ "dataset_codes": ["gwi-core"] }'
{ 
    "categories": [
        {
            "id": "330",
            "name": "GWI Core", 
            "child_categories": [ 
                { 
                    "id": "500", 
                    "name": "Social Media" 
                }, 
                ... 
            ] 
        } 
    ] 
}

The question is part of the GWI Core namespace under the Social Media category. Use the /v2/categories/filter endpoint to retrieve all root categories within the GWI Core namespace.

curl -X POST "https://api.globalwebindex.com/v2/categories/filter" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{ "dataset_codes": ["gwi-core"] }'
{ 
    "categories": [
        {
            "id": "330",
            "name": "GWI Core", 
            "child_categories": [ 
                { 
                    "id": "500", 
                    "name": "Social Media" 
                }, 
                ... 
            ] 
        } 
    ] 
}

From the response, note the id for the Social Media category: 500.