# 실시간 YouTube 동영상 정보 고급

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/serp/youtube/video_info/live/advanced`

**Tags:** DataForSEO

YouTube 동영상 하나의 메타데이터를 동기식으로 반환합니다. `keyword`, `type`, `se_domain`, `location_code`, `language_code`, `check_url`, `datetime`, `spell`, `refinement_chips`, `item_types`, `items_count`, `items`를 반환합니다. `advanced`가 기본 선택입니다. 순위 목록만 필요하면 `regular`, 파서가 누락한 항목을 확인하려면 `html`을 선택하세요. DataForSEO 응답 봉투로 감싸집니다. 데이터는 `tasks[0].result`, 처리 결과는 `tasks[0].status_code`에 있으며, 거부된 요청도 HTTP 200을 반환합니다.

### 가격 참고

- 과금 기준: 응답에 보고된 비용.
- 참고 요청 추정치: USD 0.006.
- 참고 고객 배수: 1.0. 정산된 고객 금액에 다시 적용하지 마세요.

참고용 메타데이터일 뿐이며, 계정 견적 또는 보장된 가격 또는 지출 한도가 아닙니다. 리소스 크레딧은 Felo 크레딧이 아닙니다. 최종 청구는 Felo 청구 기록을 따릅니다.

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "video_id": {
            "type": "string",
            "description": "동영상 ID\n필수 필드\n동영상 ID는 URL 또는 YouTube Organic 결과의 'youtube_video' 항목에서 찾을 수 있습니다\n예:\nvQXvyV0zIP4"
          },
          "location_code": {
            "type": [
              "integer",
              "null"
            ],
            "description": "검색 엔진 위치 코드\nlocation_name을 지정하지 않으면 필수 필드입니다\n이 필드를 사용하면 location_name을 지정할 필요가 없습니다\n사용 가능한 검색 엔진 위치와 해당 location_code 목록은 https://api.dataforseo.com/v3/serp/youtube/locations 경로로 별도 요청해 받을 수 있습니다\n예:\n2840"
          },
          "language_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "검색 엔진 언어 코드\nlanguage_name을 지정하지 않으면 필수 필드입니다\n이 필드를 사용하면 language_name을 지정할 필요가 없습니다\n사용 가능한 검색 엔진 언어와 해당 language_code 목록은 https://api.dataforseo.com/v3/serp/youtube/languages 경로로 별도 요청해 받을 수 있습니다\n예:\nen"
          },
          "device": {
            "type": [
              "string",
              "null"
            ],
            "description": "기기 유형\n선택 필드\n유일한 값: desktop"
          },
          "location_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "검색 엔진 위치 전체 이름\nlocation_code를 지정하지 않으면 필수 필드입니다\n이 필드를 사용하면 location_code를 지정할 필요가 없습니다\n사용 가능한 검색 엔진 위치와 해당 location_name 목록은 https://api.dataforseo.com/v3/serp/youtube/locations 경로로 별도 요청해 받을 수 있습니다\n예:\nUnited States"
          },
          "language_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "검색 엔진 언어 전체 이름\nlanguage_code를 지정하지 않으면 필수 필드입니다\n이 필드를 사용하면 language_code를 지정할 필요가 없습니다\n사용 가능한 검색 엔진 언어와 해당 language_name 목록은 https://api.dataforseo.com/v3/serp/youtube/languages 경로로 별도 요청해 받을 수 있습니다\n예:\nEnglish"
          },
          "os": {
            "type": [
              "string",
              "null"
            ],
            "description": "기기 운영 체제\n선택 필드\n다음 값 중에서 선택하세요: windows, macos\n기본값: windows"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "사용자 정의 작업 식별자\n선택 필드\n문자 제한은 255자입니다\n이 매개변수로 작업을 식별하고 결과와 연결할 수 있습니다\n지정한 tag 값은 응답의 data 객체에서 확인할 수 있습니다"
          }
        },
        "example": [
          {
            "language_code": "en",
            "location_code": 2840,
            "video_id": "vQXvyV0zIP4"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "language_code": "en",
      "location_code": 2840,
      "video_id": "vQXvyV0zIP4"
    }
  ]
}
```

## Responses

### 200 — 작업 성공

