Social

YouTube video details

Title, description, tags, category, duration, publish date, exact view and like counts, thumbnail, and the channel (name, handle, subscriber count). Pass a video id or any watch / youtu.be / Shorts URL.

Provide exactly one of: video_id, url.

Credits: 1 (refunded on failure).

get/api/v1/social/youtube/video

Request

  • Base URL: https://scrapewhale.dev
  • URL: https://scrapewhale.dev/api/v1/social/youtube/video
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Query parameters

video_idstring

11-character YouTube video id. Provide this or url.

urlstring uri

A youtube.com/watch?v=…, youtu.be/…, or youtube.com/shorts/… URL.

format'json' | 'markdown' | 'both'

Response shape: "json" (structured data only), "markdown" (markdown only), or "both".

Response

Success.

idstring required
status'completed' required
extractorstring required

Extractor name, e.g. "traffic", "meta-ads", "instagram-profile".

titlestring nullable
sourceUrlstring nullable

Canonical public URL of the extracted source.

creditsChargedinteger required

0 when served from the shared cache.

cachedboolean

True when served from the shared extraction cache (free).

createdAtinteger required

Unix epoch milliseconds.

dataobject nullable

Raw structured payload from the source.

markdownstring

Clean markdown rendering of the payload.

Changes

No recorded changes to this operation across all 1 revision of this API.