> For the complete documentation index, see [llms.txt](https://yagato.gitbook.io/holodexwrapper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yagato.gitbook.io/holodexwrapper/methods/getvideos.md).

# getVideos

## Returns

A List of Video objects.

## Parameters

| Name | Type |
| ---- | ---- |
|      |      |

## Usage Example

{% code lineNumbers="true" %}

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

ObjectMapper objectMapper = JsonMapper.builder()
                .addModule(new JavaTimeModule())
                .build();
                
List<Video> videos = holodexClient.getVideos();

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

{% endcode %}

## Result Example

{% code lineNumbers="true" %}

```
[ {
  "id" : "oXxS8AwgTUw",
  "title" : "【はろーぼー】ろぼさー用ボクのフリーチャット&スケジュール【#ロボ子さん】",
  "type" : "stream",
  "published_at" : "2020-01-22T21:29:36.000Z",
  "available_at" : "2025-05-23T13:00:00.000Z",
  "duration" : 0,
  "status" : "upcoming",
  "live_viewers" : 0,
  "songcount" : 0,
  "channel" : {
    "id" : "UCDqI2jOz0weumE8s7paEk6g",
    "name" : "Roboco Ch. - ロボ子",
    "english_name" : "Roboco-san",
    "type" : "vtuber",
    "photo" : "https://yt3.ggpht.com/ytc/AGIKgqOGep-9Pkw2EAzaMN16N-gnpuYkwu-_rEDILZPPLA=s800-c-k-c0x00ffffff-no-rj",
    "org" : "Hololive",
    "suborg" : "0w0th Generation",
    "inactive" : false
  }
}, {
  "id" : "Z5ebW9A0DOs",
  "title" : "Lịch stream mới nhất của Du Ca | Du Ca's Streaming Schedule (all time in GMT+7)",
  "type" : "stream",
  "published_at" : "2023-05-05T09:18:30.000Z",
  "available_at" : "2025-05-05T09:20:00.000Z",
  "duration" : 0,
  "status" : "upcoming",
  "live_viewers" : 0,
  "songcount" : 0,
  "channel" : {
    "id" : "UC5RSxmHP5c4pU9Og1Pxx4wg",
    "name" : "Du Ca Ch. 響ゆうか【NIJIGEN】",
    "english_name" : "Hibiki Du Ca",
    "type" : "vtuber",
    "photo" : "https://yt3.ggpht.com/yZZIEyXrBVzcMIQzZkS3qXDgvTzCMOp2qTXsFNuBw_UPBBDm-XlGRo5zn3Q-w9_F2MmHruobAVE=s800-c-k-c0x00ffffff-no-rj",
    "org" : "NIJIGEN",
    "suborg" : "bbRainbow",
    "inactive" : false
  }
}]
```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yagato.gitbook.io/holodexwrapper/methods/getvideos.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