Headers:
- `X-Request-Id` (string) — Felo 지원팀에 문의할 때 포함할 요청 식별자입니다.

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoInfoLiveAdvancedResponseInfo"
    }
  ]
}
```

### 400 — 요청을 처리할 수 없습니다. 요청 매개변수를 확인하세요.

### 401 — 유효한 Felo API 키가 필요합니다.

### 402 — 청구 요건이 충족되지 않아 요청을 진행할 수 없습니다.

### 403 — 이 계정에는 이 작업을 수행할 권한이 없습니다.

### 429 — 요청 또는 지출 한도에 도달했습니다.

### 502 — 서비스가 요청을 완료할 수 없습니다.

### 503 — API 또는 청구 서비스를 일시적으로 사용할 수 없습니다.

### 504 — 요청을 처리하는 동안 서비스 시간이 초과되었습니다.

### default — 오류 응답. 업스트림 패스스루 응답은 공급자 형식을 사용할 수 있습니다.

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "API의 현재 버전"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "일반 상태 코드입니다.\n응답 코드 전체 목록은 여기에서 확인할 수 있습니다."
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "일반 정보 메시지입니다.\n일반 정보 메시지 전체 목록은 여기에서 확인할 수 있습니다."
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "총 실행 시간(초)"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "전체 작업 비용, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "tasks 배열의 작업 수",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "오류와 함께 반환된 tasks 배열의 작업 수",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "작업 식별자\n시스템 내 고유 작업 식별자(UUID 형식)"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "작업의 상태 코드\nDataForSEO가 생성하며 10000-60000 범위일 수 있습니다.\n응답 코드 전체 목록은 여기에서 확인할 수 있습니다."
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "작업의 정보 메시지\n일반 정보 메시지 전체 목록은 여기에서 확인할 수 있습니다."
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "실행 시간, 초"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "전체 작업 비용, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "result 배열의 요소 수",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "URL 경로"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "POST 요청에 지정한 것과 동일한 매개변수를 포함합니다"
    }
  }
}
```

### Response36Afe1097B20_ChannelSubscribersCount

`#/components/schemas/Response36Afe1097B20_ChannelSubscribersCount`

```json
{
  "type": "object",
  "properties": {
    "displayed_count": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>표시된 구독자 수</em><br>YouTube에 표시되는 구독자 수입니다"
    },
    "count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>구독자 수</em>",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_SerpYoutubeVideoInfoLiveAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoInfoLiveAdvancedResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoInfoLiveAdvancedTaskInfo"
              }
            ]
          },
          "description": "작업 배열"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpYoutubeVideoInfoLiveAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoInfoLiveAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "video_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "POST 배열에서 수신한 동영상 ID"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "POST 배열의 검색 엔진 도메인"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "POST 배열의 위치 코드"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "POST 배열의 언어 코드"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "검색 엔진 결과로 연결되는 직접 URL\n정확한 결과가 제공되었는지 확인하는 데 사용할 수 있습니다"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "결과를 받은 날짜와 시간\nUTC 형식: “yyyy-mm-dd hh-mm-ss +00:00”\n예:\n2019-11-15 12:57:46 +00:00"
    },
    "spell": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_SpellInfo"
        }
      ],
      "description": "검색 엔진의 자동 교정\n검색 엔진이 교정된 키워드에 대한 결과를 제공한 경우, 검색 엔진이 교정한 키워드와 자동 교정 유형을 명시합니다"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "SERP의 검색 결과 유형\nSERP에서 발견된 검색 결과(items)의 유형을 포함합니다.\n가능한 항목:\nyoutube_video_info"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "items 배열에 반환된 결과 수",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_YoutubeVideoInfo"
          }
        ]
      },
      "description": "SERP에서 발견된 검색 결과 요소"
    }
  }
}
```

### Response36Afe1097B20_SerpYoutubeVideoInfoLiveAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoInfoLiveAdvancedTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoInfoLiveAdvancedResultInfo"
              }
            ]
          },
          "description": "결과 배열"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SpellInfo

`#/components/schemas/Response36Afe1097B20_SpellInfo`

```json
{
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "검색 엔진 자동 교정 결과로 얻은 키워드\n교정된 키워드에 대한 결과가 제공됩니다"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "자동 교정 유형\n가능한 값:\ndid_you_mean, showing_results_for, no_results_found_for, including_results_for\n참고: Yahoo와 Yandex는 다음 자동 교정 유형만 지원합니다.\nincluding_results_for"
    }
  }
}
```

