Related Video API 1.1

This API lets you retrieve related videos for a given video, broken down into various types.

URL

Authentication

  • Each use of any VideoSurf API is subject to the Terms Of Use and requires you to provide a valid client_id and client_key
  • client_id - A human readable client identifier. Please pick something short and descriptive.
    • Required
    • Type: String
    • Example: client_id=your_domain
  • client_key - This is an authorization token issued to you by VideoSurf. Obtain one here.
    • Required
    • Type: String
    • Example: client_key=900d77b8e40e60f0113dccc2973f2ed1

Inputs

  • id - A VideoSurf video id.
    • Required
    • Type: String
    • Example: id=60467075
  • visual_summary_size - The maximum number of thumbnails (per video) to return information for in the VideoSurf visual summary. Note that you will always receive information about the sprite that contains the top 20 most interesting frames in the video's summary. This argument specifies which frames you would like to receive more detailed information about. Each set of frame information includes a number indicating where it is found in the sprite so that you can display it correctly. The frames will be sorted by time. It is important to specify the correct count here so that you will be able to properly display the N most important thumbnails, as decided by our algorithms.
    • Optional
    • Type: Number
    • Default: 8
    • Maximum: 20
    • Example: visual_summary_size=12
  • callback - An optional callback function to wrap the response. This is useful for client side scripting with a technique called JSONP. This will only be utilized if the output_format is json.
    • Optional
    • Type: String
    • Example: callback=my_fn - This will result in a response that looks like this: my_fn({ json goes here });
  • output_format - Format of the response, either as a JSON object or serialized PHP.

Output


X

Log In or Sign UpX

Beta Login





Sign Up



Your username can only contain letters or numbers





Log In or Sign UpX

Log In Temporarily Unavailable

VideoSurf is undergoing some maintenance to improve the site at the moment.

You can continue to search and browse as usual, but some of the 'log in required' functionalitiy is temporarily unavailable.

Check back in a few minutes and everything should be back to normal.

Sorry for the inconvenience!

The VideoSurf Team

We'd love to hear your feedback!X

Select an option:


Add Comments:

Your Email
(Optional - So we can get back to you)

Cancel
Thanks !

Your feedback is vital to making VideoSurf better.