# Why list network categories?

There may come a time when you would like to retrieve a list of all flight categories associated with a particular network. If you would like to retrieve these network categories, you can use the `List Network Categories` API, which enables you to return a list of these categories.

This API endpoint will list all categories for your network. If you would like to use the Explorer, simply use your API key.

# API syntax

When using the `List Network Categories` API, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:

`GET https://api.kevel.co/v1/categories`

Where:

- `GET` - the type of API request being made.
- `https://api.kevel.co` - the URL for the request.
- `v1` - the API version.
- `categories` - the API endpoint being called.

# Response Example

```json
{
    "page": 1,
    "items": [
        {
            "Id": 123,
            "Name": "Sports"
        }
    ]
}
```

```shell
curl -X GET -H "X-Adzerk-ApiKey:$ADZERK_API_KEY" "https://api.kevel.co/v1/categories"
```
