Skip to main content
POST
YouTube Video Detail
Product: Visual Intelligence — Social Media Scraping Use case: Fetch video metadata, transcripts, captions, and comments from YouTube, Instagram, TikTok, and Twitter/X Host: https://mavi-backend.memories.ai/serve/api/v2 Auth: Authorization: sk-mavi-... (no Bearer prefix)
This API is used to get detailed information for YouTube videos.
Channel routing guide: see Social Media Scraping Overview. Endpoints with a channel request field let you choose apify, rapid, or memories.ai; endpoints without this field use managed routing.
Each API call costs $0.01 USD.

Channel Options

If your request supports a channel option, use it to control how scraper data is sourced:
Recommendation: Start with memories.ai unless you need to force a specific provider.

Code Example

Request Body

How to get the video_id: Extract the v parameter from a YouTube video URL.For example, from https://www.youtube.com/watch?v=Y2y4OpzKIK4, the video_id is Y2y4OpzKIK4.

Response

Returns detailed information for the YouTube video.

Response Parameters

Channel metadata is limited to author_id and author_url. To get the channel name, subscriber count, or per-channel statistics, follow up with a dedicated channel endpoint.

Authorizations

Authorization
string
header
required

Body

application/json
video_id
string
required

YouTube video ID

Example:

"Y2y4OpzKIK4"

Response

200 - application/json

Successfully returned video detailed information

code
string

Response code, indicates the operation result status

Example:

200

msg
string

Response message, describes the operation result

Example:

"success"

data
object

Response data object, contains video detailed information

success
boolean

Indicates whether the operation was successful

Example:

true

failed
boolean

Indicates whether the operation failed

Example:

false