DuckDuckGo Inline Videos API

When a DuckDuckGo search contains inline videos, they are parsed and exist within the inline_videos array in the JSON output. Inline videos can contain title, link, duration, platform, date, views, and thumbnail.

API Examples

Inline videos results overview

Inline videos results overview

JSON Example

{
  ...
  "inline_videos": [
    {
      "position": 1,
      "title": "MY FINAL WARNING! - Elon Musk",
      "link": "https://www.youtube.com/watch?v=BJaUTnS3UR4",
      "duration": "2:05",
      "platform": "YouTube",
      "date": "2021-05-25T18:17:45.0000000",
      "views": 10605,
      "thumbnail": "https://tse4.mm.bing.net/th?id=OVP.CJbnvJkoc0SQ6K28xmyyGAEsDh&pid=Api"
    },
    {
      "position": 2,
      "title": "Elon Musk cancels Tesla Model S Plaid+",
      "link": "https://www.msn.com/en-us/autos/news/elon-musk-cancels-tesla-model-s-plaid/vi-AAKNyKU",
      "duration": "3:38",
      "platform": "Microsoft News",
      "date": "2021-06-07T10:11:18.0000000",
      "thumbnail": "https://tse1.mm.bing.net/th?id=OVP.-G2IZl3EIktWdcFXGBoQUwJYFR&pid=Api"
    },
    {
      "position": 3,
      "title": "'China Will Overtake US!' - Elon Musk Warns Military",
      "link": "https://www.youtube.com/watch?v=zCWs8Vqouwc",
      "duration": "2:39",
      "platform": "YouTube",
      "date": "2021-05-21T19:52:38.0000000",
      "views": 77380,
      "thumbnail": "https://tse3.mm.bing.net/th?id=OVP.1KQ64DDtnHc51atCIvOo9QEsDh&pid=Api"
    },
    ...
  ]
  ...
}