Welcome to The AOL On Network’s API developer documentation. It enables you to integrate our video content, display and functionality into your website. Below you'll find links to helpful documentation on all of the different methods you can use to get data from The Aol On Network. There are plenty of examples, so if you're stuck, be sure to check them out.

VIDEO REQUEST

Single Video

To access the data for a specific video, you simply request a URL from Aol On Network's API with the specific video ID you want.

http://api.5min.com/video/VIDEO_ID/info.FORMAT[?PARAMETERS]
VIDEO ID Can be retrieved from the end of the video URL.
FORMAT Xml or Json (Not all json calls are supported)

Parameters:

Key: Description: Value:
sid Account associated syndicator ID sid=y
add_ons Include/exclude add-ons for video false(default) / true
auto_start The video starts playing automatically false / true (default)
external_data Get external video identification false(default) / true
height Embed height value 401(default)
multiple_thumbnails Include/exclude all thumbnails for video false(default) / true
num_related_return Number of related videos to return per video 0(default). Max number is 20
page Which page of results to display page=x
page=1(default)
return_category_id Add ID of category per video false(default) / true
show_renditions Show all available renditions for the video false(default) / true
third_layer Include third layer metadata false(default) / true
thumbnail_sizes Include/exclude thumbnails sizes extracted for video false(default) / true
transcript Include/exclude transcript for video false(default) / true
width Embed width value 480 (default)
Examples:
Request:

To get a video info, you would make this request:

http://api.5min.com/video/25153871/info.xml?multiple_thumbnails=true Response:
<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0' xmlns:media='http://search.yahoo.com/mrss/'>
  <channel>
    <title>Video's 'How to Buy a Business Suit' info</title>
    <description>This feed contains the video's 'How to Buy a Business Suit' info API</description>
    <link>http://api.5min.com/</link>
    <image>
      <title>5min.com</title>
      <url>http://lshared.5min.com/Graphics/Logos/5min_logo.JPG</url>
      <link>http://api.5min.com/</link>
      <description>logo</description>
      <width>50</width>
      <height>50</height>
    </image>
    <copyright>5min.com</copyright>
    <lastBuildDate>Fri, 13 Jun 2008 13:31:48 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>5min.com</generator>
    <item>
      <title>How to Buy a Business Suit</title>
      <description>
        <a href='http://www.5min.com/Video/How-to-Buy-a-Business-Suit-25153871'>
          <img height='100px' width = '150px' alt='' src='http://pThumbnails.5min.com/503078/25153871_11.jpg'/>
        </a>
        <p>Everyday business attire may have become more casual, but the suit is still the anchor of any man's formal wardrobe. Learn how to put together a suit that will impress.</p>
      </description>
      <link>http://www.5min.com/Video/How-to-Buy-a-Business-Suit-25153871</link>
      <enclosure url='http://www.5min.com/Embeded/25153871/' duration='445' type='application/x-shockwave-flash' />
      <media:content url='http://lvideos.5min.com/251539/25153871.flv' type='video/x-flv' expression='sample' duration='445' bitrate='600' />
      <media:title type='plain'>How to Buy a Business Suit</media:title>
      <media:description type='html'>Everyday business attire may have become more casual, but the suit is still the anchor of any man's formal wardrobe. Learn how to put together a suit that will impress.</media:description>
      <media:thumbnail url='http://pthumbnails.5min.com/503078/25153871_11.jpg' height='105' width='140' />
      <media:thumbnail url='http://pthumbnails.5min.com/503078/25153871_14.jpg' height='105' width='140' />
      <media:category label='Fashion/Men'>Fashion/Men</media:category>
      <media:credit role='author'>Style4Men</media:credit>
      <media:rating>nonadult</media:rating>
      <media:keywords>Business,dress,pants,shoes,suit,tie</media:keywords>
      <media:player url='http://www.5min.com/Embeded/25153871/' height='325' width='400'><![CDATA[<div style='text-align:center'><object width='480' height='401' id='FiveminPlayer'><param name='allowfullscreen' value='true'/><param name='allowScriptAccess' value='always'/><param name='movie' value='http://www.5min.com/Embeded/25153871/'/><embed src='http://www.5min.com/Embeded/25153871/' type='application/x-shockwave-flash' width='480' height='401' allowfullscreen='true' allowScriptAccess='always'></embed></object><br/><a href='http://www.5min.com/Video/How-to-Buy-a-Business-Suit-25153871' style='font-family: Verdana;font-size: 10px;' target='_blank'>How to Buy a Business Suit</a></div>]]></media:player>
      <pubDate>Fri, 13 Jun 2008 13:31:48 GMT</pubDate>
      <image>
        <title>How to Buy a Business Suit</title>
        <url>http://pthumbnails.5min.com/503078/25153871_11.jpg</url>
        <link>http://www.5min.com/Video/How-to-Buy-a-Business-Suit-25153871</link>
        <description>Everyday business attire may have become more casual, but the suit is still the anchor of any man's formal wardrobe. Learn how to put together a suit that will impress.</description>
        <width>150</width>
        <height>100</height>
      </image>
    </item>
  </channel>
