編集

次の方法で共有


Video Search APIs v7 reference

The Video Search APIs let you search for videos that are relevant to the user's search query, get insights about videos, and get trending videos. This section provides technical details about the query parameters and headers that you use to request videos and the JSON response objects that contain them. For examples that show how to make requests, see Bing Video Search overview.

For information about permitted use and display of the results, see Use and display requirements.

Note

Because URL formats and parameters are subject to change without notice, use all URLs as-is. You should not take dependencies on the URL format or parameters except where noted.

Endpoints

To request video search results, send a GET request to one of the following endpoints:

Endpoint Description
https://api.bing.microsoft.com/v7.0/videos/search Returns videos that are relevant to the user's search query.
https://api.bing.microsoft.com/v7.0/videos/details Returns insights about a video, such as related videos.
https://api.bing.microsoft.com/v7.0/videos/trending Returns videos that are trending based on search requests made by others. The videos are broken out into different categories. For example, Top Music Videos. For a list of markets that support trending videos, see Supported trending videos markets.

The request must use the HTTPS protocol.

Note

The maximum URL length is 2,048 characters. To ensure that your URL length does not exceed the limit, the maximum length of your query parameters should be less than 1,500 characters. If the URL exceeds 2,048 characters, the server returns 404 Not found.

Next steps

Check out the following programming elements you'll use when sending search requests: