Get Encoding Statistics
Changed onReturns video encoding seconds for the library, split into premium and free tier. Each includes billable (normalized) and output seconds over time, plus totals by video codec, resolution, and JIT vs standard encoding. Data is available starting 2026-06-15.
Request
- Base URLhttps://video.bunnycdn.com
- AuthAPI key in header AccessKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
Optional start of the time range (UTC). Defaults to 14 days ago. Data is available starting 2026-06-15.
Optional end of the time range (UTC). If omitted, the current date is used.
Optional. If true, returns hourly data for ranges of up to 31 days within the last 89 days; otherwise daily (UTC). Default is daily.
Optional video codecs to include: H264, VP9, HEVC, AV1. Repeat for multiple values.
Optional highest output resolutions to include: 240, 360, 480, 540, 720, 1080, 1440, 2160. Repeat for multiple values.
Optional. If true, only JIT encodes are included; if false, only standard encodes. Omit for both.
Response
Returns video encoding seconds for the requested video library, split by premium and free tier.
Changes
- info
endpoint added
- info