---
title: "Get stream ffprobe"
method: GET
path: "/streaming/statistics/ffprobe"
tags: ["Streaming Statistics"]
---

# Get stream ffprobe

`GET /streaming/statistics/ffprobe`

Aggregates data for the specified video stream in the specified time
interval. "interval" and "units" params working together to point
aggregation interval.

You can use this method to watch when stream was alive in time, and when it was off.

## Query parameters

- `date_from` string, required
- `date_to` string, required
- `stream_id` string, required
- `interval` integer
- `units` 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month'

## Response `200`

OK

- Ffprobe
  - `data` object[]
    - `time` string, required
    - `avg_bitrate` number, required
    - `sum_frames` integer, required
    - `max_height` integer, required
    - `max_fps` number, required
    - `max_keyframe_interval` integer, required

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.net/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
