The VideoMentions YouTube API can be used for fetching YouTube videos, channels and playlists data. You can review the pages of this documentation to learn how to use it.
Follow the links below for documentation on each API endpoint.
/channelGet a YouTube channel’s data.
/channel-playlistsGet a YouTube channel’s playlists.
/channel-videosGet a YouTube channel’s videos.
/commentsGet video comments.
/playlistGet a YouTube playlist’s data, including its videos.
/verify-channelsVerify a list of YouTube channel IDs.
/verify-videosVerify a list of YouTube video IDs.
/videoGet a YouTube video’s data.
The VideoMentions YouTube API uses a combination of an API key and API secret to authenticate requests. You will be given your key and secret once API access has been granted to you. The API key is a unique value that identifies your account and the API secret is a value used to authenticate your account’s requests, specifically.
The API key and API secret must be provided with every request as
API-Secret headers, as shown in the example below.
curl -X GET -H "API-Key: your-api-key" -H "API-Secret: your-api-secret" https://videomentions.com/api/v1/video?id=ENtxJcI5Ll4
If either of these headers is excluded or incorrect, a
401 Unauthorized error response will be returned.
Your API key and API secret carry privileges, so be sure to keep them secure. Don’t share your key or secret in publicly accessible places such as GitHub, client-side code, and so on.
Usage of the VideoMentions YouTube API is limited to a maximum of 10,000 requests per hour.
Example breakdown for a 30-day month:
Note that the above is merely an example. Requests may be sent to any of the API endpoints in any amounts, as long as the total number of requests sent does not exceed 10,000 per hour.
If you have questions or concerns about the VideoMentions YouTube API, please contact us. Thank you for using the API.