### Response36Afe1097B20_StreamingQualityElement

`#/components/schemas/Response36Afe1097B20_StreamingQualityElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "요소 유형"
    },
    "label": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>품질 요소의 레이블</em>"
    },
    "width": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>픽셀 단위의 동영상 너비</em>",
      "format": "int64"
    },
    "height": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>픽셀 단위의 동영상 높이</em>"
    },
    "bitrate": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>동영상의 <a href=\"https://en.wikipedia.org/wiki/Bit_rate\" target=\"_blank\" rel=\"noopener noreferrer\">비트 전송률</a></em>"
    },
    "mime_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>동영상의 <a href=\"https://en.wikipedia.org/wiki/Media_type\" target=\"_blank\" rel=\"noopener noreferrer\">미디어 유형</a></em>"
    },
    "fps": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>동영상의 <a href=\"https://en.wikipedia.org/wiki/Frame_rate\" target=\"_blank\" rel=\"noopener noreferrer\">프레임 속도</a></em>"
    }
  }
}
```

### Response36Afe1097B20_Subtitles

`#/components/schemas/Response36Afe1097B20_Subtitles`

```json
{
  "type": "object",
  "properties": {
    "language": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>자막 언어</em>"
    },
    "is_translatable": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "<em>자막이 번역 가능한지 정의합니다</em>"
    },
    "is_auto_generated": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "<em>자막이 자동 생성되는지 정의합니다</em>"
    }
  }
}
```

### Response36Afe1097B20_YoutubeVideoInfo

`#/components/schemas/Response36Afe1097B20_YoutubeVideoInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "요소 유형"
    },
    "rank_group": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>SERP 그룹 순위</em><br><code>type</code> 값이 같은 요소 그룹 내 위치<br><code>type</code> 값이 다른 요소의 위치는 <code>rank_group</code>에서 제외됩니다"
    },
    "rank_absolute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> 대상 도메인의 SERP 절대 순위</em><br>SERP의 모든 요소 가운데 절대 위치"
    },
    "video_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 배열에서 수신한 동영상 ID</em>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>동영상 제목</em>"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>동영상 URL</em>"
    },
    "thumbnail_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>썸네일이 호스팅되는 페이지의 URL</em>"
    },
    "channel_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>동영상이 게시된 채널의 ID</em>"
    },
    "channel_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>동영상이 게시된 채널의 이름</em>"
    },
    "channel_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>동영상이 게시된 채널의 URL</em>"
    },
    "channel_logo": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>채널의 로고 이미지가 호스팅되는 페이지의 URL</em>"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>동영상 설명</em>"
    },
    "views_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>동영상 조회수</em>",
      "format": "int64"
    },
    "likes_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>동영상의 좋아요 수</em>",
      "format": "int64"
    },
    "comments_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>동영상의 댓글 수</em>",
      "format": "int64"
    },
    "channel_subscribers_count": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_ChannelSubscribersCount"
        }
      ],
      "description": "<em>채널 구독자 수</em>"
    },
    "publication_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>동영상이 게시된 날짜</em>"
    },
    "timestamp": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>결과가 게시된 날짜와 시간</em><br>            UTC 형식: “yyyy-mm-dd hh-mm-ss +00:00”<br>            예:<br>            <code>2022-11-15 12:57:46 +00:00</code>"
    },
    "keywords": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>동영상과 관련된 키워드</em><br>            'YouTube 태그'라고도 합니다"
    },
    "category": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>동영상이 속한 카테고리</em>"
    },
    "is_live": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "<em>동영상이 라이브인지 나타냅니다</em>"
    },
    "is_embeddable": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "<em>동영상 임베드 가능 여부를 나타냅니다</em>"
    },
    "duration_time": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>동영상 길이</em>"
    },
    "duration_time_seconds": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>동영상 길이(초)</em>"
    },
    "subtitles": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_Subtitles"
          }
        ]
      },
      "description": "<em>동영상 자막 속성을 설명하는 요소 배열</em>"
    },
    "streaming_quality": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_StreamingQualityElement"
          }
        ]
      },
      "description": "<em>동영상의 모든 가능한 스트리밍 품질 정보를 포함하는 요소 배열</em>"
    }
  }
}
```
