# listChannels (GetQueryParameters)

## Returns

A List of Video objects matching the given parameters.

## Parameters

| Name               | Type               |
| ------------------ | ------------------ |
| getQueryParameters | GetQueryParameters |

### Allowed Fields

* languages
* limit
* offset
* sortOrder
* organizations
* sortByField
* type

## Usage Example

{% code lineNumbers="true" %}

```java
HolodexClient holodexClient = new HolodexClient("HOLODEX_API_KEY");

ObjectMapper objectMapper = JsonMapper.builder()
                .addModule(new JavaTimeModule())
                .build();

GetQueryParameters getQueryParameters = new GetQueryParameters();
getQueryParameters.setChannelType(ChannelType.VTUBER);

List<Channel> channels = holodexClient.listChannels(getQueryParameters);

System.out.println(objectMapper
    .writerWithDefaultPrettyPrinter()
    .writeValueAsString(channels));
```

{% endcode %}

## Result Example

{% code lineNumbers="true" %}

```
[ {
  "id" : "UC0Owc36U9lOyi9Gx9Ic-4qg",
  "name" : "Haneru Channel / 因幡はねる 【ななしいんく】",
  "english_name" : "Inaba Haneru",
  "type" : "vtuber",
  "photo" : "https://yt3.ggpht.com/bvHjq4GZsrY7koiO6QqzXjBgsdwdMJ_xWjh_ZN31xDTg8cFGThxGCQjxMyn14jsbgFcZFNS1Qw=s800-c-k-c0x00ffffff-no-rj",
  "org" : "774inc",
  "twitter" : "Haneru_Inaba",
  "video_count" : "2569",
  "subscriber_count" : "343000",
  "clip_count" : "455",
  "top_topics" : [ "Mahjong", "shorts", "minecraft" ],
  "inactive" : false,
  "group" : "Ex-AniMare"
}, {
  "id" : "UC2hc-00y-MSR6eYA4eQ4tjQ",
  "name" : "Rene Channel / 龍ヶ崎リン 【ななしいんく】",
  "english_name" : "Ryugasaki Rene",
  "type" : "vtuber",
  "photo" : "https://yt3.ggpht.com/iP5p7KG61I6xoXKLJD6Qr7IJkFOw1roPc8KksxH6qE2IQ7oHgVodSn--jG8oZzF9WEaDHe4YQQ=s800-c-k-c0x00ffffff-no-nd-rj",
  "org" : "774inc",
  "twitter" : "Rene_Ryugasaki",
  "video_count" : "1031",
  "subscriber_count" : "176000",
  "clip_count" : "283",
  "top_topics" : [ "singing", "apex", "talk" ],
  "inactive" : false,
  "group" : "Ex-SugarLyric"
}]
```

{% endcode %}
