---
title: "The video's file (own or licensed content) — estimate"
method: POST
path: "/v1/youtube/videos/{id}/file/estimate"
tags: ["YouTube"]
---

# The video's file (own or licensed content) — estimate

`POST /v1/youtube/videos/{id}/file/estimate`

## Request

- Base URL: `https://apihub.co.il`
- URL: `https://apihub.co.il/v1/youtube/videos/{id}/file/estimate`
- Auth: HTTP bearer

Price the request without executing it. Same body as `POST /v1/youtube/videos/{id}/file`.

## Path parameters

- `id` string, required: Video id or a YouTube link

## Request body

- object
  - `kind` 'video' | 'audio': video = the video file (mp4) · audio = its sound only (mp3)
  - `credit` string: The credit line you will show (Creative Commons)
  - `license` 'own' | 'creative-commons' | 'licensed', required: Your basis for using this video, recorded with your account: own = a channel you control · creative-commons = the video is published under Creative Commons (`license` in the search; keep the credit line on screen) · licensed = you hold written permission from the owner

## Response `200`

Estimate

- Estimate
  - `operation` string
  - `estimated_credits` number
  - `credits_to_reserve` number
  - `estimated_usage` object
  - `note` string, nullable
  - `balance` object
    - `available` number
  - `sufficient` boolean

---

[API](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai.md) · [All operations](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/revisions/a8caa42835ce?raw)
