/videos Examples

Retrieve a specific video given its ID.

Fields Selection:

{
    id,
    title,
    caption,
    originalImage{
        asset{
            source
        }
    },
    videoAsset{
        playBackInfo{
            videoUrl
        }
    }
}

Request:

GET /videos/10103061-7033-0000-0049-69257dc028d8?fs={id,title,caption,originalImage{asset{source}},videoAsset{playBackInfo{videoUrl}}}

Response Payload:

{
  "id": "10103061-7033-0000-0049-69257dc028d8",
  "title": "Top 5 Super Bowl unsung heroes",
  "caption": "Star players aren't the only ones who impact big games. Take a look at the Top 5 Super Bowl unsung heroes.",
  "originalImage": {
    "asset": {
      "source": "http://static.nfl.com/static/content/public/video/2015/06/12/0ap3000000496925_video_player_cp.jpg"
    }
  },
  "videoAsset": {
    "playBackInfo": {
      "videoUrl": "http://video.nfl.com/films/2015/NFL_NETWORK/SHOW/NFL_TOTAL_ACCESS/OFF/26/150612_nfln_nflta_top_5_sb_unsung_heroes_232444_700k.mp4"
    }
  }
}

Retrieve videos by game ID.

Fields Selection:

{
    id,
    title,
    type,
    caption,
    items{
        id,
        type,
        title,
        caption,
        originalImage{
            asset{
                source
            }
        }
    },
    videoAsset{
        playBackInfo{
            videoUrl
        }
    }
}

Request:

GET /videos?s={"$query":{"related.games.id":"10012014-1012-0644-b748-672bf7b1f509"}}&fs={id,type,title,items{id,type,title,caption,originalImage{asset{source}},videoAsset{playBackInfo{videoUrl}}}}

Response Payload:

{
  "type": "CONTENT_LIST",
  "items": {
    "pager": {
      "total": 2
    },
    "data": [
      {
        "id": "10103061-7033-0000-0040-90313ce02bf9",
        "title": "Manning 54-yard pass to Thomas",
        "caption": "Denver Broncos quarterback Peyton Manning throws a 54-yard pass to wide receiver Demaryius Thomas.",
        "originalImage": {
          "asset": {
            "source": "http://static.nfl.com/static/content/public/video/2014/10/12/0ap3000000409031_video_player_cp.jpg"
          }
        },
        "type": "VIDEO",
        "videoAsset": {
          "playBackInfo": {
            "videoUrl": "https://nflent-vh.akamaihd.net/i/films/2014/GAME_HIGHLIGHT/HIGHLIGHT/NFL_NOW/REG/6/141012_wk6_bp_den_manning_54_yds_to_d_thomas_95976_,500k,700k,1200k,2000k,3200k,.mp4.csmil/master.m3u8"
          }
        }
      },
      {
        "id": "10103061-7033-0000-0040-9079b814e302",
        "title": "Wk 6 Can't-Miss Play: Jace Amaro catches first career NFL touchdown",
        "caption": "New York Jets tight end Jace Amaro catches his first career NFL touchdown, a 2-yard back-shoulder fade from quarterback Geno Smith.",
        "originalImage": {
          "asset": {
            "source": "http://static.nfl.com/static/content/public/video/2014/10/12/0ap3000000409079_video_player_cp.jpg"
          }
        },
        "type": "VIDEO",
        "videoAsset": {
          "playBackInfo": {
            "videoUrl": "https://nflent-vh.akamaihd.net/i/films/2014/GAME_HIGHLIGHT/HIGHLIGHT/NFL_NOW/REG/6/141012_wk6_cmp_nyj_amaro_first_nfl_TD_96025_,500k,700k,1200k,2000k,3200k,.mp4.csmil/master.m3u8"
          }
        }
      }
    ]
  },
  "id": null,
  "title": "game-highlights"
}

Retrieve videos by season and clip types.

Fields Selection:

{
  id,
  title,
  caption,
  url,
  lastModifiedDate,
  weekOfSeason{
    id,
    season,
    weekOrder,
    seasonType,
    week,
    weekType,
    name
  },
  originalImage{
    asset{
      source
    }
  },
  videoAsset{
    clipCategory,
    playBackInfo{
      videoUrl
    }
  },
  show{
    id,
    name,
    season,
    episode,
    premieredDate
  },
  advertisingChannel{
    id,
    name,
    advertisingId
  },
  contentVisibility
}

Request:

