YouTube

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

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

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

Path parameters

idstring required

Video id or a YouTube link

Request body

kind'video' | 'audio'

video = the video file (mp4) · audio = its sound only (mp3)

creditstring

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

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.