Try it out.
Encoding and storage | Content management | User-generated content | Web Services API | Network of CDNs | About us


Web Services API

To use Web Services you need a VISUALPLANT account, at least 1 passkey and some content in your account for each service node represented below.

"GET" requests return a maximum of 10 titles per page, unless you specify a different value for max-results in your query. For pagination, specify start-index in your query (default start value is "0"). See an example query with results and pagination.

Replace italicized variables in each request below with your info.

XML output contains complete metadata and is typically used to populate pages with lists, thumbnails and to show credits, comments, ratings, tags, etc for a title. XSPF output is suited for playback of playlists in the Web player. You may change "XML" to "XSPF" on services below marked with "(XSPF available)".

Show Latest titles: (XSPF available)

http://webservices.visualplant.net/Core/Search/XML/passkey/Category/Latest

Show titles in a category: (XSPF available)

http://webservices.visualplant.net/Core/Search/XML/passkey/Category/category name

Search titles: (XSPF available)

http://webservices.visualplant.net/Core/Search/XML/passkey/All/search term

Search titles in a category: (XSPF available)

http://webservices.visualplant.net/Core/Search/XML/passkey/Category/category name/search term

Search titles matching all credits: (XSPF available)

http://webservices.visualplant.net/Core/Search/XML/passkey/Credit/All/credit value

Search titles matching a single credit: (XSPF available)

http://webservices.visualplant.net/Core/Search/XML/passkey/Credit/credit title/credit value

Show top 100 most viewed titles: (XSPF available)

http://webservices.visualplant.net/Core/TopWork/XML/passkey/Top100/yyyy-mm-dd

Show top 20 most e-mailed titles: (XSPF available)

http://webservices.visualplant.net/Core/TopWork/XML/passkey/MostEmailed/yyyy-mm-dd

Search titles owned by a user:

http://webservices.visualplant.net/Core/Search/XML/passkey/User/username/search term

Show user titles:

http://webservices.visualplant.net/Core/UserTitles/XML/passkey/username

Show user favorites:

http://webservices.visualplant.net/Core/UserFavorites/XML/passkey/username

Show if title/playlist is a user favorite: (is_favorite = 1 means title id is a favorite)

http://webservices.visualplant.net/Core/UserFavorites/XML/passkey/unique user id/isFav/unique title id

Show user friends:

http://webservices.visualplant.net/Core/UserFriends/XML/passkey/username

Show a title: (XSPF available)

http://webservices.visualplant.net/Core/Title/XML/passkey/unique title id

Show credits for a title:

http://webservices.visualplant.net/Core/Credits/XML/passkey/unique title id

Show comments for a title:

http://webservices.visualplant.net/Core/Comments/XML/passkey/unique title id

Show titles in a playlist: (XSPF available)

http://webservices.visualplant.net/Core/Search/XML/passkey/Playlist/playlist name

Generate Google Sitemap of your media library: (up to 50,000 returned in this request)

http://webservices.visualplant.net/Core/Search/XML/passkey/Sitemap?max-results=50000&start-index=0

Use this PHP file to request the sitemap webservice and generate a gzipped file on your web server: sitemap.zip

Results and Pagination (max-results and start-index)

http://webservices.visualplant.net/Core/Search/XML/passkey/Category/category name?max-results=10&start-index=0


PUT requests, including inserts, updates and deletes. (Note: These services are case-sensitive. It needs to be "Insert" with a capital "I" and "Delete" with a capital "D" if written, or the cache will not overwrite with new data.)

Insert e-mail-a-friend (for e-mail-a-friend stats):

http://webservices.visualplant.net/Core/Insert/XML/passkey/Top_Work/unique title id

Insert user favorites (for titles and playlists):

http://webservices.visualplant.net/Core/Insert/XML/passkey/User_Favs/unique user id/unique title id

Delete user favorites (for titles and playlists):

http://webservices.visualplant.net/Core/Delete/XML/passkey/User_Favs/unique user id/unique title id

Insert a title impression (for viewership stats):

http://webservices.visualplant.net/Core/PUT/XML/passkey/impression/insert/unique title id/session variable/track number


As with any Web site that displays dynamic content, we strongly urge the use of page-caching on your site to ensure good performance and reliability for your users. Although the VISUALPLANT API is built to accomodate many thousands of requests per second, we cannot control network-related issues. Page-caching will reduce the chances of a failed connection between your application and VISUALPLANT and improve load times. If you would like to use the VISUALPLANT Venue™ micro-site builder templates for PHP or .NET which incorporate page-caching out-of-the-box, read here.



Who We Are | Product Overview | Technology | Partners | Privacy Policy | Admin Login | Contact Us | Support