</rss>

Multiple Videos

To get multiple videos, you can send multiple videos IDs in the following format:

http://api.5min.com/video/list/info.FORMAT?video_ids={ID1},{ID2}…[&PARAMETERS] OR http://api.5min.com/video/list/info.FORMAT?Video_Group_Id={Video Group ID} [&PARAMETERS]
VIDEO_IDS Comma separated video IDs.
VIDEO_GROUP_ID Id of video group you want to get.
FORMAT Xml or Json (Not all json calls are supported)

Parameters:

Key: Description: Value:
sid The syndicator id.
auto_start The video starts playing automatically false / true (default)
external_data Get external video identification false(default) / true
height Embed height value 401(default)
multiple_thumbnails Include/exclude all thumbnails for video false(default) / true
num_of_videos The number of videos in the current page. 25(default). Max size is 50.
num_related_return Number of related videos to return per video 0(default). Max number is 20
page Which page of results to display page=x
page=1(default)
return_category_id Add ID of category per video false(default) / true
show_renditions Show all available renditions for the video false(default) / true
third_layer Include third layer metadata false(default) / true
thumbnail_sizes Include/exclude thumbnails sizes extracted for video false(default) / true
transcript Include/exclude transcript for video false(default) / true
width Embed width value 480 (default)
Examples:
Request:

To get multiple videos info, you would make this request:

