Automatically extracts detailed video information—including most metadata, thumbnail images, direct video URL and embed code from nearly any video page or video platform on the web.

The Video API automatically extracts detailed video information—including most metadata, thumbnail images, direct video URL and embed code from nearly any video page or video platform on the web.

Test drive Video API without a trial token at


The Video API returns data in JSON format.

Each response includes a request object (which returns request-specific metadata), and an objects array, which will include the extracted information for all objects on a submitted page.

Objects in the Video API's objects array will include the following fields:

typeType of object (always video).
pageUrlURL of submitted page / page from which the video is extracted.
resolvedPageUrlReturned if the pageUrl redirects to another URL.
titleTitle of the video.
textText description, if available, of the video.
urlDirect link to source video file, if available.
htmlEmbeddable HTML of the video (if available), typically an IFRAME or VIDEO object.
embedUrlEmbeddable URL, if available.
authorVideo uploader or creator, if available.
dateDate of extracted video, normalized in most cases to RFC 1123 (HTTP/1.1).
durationDuration in seconds of the Video.
viewCountNumber of Video views, if available on the page.
naturalHeightRaw video height, if available, in pixels.
naturalWidthRaw video width, if available, in pixels.
imagesArray of images, if present within the video.
urlFully resolved link to image. If the image SRC is encoded as base64 data, the complete data URI will be returned.
titleDescription or caption of the image.
mimeMIME type, if available, as specified by the Video's "Content-Type."
humanLanguageReturns the (spoken/human) language of the submitted page, using two-letter ISO 639-1 nomenclature.
diffbotUriUnique object ID. The diffbotUri is generated from the values of various Video fields and uniquely identifies the object. This can be used for deduplication.
Optional fields, available using fields= argument
linksReturns a top-level object (links) containing all hyperlinks found on the page.
metaReturns a top-level object (meta) containing the full contents of page meta tags, including sub-arrays for OpenGraph tags, Twitter Card metadata, microdata, and -- if available -- oEmbed metadata.
querystringReturns any key/value pairs present in the URL querystring. Items without a discrete value will be returned as true.
breadcrumbReturns a top-level array (breadcrumb) of URLs and link text from page breadcrumbs.

The following is an example response for a successfully extracted Youtube video.

  "request": {
    "pageUrl": "",
    "api": "video",
    "version": 3
  "objects": [
      "date": "Sun, 24 May 2020 07:00:00 GMT",
      "images": [
          "diffbotUri": "image|3|231854607",
          "title": "Backyard Squirrel Maze 1.0- Ninja Warrior Course",
          "url": "",
          "primary": true
      "author": "Mark Rober",
      "mime": "video/mp4",
      "naturalHeight": 720,
      "diffbotUri": "video|3|1870173316",
      "type": "video",
      "title": "Backyard Squirrel Maze 1.0- Ninja Warrior Course",
      "url": "",
      "naturalWidth": 1280,
      "duration": 1220,
      "provider": "YouTube",
      "humanLanguage": "en",
      "html": "<iframe src=\"\" frameborder=\"0\" allowfullscreen></iframe>",
      "pageUrl": "",
      "text": "Squirrels were stealing my bird seed so I solved the problem with mechanical engineering :)\n\nHere is an explanation of the illusion dish thing!-\n\nHere is a link to the illusion dish (not sponsored :)\n\n*MUSIC*\n0:02 - Arrow (Instrumental) - Andrew Applepie\n0:27 - Kalimba Jam - Blue Wednesday\n3:21 - Zambo - Devil in Disguise \n3:47 - Cereal Killa - Blue Wednesday\n5:28 - J. Thompson - Real Quick Lovin'\n5:39 - New Shoes - Blue Wednesday\n7:51- Chi- Ponder-\n8:31 - Marimba Idea - Blue Wednesday \n9:25 - Josef Falkenskold - Tiny Tumble\n19:07 - Nik- Ponder-",
      "viewCount": 92199455

Optional Fields

Video API may also return some optional fields if specified. (comma delimited) in the &fields= argument.

Already have the source HTML? POST it to Video API.

Video API supports a POST option that allows you to upload HTML or plain text for extraction. See Extract Content Not Available Online.

Click Try It! to start a request and see the response here!