---
title: "Get Video Metadata"
method: POST
path: "/metadata"
tags: ["Metadata"]
---

# Get Video Metadata

`POST /metadata`

Analysis the Video and provides the Metadata.

## Request body

- VideoParameters
  - `video_url` string, uri — Source video URL.

## Response `200`

Success.

- object
  - `data` object
    - `video_streams` integer, nullable — Number of video streams in the file (including thumbnails)
    - `audio_streams` integer, nullable — Number of audio streams in the file
    - `bit_rate` integer, nullable — Overall bit rate of the file in bits per second
    - `size` integer, nullable — File size in bytes
    - `duration` number, nullable — Total duration of the file in seconds
    - `format_name` string, nullable — Container format name
    - `video_codec_name` string, nullable — Video codec name
    - `video_width` integer, nullable — Video width in pixels
    - `video_height` integer, nullable — Video height in pixels
    - `video_duration` number, nullable — Video stream duration in seconds
    - `video_bit_rate` integer, nullable — Video stream bit rate in bits per second
    - `video_pix_fmt` string, nullable — Video pixel format
    - `video_fps` integer, nullable — Video frame rate (frames per second)
    - `audio_codec_name` string, nullable — Audio codec name
    - `audio_sample_rate` integer, nullable — Audio sample rate in Hz
    - `audio_channels` integer, nullable — Number of audio channels
    - `audio_channel_layout` string, nullable — Audio channel layout
    - `audio_duration` number, nullable — Audio stream duration in seconds
    - `audio_bit_rate` integer, nullable — Audio stream bit rate in bits per second
    - `thumbnail_codec_name` string, nullable — Thumbnail codec name
    - `thumbnail_width` integer, nullable — Thumbnail width in pixels
    - `thumbnail_height` integer, nullable — Thumbnail height in pixels
    - `thumbnail_pix_fmt` string, nullable — Thumbnail pixel format
  - `status` 'success' | 'error' | 'processing' | 'queued'

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required
- `403` — Forbidden
- `404` — Not Found
- `405` — Method Not Allowed
- `413` — Request Entity Too Large
- `415` — Unsupported Media Type
- `429` — Too Many Requests
- `431` — Request Header Fields Too Large
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/picsart/apis/picsart-programmable-image-apis.md) · [All operations](https://skmtc.net/picsart/apis/picsart-programmable-image-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/picsart/picsart-programmable-image-apis/versions/726b2a637ae8/schema)
