Captapi

Structured social media data from 32 platforms (YouTube, TikTok, Instagram, Facebook, X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Truth Social, Kick, Kwai, Komi, Pillar, Linkbio, Linkme, Amazon Shop) — transcripts, AI summaries, comments, stats, search and downloads.

Actions171

YouTube → YouTube Video Details

AI-generated

Summary

Fetches details for a YouTube video from its public URL. Set Cache to true to allow a 24-hour cached response; the default false requests fresh data.

Inputs

  • URL (required) — Public YouTube video URL. The URL must be for YouTube and match this endpoint’s platform.
  • Cache — Defaults to false. Set true to serve a response from the 24-hour cache when available; cache hits cost 0 credits and include cached and cachedAt in the response envelope.

Output shape

A video details response, likely wrapped in an envelope.

The source pack omits the execute implementation body, so the exact returned fields and envelope shape cannot be confirmed. On cache hits, the declared properties say the envelope includes cached and cachedAt.

Examples

Example 1: Get details for a public YouTube video

Set URL to the video’s public YouTube URL; leave Cache false to fetch fresh data.

Example 2: Use a cached response when available

Set URL to the video’s public YouTube URL and Cache to true; a cache hit includes cached and cachedAt.

Links

Discussion