Similar Videos API
Find YouTube videos related to any target video by content topic and audience interest.
Base URL: https://prod.dashboard.nexlev.io — see Authentication.
Get Similar Videos
POST /api/external/similar-videos/videosDescription: Discover YouTube videos that are similar to a given video using advanced similarity algorithms. Returns a ranked list of videos based on content, topics, and video characteristics.
cURL Example:
curl -X POST https://prod.dashboard.nexlev.io/api/external/similar-videos/videos \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"videoId": "xIL0ssyMh1k"}'Request Body:
{
"videoId": "xIL0ssyMh1k"
}Body Parameters: videoId (required) - YouTube video ID to find similar videos for
🥞 Quota Cost: 10 quota per request — see Rate Limits & Quota.
Status Code: 200 OK
Description: Returns a list of videos similar to the target video, ranked by relevance. Each result includes video information, channel details, view count, and metadata about the video's performance and characteristics.
Response Body:
[
{
"title": "Complete Guide to Content Creation in 2024",
"similarity_score": 85,
"format_score": 92,
"type": "video",
"videoId": "aB3cD4eF5gH",
"channelTitle": "Digital Creators Hub",
"channelId": "UCxYz123ABC456DEF789GHI",
"channelThumbnail": [
{
"url": "https://yt3.ggpht.com/example-channel-thumb-1/s68-c-k-c0x00ffffff-no-rj",
"width": 68,
"height": 68
}
],
"description": "Learn everything you need to know about creating engaging content in 2024. From planning to execution, this guide covers it all...",
"viewCount": "145230",
"publishedTimeText": "3 weeks ago",
"lengthText": "15:42",
"thumbnail": [
{
"url": "https://i.ytimg.com/vi/aB3cD4eF5gH/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLExample1",
"width": 360,
"height": 202
},
{
"url": "https://i.ytimg.com/vi/aB3cD4eF5gH/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLExample2",
"width": 720,
"height": 404
}
],
"richThumbnail": [
{
"url": "https://i.ytimg.com/an_webp/aB3cD4eF5gH/mqdefault_6s.webp?du=3000&sqp=CMzYu8kG&rs=AOn4CLExample",
"width": 320,
"height": 180
}
]
}
]Response Fields:
title- Video titlesimilarity_score- Similarity score (0-100), higher indicates greater similarityformat_score- Format similarity score (0-100)type- Content type (typically "video")videoId- Unique identifier for the videochannelTitle- Name of the channel that uploaded the videochannelId- Unique identifier for the video's channelchannelThumbnail- Array of channel profile image objectsurl- URL to the channel's profile imagewidth- Width of the channel thumbnail imageheight- Height of the channel thumbnail image
description- Video description/snippetviewCount- Raw view count (numeric string)publishedTimeText- Human-readable text of publish time (e.g., "3 weeks ago")lengthText- Video duration in MM:SS or HH:MM:SS formatthumbnail- Array of video thumbnail objects with different sizesurl- URL to the video thumbnailwidth- Width of the thumbnail imageheight- Height of the thumbnail image
richThumbnail- Array of animated/rich thumbnail objects (may be empty)url- URL to the animated thumbnailwidth- Width of the rich thumbnailheight- Height of the rich thumbnail