GET /videos?s={"$query":{"week.season":"2015","$or":[{"videoAsset.clipCategory":"preview"},{"videoAsset.clipCategory":"recap"},{"videoAsset.clipCategory":"game-highlight"},{"videoAsset.clipCategory":"in-game-highlight"}]}}&fs={id,title,caption,url,lastModifiedDate,originalImage{asset{source}},videoAsset{clipCategory,playBackInfo{videoUrl}}}

Response Payload:

{
  "pager": {
    "total": 2
  },
  "data": [
    {
      "id": "10103061-7333-0000-0011-2514e34e2add",
      "title": "Can't-Miss Play: Victor Cruz makes incredible 34-yard grab",
      "caption": "Giants quarterback Eli Manning finds receiver Victor Cruz for a 34-yard gain.",
      "weekOfSeason": {
        "id": "00021220-1520-5245-4722-00575a1ed747",
        "season": 2015,
        "weekOrder": 17,
        "seasonType": "REG",
        "week": 12,
        "weekType": "REG",
        "name": "Week 12"
      },
      "originalImage": {
        "asset": {
          "source": "http://stage.s.nflcdn.com/static/content/public/video/2016/09/22/0as3000000112514_video_player_cp.jpg"
        }
      },
      "lastModifiedDate": "2016-10-19T01:50:39.000+03:00",
      "url": "http://stage.www.nfl.com/videos/nfl-cant-miss-plays/0as3000000112514/Can-t-Miss-Play-Victor-Cruz-makes-incredible-34-yard-grab",
      "advertisingChannel": {
        "id": "10286e66-6c2d-6361-6e74-2d6d6973732d706c617973",
        "name": "Can't-Miss Plays",
        "advertisingId": "nfl-cant-miss-plays"
      },
      "propertyMetadata": {
        "NOW": {
          "clipType": {
            "pager": {
              "total": 1
            },
            "data": [
              "in-game-highlight"
            ]
          }
        }
      },
      "videoAsset": {
        "playBackInfo": {
          "videoUrl": "https://nflent-vh.akamaihd.net/i/films/2016/NFL_NETWORK/in-game-highlight/NFLCOM/REG/2/160918cmpcruzcatch_603790_,500k,700k,1200k,2000k,3200k,.mp4.csmil/master.m3u8"
        }
      },
      "show": {
        "id": null,
        "name": "0as3000000112514",
        "season": null,
        "episode": null,
        "premieredDate": null
      }
    },
    {
      "id": "10103061-7033-0000-0062-0023127f0c03",
      "title": "Travis Kelce eludes defenders for 48-yard gain",
      "caption": "Kansas City Chiefs tight end Travis Kelce eludes defenders for a 48-yard gain in the third quarter of a game the Chiefs had already begun to dominate.",
      "weekOfSeason": {
        "id": "00021820-1520-5245-47c4-50adc7813037",
        "season": 2015,
        "weekOrder": null,
        "seasonType": "REG",
        "week": 18,
        "weekType": null,
        "name": null
      },
      "originalImage": {
        "asset": {
          "source": "http://static.nfl.com/static/content/public/video/2016/01/09/0ap3000000620023_video_player_cp.jpg"
        }
      },
      "lastModifiedDate": "2016-01-16T19:36:14.000+02:00",
      "url": "http://www.nfl.com/videos/nfl-game-highlights/0ap3000000620023/Travis-Kelce-eludes-defenders-for-48-yard-gain",
      "advertisingChannel": {
        "id": "10286e66-6c2d-6761-6d65-2d686967686c6967687473",
        "name": "Game Highlights",
        "advertisingId": "nfl-game-highlights"
      },
      "propertyMetadata": {
        "NOW": {
          "clipType": {
            "pager": {
              "total": 1
            },
            "data": [
              "in-game-highlight"
            ]
          }
        }
      },
      "videoAsset": {
        "playBackInfo": {
          "videoUrl": "https://nflent-vh.akamaihd.net/i/films/2015/GAME_HIGHLIGHT/in-game-highlight/NFLCOM/REG/18/160109_nfl_wk18_chiefs_kelce_eludes_defenders_48_yards_386356_,180k,320k,500k,700k,1200k,2000k,3200k,.mp4.csmil/master.m3u8"
        }
      },
      "show": {
        "id": null,
        "name": "0ap3000000620023",
        "season": null,
        "episode": null,
        "premieredDate": null
      }
    }
  ]
}