http://api.5min.com/video/list/info.xml?Video_Group_Id=122682 Response:
<?xml version='1.0' encoding='utf-8'?>
<rss version='2.0' xmlns:media='http://search.yahoo.com/mrss/'>
  <channel>
    <title>Videos list</title>
    <description>This feed contains videos list from 5min.com</description>
    <link>http://www.5min.com/</link>
    <image>
      <title>5min.com</title>
      <url>http://pshared.5min.com/Graphics/Logos/5min_logo.JPG</url>
      <link>http://www.5min.com/</link>
      <description>logo</description>
      <width>50</width>
      <height>50</height>
    </image>
    <copyright>5min.com</copyright>
    <lastBuildDate>Sun, 01 May 2011 16:56:04 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>5min.com</generator>
    <item>
      <id>1825</id>
      <title>How to Tie a Tie (Windsor Knot)</title>
      <description><a href='http://www.5min.com/Video/How-to-Tie-a-Tie-Windsor-Knot-1825'><img height='100px' width = '150px' alt='' src='http://pthumbnails.5min.com/37/1825_3.jpg'></a><p>The proper way to tie a necktie.</p></description>
      <link>http://www.5min.com/Video/How-to-Tie-a-Tie-Windsor-Knot-1825</link>
      <studioName>Cheryl</studioName>
      <additionalData>Site:</additionalData>
      <enclosure url='http://embed.5min.com/1825/&autoStart=true' duration='66' type='application/x-shockwave-flash' />
      <geoRestriction>ALL</geoRestriction>
      <deviceRestriction>NotMobile</deviceRestriction>
      <expirationDate>Sat, 28 Nov 2015 15:32:00 GMT</expirationDate>
      <media:community>
        <media:statistics views='115072' />
      </media:community>
      <media:content url='http://lvideos.5min.com/19/1825.flv' type='video/x-flv' expression='sample' fileSize='2736277' duration='66' bitrate='600' lang='eng' />
      <media:title type='plain'>How to Tie a Tie (Windsor Knot)</media:title>
      <media:description type='html'><a href='http://www.5min.com/Video/How-to-Tie-a-Tie-Windsor-Knot-1825'><img height='100px' width = '150px' alt='' src='http://pthumbnails.5min.com/37/1825_3.jpg'></a><p>The proper way to tie a necktie.</p></media:description>
      <media:thumbnail url='http://pthumbnails.5min.com/37/1825_3.jpg' width='140' height='105' time='00:00:20' />
      <media:category label='Fashion/Men'>Fashion/Men</media:category>
      <media:channel>Style</media:channel>
      <media:credit role='author'><a href='http://www.5min.com/Cheryl'>Cheryl</a></media:credit>
      <media:rating>nonadult</media:rating>
      <media:keywords>Business,dress,fashion,formal,Knot,tie,windsor</media:keywords>
      <media:player url='http://www.5min.com/Video/How-to-Tie-a-Tie-Windsor-Knot-1825'>
        <![CDATA[<div style='text-align:center'><object width='480' height='401' id='FiveminPlayer' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'><param name='allowfullscreen' value='true'/>
<param name='allowScriptAccess' value='always'/><param name='movie' value='http://embed.5min.com/1825/&autoStart=true'/>
<embed name='FiveminPlayer' src='http://embed.5min.com/1825/&autoStart=true' type='application/x-shockwave-flash' width='480' height='401' allowfullscreen='true' allowScriptAccess='always'></embed></object><br/><a href='http://www.5min.com/Video/How-to-Tie-a-Tie-Windsor-Knot-1825' style='font-family: Verdana;font-size: 10px;' target='_blank'>How to Tie a Tie (Windsor Knot)</a></div>]]>
      </media:player>
      <pubDate>Sun, 01 May 2011 16:56:04 GMT</pubDate>
      <image>
        <title>How to Tie a Tie (Windsor Knot)</title>
        <url>http://pthumbnails.5min.com/37/1825_3.jpg</url>
        <link>http://www.5min.com/Video/How-to-Tie-a-Tie-Windsor-Knot-1825</link>
        <description><a href='http://www.5min.com/Video/How-to-Tie-a-Tie-Windsor-Knot-1825'><img height='100px' width = '150px' alt='' src='http://pthumbnails.5min.com/37/1825_3.jpg'></a><p>The proper way to tie a necktie.</p></description>
        <width>150</width>
        <height>100</height>
      </image>
    </item>
    <item>
      <id>3200</id>
      <title>Bellydance - Hip Circles</title>
      <description><a href='http://www.5min.com/Video/Bellydance---Hip-Circles-3200'><img height='100px' width = '150px' alt='' src='http://pthumbnails.5min.com/65/3200_3.jpg'></a><p>Add flair to your routine with hip circles</p></description>
      <link>http://www.5min.com/Video/Bellydance---Hip-Circles-3200</link>
      <studioName>the art of belly dance </studioName>
      <additionalData>Site:</additionalData>
      <enclosure url='http://embed.5min.com/3200/&autoStart=true' duration='229' type='application/x-shockwave-flash' />
      <geoRestriction>ALL</geoRestriction>
      <deviceRestriction>All</deviceRestriction>
      <expirationDate />
      <media:community>
        <media:statistics views='59112' />
      </media:community>
      <media:content url='http://lvideos.5min.com//33/33/3200_1.mp4' type='video/mp4' expression='sample' fileSize='14925587' duration='229' bitrate='600' lang='eng' />
      <media:title type='plain'>Bellydance - Hip Circles</media:title>
      <media:description type='html'><a href='http://www.5min.com/Video/Bellydance---Hip-Circles-3200'><img height='100px' width = '150px' alt='' src='http://pthumbnails.5min.com/65/3200_3.jpg'></a><p>Add flair to your routine with hip circles</p></media:description>
      <media:thumbnail url='http://pthumbnails.5min.com/65/3200_3.jpg' width='140' height='105' time='00:00:20' />
      <media:category label='Arts/Dance'>Arts/Dance</media:category>
      <media:channel>Arts & Hobbies</media:channel>
      <media:credit role='author'><a href='http://www.5min.com/Meital'>Meital</a></media:credit>
      <media:rating>nonadult</media:rating>
      <media:keywords>Bellydance Hip Circles,arts,belly,bellydance,circle,dance,hip,meital,routine<![CDATA[Bellydance Hip Circles]]></media:keywords>
      <media:player url='http://www.5min.com/Video/Bellydance---Hip-Circles-3200'>
        <![CDATA[<div style='text-align:center'><object width='480' height='401' id='FiveminPlayer' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'><param name='allowfullscreen' value='true'/>
<param name='allowScriptAccess' value='always'/><param name='movie' value='http://embed.5min.com/3200/&autoStart=true'/>
<embed name='FiveminPlayer' src='http://embed.5min.com/3200/&autoStart=true' type='application/x-shockwave-flash' width='480' height='401' allowfullscreen='true' allowScriptAccess='always'></embed></object><br/><a href='http://www.5min.com/Video/Bellydance---Hip-Circles-3200' style='font-family: Verdana;font-size: 10px;' target='_blank'>Bellydance Hip Circles</a></div>]]>
      </media:player>
      <pubDate>Sun, 03 Jun 2007 13:51:40 GMT</pubDate>
      <image>
        <title>Bellydance - Hip Circles</title>
        <url>http://pthumbnails.5min.com/65/3200_3.jpg</url>
        <link>http://www.5min.com/Video/Bellydance---Hip-Circles-3200</link>
        <description><a href='http://www.5min.com/Video/Bellydance---Hip-Circles-3200'><img height='100px' width = '150px' alt='' src='http://pthumbnails.5min.com/65/3200_3.jpg'></a><p>Add flair to your routine with hip circles</p></description>
        <width>150</width>
        <height>100</height>
      </image>
    </item>
  </channel>
</rss>