curl --request GET \
--url https://api.bunny.net/videolibrary/{id} \
--header 'AccessKey: <api-key>'{
"Id": 123,
"VideoCount": 123,
"StorageUsage": 123,
"DateCreated": "2023-11-07T05:31:56Z",
"HasWatermark": true,
"WatermarkPositionLeft": 123,
"WatermarkPositionTop": 123,
"WatermarkWidth": 123,
"PullZoneId": 123,
"StorageZoneId": 123,
"WatermarkHeight": 123,
"CaptionsFontSize": 123,
"PlayerTokenAuthenticationEnabled": true,
"BlockNoneReferrer": true,
"EnableMP4Fallback": true,
"KeepOriginalFiles": true,
"AllowDirectPlay": true,
"EnableDRM": true,
"Bitrate240p": 123,
"Bitrate360p": 123,
"Bitrate480p": 123,
"Bitrate720p": 123,
"Bitrate1080p": 123,
"Bitrate1440p": 123,
"Bitrate2160p": 123,
"ShowHeatmap": true,
"EnableContentTagging": true,
"WatermarkVersion": 123,
"EnableTranscribing": true,
"EnableTranscribingTitleGeneration": true,
"EnableTranscribingDescriptionGeneration": true,
"EnableTranscribingChaptersGeneration": true,
"EnableTranscribingMomentsGeneration": true,
"RememberPlayerPosition": true,
"EnableMultiAudioTrackSupport": true,
"UseSeparateAudioStream": true,
"JitEncodingEnabled": true,
"MonthlyChargesTranscribing": 123,
"MonthlyChargesPremiumEncoding": 123,
"MonthlyChargesEnterpriseDrm": 123,
"PlayerVersion": 123,
"RemoveMetadataFromFallbackVideos": true,
"ScaleVideoUsingBothDimensions": true,
"ExposeOriginals": true,
"ExposeVideoMetadata": true,
"Name": "<string>",
"ReplicationRegions": [
"<string>"
],
"ApiKey": "<string>",
"ReadOnlyApiKey": "<string>",
"EnabledResolutions": "<string>",
"ViAiPublisherId": "<string>",
"VastTagUrl": "<string>",
"WebhookUrl": "<string>",
"CaptionsFontColor": "<string>",
"CaptionsBackground": "<string>",
"UILanguage": "<string>",
"AllowEarlyPlay": true,
"AllowedReferrers": [
"<string>"
],
"BlockedReferrers": [
"<string>"
],
"DrmVersion": "Basic",
"AppleFairPlayDrm": {
"Enabled": true,
"CertificateId": 123,
"CertificateExpirationDate": "2023-11-07T05:31:56Z",
"Provider": "<string>"
},
"GoogleWidevineDrm": {
"Enabled": true,
"SdOnlyForL3": true,
"CertificateId": 123,
"CertificateExpirationDate": "2023-11-07T05:31:56Z",
"Provider": "<string>",
"MinClientSecurityLevel": "None"
},
"ApiAccessKey": "<string>",
"PullZoneType": "Premium",
"CustomHTML": "<string>",
"Controls": "<string>",
"PlaybackSpeeds": "<string>",
"PlayerKeyColor": "<string>",
"FontFamily": "<string>",
"TranscribingCaptionLanguages": [
"<string>"
],
"EnableCaptionsInPlaylist": true,
"EncodingTier": "Free",
"OutputCodecs": "<string>",
"DrmBasePriceOverride": 123,
"DrmCostPerLicenseOverride": 123,
"TranscribingPriceOverride": 123,
"PremiumEncodingPriceOverride": 123,
"FeatureFlags": "<string>"
}The requested video library
curl --request GET \
--url https://api.bunny.net/videolibrary/{id} \
--header 'AccessKey: <api-key>'{
"Id": 123,
"VideoCount": 123,
"StorageUsage": 123,
"DateCreated": "2023-11-07T05:31:56Z",
"HasWatermark": true,
"WatermarkPositionLeft": 123,
"WatermarkPositionTop": 123,
"WatermarkWidth": 123,
"PullZoneId": 123,
"StorageZoneId": 123,
"WatermarkHeight": 123,
"CaptionsFontSize": 123,
"PlayerTokenAuthenticationEnabled": true,
"BlockNoneReferrer": true,
"EnableMP4Fallback": true,
"KeepOriginalFiles": true,
"AllowDirectPlay": true,
"EnableDRM": true,
"Bitrate240p": 123,
"Bitrate360p": 123,
"Bitrate480p": 123,
"Bitrate720p": 123,
"Bitrate1080p": 123,
"Bitrate1440p": 123,
"Bitrate2160p": 123,
"ShowHeatmap": true,
"EnableContentTagging": true,
"WatermarkVersion": 123,
"EnableTranscribing": true,
"EnableTranscribingTitleGeneration": true,
"EnableTranscribingDescriptionGeneration": true,
"EnableTranscribingChaptersGeneration": true,
"EnableTranscribingMomentsGeneration": true,
"RememberPlayerPosition": true,
"EnableMultiAudioTrackSupport": true,
"UseSeparateAudioStream": true,
"JitEncodingEnabled": true,
"MonthlyChargesTranscribing": 123,
"MonthlyChargesPremiumEncoding": 123,
"MonthlyChargesEnterpriseDrm": 123,
"PlayerVersion": 123,
"RemoveMetadataFromFallbackVideos": true,
"ScaleVideoUsingBothDimensions": true,
"ExposeOriginals": true,
"ExposeVideoMetadata": true,
"Name": "<string>",
"ReplicationRegions": [
"<string>"
],
"ApiKey": "<string>",
"ReadOnlyApiKey": "<string>",
"EnabledResolutions": "<string>",
"ViAiPublisherId": "<string>",
"VastTagUrl": "<string>",
"WebhookUrl": "<string>",
"CaptionsFontColor": "<string>",
"CaptionsBackground": "<string>",
"UILanguage": "<string>",
"AllowEarlyPlay": true,
"AllowedReferrers": [
"<string>"
],
"BlockedReferrers": [
"<string>"
],
"DrmVersion": "Basic",
"AppleFairPlayDrm": {
"Enabled": true,
"CertificateId": 123,
"CertificateExpirationDate": "2023-11-07T05:31:56Z",
"Provider": "<string>"
},
"GoogleWidevineDrm": {
"Enabled": true,
"SdOnlyForL3": true,
"CertificateId": 123,
"CertificateExpirationDate": "2023-11-07T05:31:56Z",
"Provider": "<string>",
"MinClientSecurityLevel": "None"
},
"ApiAccessKey": "<string>",
"PullZoneType": "Premium",
"CustomHTML": "<string>",
"Controls": "<string>",
"PlaybackSpeeds": "<string>",
"PlayerKeyColor": "<string>",
"FontFamily": "<string>",
"TranscribingCaptionLanguages": [
"<string>"
],
"EnableCaptionsInPlaylist": true,
"EncodingTier": "Free",
"OutputCodecs": "<string>",
"DrmBasePriceOverride": 123,
"DrmCostPerLicenseOverride": 123,
"TranscribingPriceOverride": 123,
"PremiumEncodingPriceOverride": 123,
"FeatureFlags": "<string>"
}API Access Key authorization header
The ID of the Video Library that will be returned
The requested video library
The number of videos in the video library
The total amount of storage used by the library
The date when the video library was created
Determines if the video library has a watermark configured
The left offset of the watermark position (in %)
The top offset of the watermark position (in %)
The width of the watermark (in %)
The ID of the connected underlying pull zone
The ID of the connected underlying storage zone
The height of the watermark (in %)
The captions display font size
Determines if the player token authentication is enabled
Determines if the requests without a referrer are blocked
Determines if the MP4 fallback feature is enabled
Determines if the original video files should be stored after encoding
Determines direct play URLs are enabled for the library
Determines if the DRM is enabled
The bitrate used for encoding 240p videos
The bitrate used for encoding 360p videos
The bitrate used for encoding 480p videos
The bitrate used for encoding 720p videos
The bitrate used for encoding 1080p videos
The bitrate used for encoding 1440p videos
The bitrate used for encoding 2160p videos
Determines if the video watch heatmap should be displayed in the player.
Determines if content tagging should be enabled for this library.
Determines if the automatic audio transcribing is currently enabled for this zone.
Determines if automatic transcribing title generation is currently enabled.
Determines if automatic transcribing description generation is currently enabled.
Determines if automatic transcribing chapters generation is currently enabled.
Determines if automatic transcribing moments generation is currently enabled.
Determines if the player will automatically remember the playback position.
Determines if multiple output audio track support is enabled on video library.
Determines whether output audio stream should be split from video stream segments.
Determines whether JIT encoding should be used for the library. Supported in premium encoding only.
Marks whether all potential video metadata should be removed from the fallback files. Default false.
Marks whether videos should be scaled using both dimensions. Prevents videos being upscaled or unexpected aspect ratio changes. Default true.
Marks whether original video files should be exposed via CDN.
Marks whether video metadata in form of schema meta tags and LD+JSON should be exposed.
The name of the Video Library.
The geo-replication regions of the underlying storage zone
The API key used for authenticating with the video library
The read-only API key used for authenticating with the video library
The comma separated list of enabled resolutions
The vi.ai publisher id for advertising configuration
The URL of the VAST tag endpoint for advertising configuration
The webhook URL of the video library
The captions display font color
The captions display background color
The UI language of the player
Determines if the Early-Play feature is enabled
The list of allowed referrer domains allowed to access the library
The list of blocked referrer domains blocked from accessing the library
DRM version (basic or enterprise)
Basic, Enterprise, BasicV2 "Basic"
Described Apple FairPlay DRM
Show child attributes
Describes Google Widevine DRM
Show child attributes
The type of the pull zone attached. Premium = 0, Volume = 1
Premium, Volume "Premium"
The custom HTMl that is added into the head of the HTML player.
The list of controls on the video player.
The list of playback speeds available in the video player.
The key color of the player.
The captions font family.
The list of languages that the captions will be automatically transcribed to.
Determines if any associated captions will be automatically signaled in the HLS master playlist via EXT-X-MEDIA tags, allowing client players to show captions.
Defines encoding tier to be used with video library. premium is a paid tier that offers either JIT encoding or prioritized encoding and extra codec support.
Free, Premium "Free"
Specifies which video codecs are used for encoding, provided as a comma-separated (CSV) string. Free encoding tier supports only x264. A premium encoding tier adds support for vp9, hevc, and av1.
DRM (enterprise) monthly base price for this video library if it differs from list price.
DRM (enterprise) cost per license for this video library if it differs from list price.
Was this page helpful?