Use case · YouTube, TikTok and Instagram
Video Transcript API for AI. Transcripts and comments for AI.
Turn public YouTube, TikTok and Instagram videos into text an AI can use: timestamped transcripts, the comments and each video's details, from the video's link.
Hand it to your agent.
Paste this into Claude, Cursor or another agent connected to SocialTap, and fill in the parts in angle brackets. Connect your agent.
Add a video analysis pipeline to <my app or AI product> that takes a public video link and answers <what my users want to know>.
For each link, fetch the video's details, its transcript (in <language> if it has one, otherwise in the original language) and its comments, page by page, until you have read them all or enough to see the pattern.
Pass your model the transcript with its timestamps and the comments with their like counts, and have it return:
- A summary, and the key points in order, each with the timestamp where it starts.
- The claims, numbers and names the video mentions, quoted exactly.
- The audience's mood, the themes in the comments and the questions nobody answered.
Work only from what the data says. If a transcript is machine-generated, say so, and flag words that look misheard instead of correcting them silently.
Get the data from SocialTap. If the SocialTap MCP server is connected, use its tools; otherwise call the REST API at https://socialtap.dev with the API key from the SOCIALTAP_API_KEY environment variable in the x-api-key header. Read https://socialtap.dev/docs/agents/index.md before the first call. The endpoints, by ID:
- youtube.post: GET /v1/youtube/post, YouTube Video API. Docs: https://socialtap.dev/docs/reference/youtube/post/index.md
- tiktok.post: GET /v1/tiktok/post, TikTok Post API. Docs: https://socialtap.dev/docs/reference/tiktok/post/index.md
- instagram.post: GET /v1/instagram/post, Instagram Post API. Docs: https://socialtap.dev/docs/reference/instagram/post/index.md
- youtube.transcript: GET /v1/youtube/transcript, YouTube Transcript API. Docs: https://socialtap.dev/docs/reference/youtube/transcript/index.md
- tiktok.transcript: GET /v1/tiktok/transcript, TikTok Transcript API. Docs: https://socialtap.dev/docs/reference/tiktok/transcript/index.md
- instagram.transcript: GET /v1/instagram/transcript, Instagram Reels Transcript API. Docs: https://socialtap.dev/docs/reference/instagram/transcript/index.md
- youtube.comments: GET /v1/youtube/comments, YouTube Comments API. Docs: https://socialtap.dev/docs/reference/youtube/comments/index.md
- tiktok.comments: GET /v1/tiktok/comments, TikTok Comments API. Docs: https://socialtap.dev/docs/reference/tiktok/comments/index.md
- instagram.comments: GET /v1/instagram/comments, Instagram Comments API. Docs: https://socialtap.dev/docs/reference/instagram/comments/index.mdA typical month: $29 with the Starter plan
5,000 videos a month, each one request to each endpoint below: 10,000 requests. Failed requests are free.
| Endpoint | Requests | Credits |
|---|---|---|
| YouTube Transcript API | 5,000 | 5,000 |
| YouTube Comments API | 5,000 | 5,000 |
Questions about video intelligence
What the data covers, what it costs and how it compares.
Contact usWhat if a video has no captions?
It's transcribed from the audio. Where the platform publishes captions they come back as they are, and where it doesn't, speech-to-text reads the audio, priced as each endpoint's page shows.
Are the transcripts timestamped?
Yes. Each segment has its start and end time, so you can link a quote back to the moment it's said.
Which platforms does it cover?
YouTube, TikTok and Instagram in this recipe, with the same transcript fields on each. Transcripts are also available for other video platforms SocialTap reads.
Try video intelligence on live data.
Get a key and run the first request in a minute. The same key works on every platform.
100free credits
- No credit card
- Failed requests are free
- Works on all 310 endpoints