Home » API Reference » Outputs » Get Output Details

permalink Get Output Details

GET https://app.zencoder.com/api/v2/outputs/1234.json?api_key=asdf1234

GET https://app.zencoder.com/api/v2/outputs/1234.xml?api_key=asdf1234

GET https://app.zencoder.com/api/v2/outputs/1234.js?api_key=asdf1234


API Version

Available in API version 2 or greater (for example: https://app.zencoder.com/api/v2/).


Required


More Information

Response will look like:

    {
      "audio_bitrate_in_kbps": 74,
      "audio_codec": "aac",
      "audio_sample_rate": 48000,
      "channels": "2",
      "duration_in_ms": 24892,
      "file_size_in_bytes": 1215110,
      "format": "mpeg4",
      "frame_rate": 29.97,
      "height": 352,
      "id": 13339,
      "label": null,
      "state": "finished",
      "total_bitrate_in_kbps": 387,
      "url": "https://example.com/file.mp4",
      "video_bitrate_in_kbps": 313,
      "video_codec": "h264",
      "width": 624,
      "md5_checksum": "7f106918e02a69466afa0ee014174143"
    }
  
    
      74
      aac
      48000
      2
      24892
      1215110
      mpeg4
      29.97
      352
      13339
      
      finished
      387
      https://example.com/file.mp4
      313
      h264
      624
      7f106918e02a69466afa0ee014174143
    
  

If you're getting a 404 Not Found response, make sure that you're using the output ID, not the job ID, and make sure your API key is correct. A 404 means that we didn't find an output file with the specified ID for the account linked to the provided API key.

JSONP Requests

For AJAX and other public requests, Read Only API Keys can access this information using JSONP by requesting the URL with a .js extension. The response will use the output callback unless one is specified using the callback in the querystring.

    output(
      {
        "audio_bitrate_in_kbps": 74,
        "audio_codec": "aac",
        "audio_sample_rate": 48000,
        "channels": "2",
        "duration_in_ms": 24892,
        "file_size_in_bytes": 1215110,
        "format": "mpeg4",
        "frame_rate": 29.97,
        "height": 352,
        "id": 13339,
        "label": null,
        "state": "finished",
        "total_bitrate_in_kbps": 387,
        "url": "https://example.com/file.mp4",
        "video_bitrate_in_kbps": 313,
        "video_codec": "h264",
        "width": 624
      }
    )