GET /videos/$guid

Get the metadata for a specified VideoPress video.

Resource Information

Method GET
Requires authentication? No

Method Parameters

Parameter Type Description
$guid (string) The guid of the video

Query Parameters

Parameter Type Description
context (string)
(default) Formats the output as HTML for display. Shortcodes are parsed, paragraph tags are added, etc..
Formats the output for editing. Shortcodes are left unparsed, significant whitespace is kept, etc..
http_envelope (bool)
Some environments (like in-browser JavaScript or Flash) block or divert responses with a non-200 HTTP status code. Setting this parameter will force the HTTP status code to always be 200. The JSON response is wrapped in an "envelope" containing the "real" HTTP status code and headers.
pretty (bool)
Output pretty JSON
meta (string) Optional. Loads data from the endpoints found in the 'meta' part of the response. Comma-separated list. Example: meta=site,likes
fields (string) Optional. Returns specified fields only. Comma-separated list. Example: fields=ID,title
callback (string) An optional JSONP callback function.
birth_month (int) The month the visitor was born
birth_day (int) The day of the month the visitor was born
birth_year (int) The year the visitor was born
metadata_token (string) Optional. Permissions token

Response Parameters

Parameter Type Description
title (string) Title of the video
description (string) Description of the video
width (int) Width of the video
height (int) Height of the video
duration (int) The length of the video, in milliseconds
display_embed (bool) Should the embed menu be shown?
allow_download (bool) Whether to display and allow video downloads
rating (string) The rating of the video
poster (string) The URL of the video image
original (string) The URL of the original video
watermark (string) URL of a watermark logo
bg_color (string) Custom background color
files (array) List of video formats and the associated filenames
file_url_base (array) List of protocols and the base needed for creating file URLs
blog_id (int) Blog ID of the site where the video was uploaded
post_id (int) Post ID of the video attachment post
upload_date (string) Date the video was uploaded in ISO 8601 format
finished (bool) Is video transcoding finished?
files_status (array) Transcoding status for each video file format
subtitles (array) Available subtitle formats with information for each language that is available

Resource Errors

These are the possible errors returned by this endpoint.

HTTP Code Error Identifier Error Message
404 unknown_media The specified video was not found.
400 invalid_input Please supply the birthdate parameters.


curl ''
$options  = array (
  'http' => 
  array (
    'ignore_errors' => true,

$context  = stream_context_create( $options );
$response = file_get_contents(
$response = json_decode( $response );


    "guid": "OO4thna8",
    "title": "VideoPress demo",
    "description": "",
    "width": 1280,
    "height": 720,
    "duration": 143700,
    "display_embed": true,
    "allow_download": false,
    "rating": "G",
    "poster": "https:\/\/\/OO4thna8\/videopress2-web2_hd.original.jpg",
    "original": "https:\/\/\/OO4thna8\/",
    "watermark": "https:\/\/\/2010\/07\/wptv.png",
    "bg_color": "",
    "files": {
        "std": {
            "mp4": "videopress2-web2.mp4",
            "original_img": "videopress2-web2.original.jpg",
            "thumbnail_img": "videopress2-web2.thumbnail.jpg"
        "dvd": {
            "mp4": "videopress2-web2_dvd.mp4",
            "original_img": "videopress2-web2_dvd.original.jpg",
            "thumbnail_img": "videopress2-web2_dvd.thumbnail.jpg"
        "hd": {
            "mp4": "videopress2-web2_hd.mp4",
            "original_img": "videopress2-web2_hd.original.jpg",
            "thumbnail_img": "videopress2-web2_hd.thumbnail.jpg"
    "file_url_base": {
        "http": "http:\/\/\/OO4thna8\/",
        "https": "https:\/\/\/OO4thna8\/"
    "blog_id": 5089392,
    "post_id": 1913,
    "is_private": false,
    "upload_date": "2009-05-18T17:25:49+0000",
    "finished": true,
    "files_status": {
        "std": {
            "mp4": "DONE",
            "ogg": "DONE"
        "avc_240p": null,
        "dvd": {
            "mp4": "DONE"
        "hd": {
            "mp4": "DONE"
        "hd_1080p": null,
        "hevc_1440p": null,
        "vp9_1440p": null
    "subtitles": [],
    "tracks": [],
    "adaptive_streaming": null,
    "format_meta": {
        "std": {
            "codec": "avc",
            "label": "224p",
            "vertical_lines": 224
        "avc_240p": {
            "codec": "avc",
            "label": "240p",
            "vertical_lines": 240
        "dvd": {
            "codec": "avc",
            "label": "480p",
            "vertical_lines": 480
        "hd": {
            "codec": "avc",
            "label": "720p",
            "vertical_lines": 720
        "hd_1080p": {
            "codec": "avc",
            "label": "1080p",
            "vertical_lines": 1080
        "hevc_1440p": {
            "codec": "hevc",
            "label": "1440p",
            "vertical_lines": 1440
        "vp9_1440p": {
            "codec": "vp9",
            "label": "1440p",
            "vertical_lines": 1440
    "thumbnails_grid": []