> ## Documentation Index
> Fetch the complete documentation index at: https://api.globalwebindex.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Step 5: Retrieve Subcategories

Next, drill down into the **Social Media** category to find the **Social and Messaging Usage** subcategory.

```bash theme={null}
curl -X GET "https://api.globalwebindex.com/v2/categories/500?include=children" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```json Response theme={null}
{ 
    "category": { 
        "id": "500", 
        "name": "Social Media", 
        "child_categories": [ 
            { 
                "id": "520", 
                "name": "Social and Messaging Usage" 
            }, 
            ... 
        ] 
    } 
}
```

From the response, note the `id` for the **Social and Messaging Usage** subcategory: `520`.
