As of this morning, the “vod” field returned by the top clips api is always null, even on clips that definitely have vods associated with them.
For example, here’s a clip with a vod:
You can tell because the “Watch Full Video” button works with a link to the stream.
But when the clip is one of the results of a “Top Clips” api call, the vod is null:
https://api.twitch.tv/kraken/clips/top?period=week&limit=100&channel=DrDisrespectLive
{
"slug": "ArtsyWonderfulQueleaFunRun",
"tracking_id": "111814950",
"url": "https://clips.twitch.tv/ArtsyWonderfulQueleaFunRun?tt_medium=clips_api&tt_content=url",
"embed_url": "https://clips.twitch.tv/embed?clip=ArtsyWonderfulQueleaFunRun&tt_medium=clips_api&tt_content=embed",
"embed_html": "<iframe src='https://clips.twitch.tv/embed?clip=ArtsyWonderfulQueleaFunRun&tt_medium=clips_api&tt_content=embed' width='640' height='360' frameborder='0' scrolling='no' allowfullscreen='true'></iframe>",
"broadcaster": {
"id": "17337557",
"name": "drdisrespectlive",
"display_name": "DrDisRespectLIVE",
"channel_url": "https://www.twitch.tv/drdisrespectlive",
"logo": "https://static-cdn.jtvnw.net/jtv_user_pictures/drdisrespectlive-profile_image-abc1fc67d2ea1ae1-150x150.png"
},
"curator": {
"id": "73753079",
"name": "troublishone",
"display_name": "TroublishONE",
"channel_url": "https://www.twitch.tv/troublishone",
"logo": "https://static-cdn.jtvnw.net/jtv_user_pictures/050af799a4745f1c-profile_image-150x150.png"
},
"vod": null,
"broadcast_id": "25959126384",
"game": "PLAYERUNKNOWN'S BATTLEGROUNDS",
"language": "en",
"title": "Doc on shroud",
"views": 34316,
"duration": 60,
"created_at": "2017-08-08T16:11:29Z",
"thumbnails": {
"medium": "https://clips-media-assets.twitch.tv/25959126384-offset-1576-60-preview-480x272.jpg",
"small": "https://clips-media-assets.twitch.tv/25959126384-offset-1576-60-preview-260x147.jpg",
"tiny": "https://clips-media-assets.twitch.tv/25959126384-offset-1576-60-preview-86x45.jpg"
}
}
Querying directly with the slug, the vod is listed correctly:
https://api.twitch.tv/kraken/clips/ArtsyWonderfulQueleaFunRun
{
"slug": "ArtsyWonderfulQueleaFunRun",
"tracking_id": "111814950",
"url": "https://clips.twitch.tv/ArtsyWonderfulQueleaFunRun?tt_medium=clips_api&tt_content=url",
"embed_url": "https://clips.twitch.tv/embed?clip=ArtsyWonderfulQueleaFunRun&tt_medium=clips_api&tt_content=embed",
"embed_html": "<iframe src='https://clips.twitch.tv/embed?clip=ArtsyWonderfulQueleaFunRun&tt_medium=clips_api&tt_content=embed' width='640' height='360' frameborder='0' scrolling='no' allowfullscreen='true'></iframe>",
"broadcaster": {
"id": "17337557",
"name": "drdisrespectlive",
"display_name": "DrDisRespectLIVE",
"channel_url": "https://www.twitch.tv/drdisrespectlive",
"logo": "https://static-cdn.jtvnw.net/jtv_user_pictures/drdisrespectlive-profile_image-abc1fc67d2ea1ae1-150x150.png"
},
"curator": {
"id": "73753079",
"name": "troublishone",
"display_name": "TroublishONE",
"channel_url": "https://www.twitch.tv/troublishone",
"logo": "https://static-cdn.jtvnw.net/jtv_user_pictures/050af799a4745f1c-profile_image-150x150.png"
},
"vod": {
"id": "165386946",
"url": "https://www.twitch.tv/videos/165386946?t=26m16s"
},
"broadcast_id": "25959126384",
"game": "PLAYERUNKNOWN'S BATTLEGROUNDS",
"language": "en",
"title": "Doc on shroud",
"views": 34424,
"duration": 60,
"created_at": "2017-08-08T16:11:29Z",
"thumbnails": {
"medium": "https://clips-media-assets.twitch.tv/25959126384-offset-1576-60-preview-480x272.jpg",
"small": "https://clips-media-assets.twitch.tv/25959126384-offset-1576-60-preview-260x147.jpg",
"tiny": "https://clips-media-assets.twitch.tv/25959126384-offset-1576-60-preview-86x45.jpg"
}
}