AgentPMT
Youtube Transcript Fetcher

Youtube Transcript Fetcher

Connector

Available ActionsEach successful request consumes credits as outlined below.

fetch25cr

Details

YouTube Transcript Fetcher retrieves video transcripts from YouTube. The tool accepts either a full YouTube URL or an 11-character video ID. Supported URL formats include standard watch URLs (youtube.com/watch?v=), shortened URLs (youtu.be), Shorts, embeds, and live streams. When both are provided, video_id takes precedence over video_url. Transcripts are returned as plain text by default. Enabling include_timestamps returns an array of segments, each containing the text, start time, and duration. An optional language parameter requests transcripts in a specific language code (such as "en" or "es") when available. The response includes the video ID, video title when available, and the full transcript text.

Use Cases

Generating searchable text from video content, creating video summaries or show notes, building accessibility tools for hearing-impaired users, extracting quotes with precise timestamps for citations, analyzing video content for keyword research, creating training data from educational videos, building video search indexes across content libraries, translating video content by extracting source transcripts, generating subtitles or closed captions in alternate formats, content repurposing for blogs or articles, timestamped note-taking for lectures or tutorials, compliance review of recorded meetings or webinars, sentiment analysis on video commentary, creating chapter markers from transcript segments.

Actions(1)

fetch25cr5 params

Fetch the transcript for a YouTube video. Provide either video_url or video_id. The transcript is saved to cloud storage and a signed download URL is returned.

Fetch the transcript for a YouTube video. Provide either video_url or video_id. The transcript is saved to cloud storage and a signed download URL is returned.

video_urlstring

Full YouTube URL. Supported formats: youtube.com/watch?v=, youtu.be/, shorts, embeds, live. Provide either video_url or video_id.

video_idstring

YouTube video ID (11 characters). Takes precedence over video_url if both are provided.

languagestring

Transcript language code (e.g., 'en', 'es', 'fr'). If omitted, the video's default language is used.

include_timestampsboolean

When true, the saved transcript file includes timestamped segments with start time and duration. Default: false.

Default: false
include_raw_responseboolean

When true, the saved transcript file includes the full raw provider response (useful for debugging; may be large). Default: false.

Default: false

Frequently Asked Questions

How do I connect this tool to an external agent?

Install commands

npm install -g @agentpmt/mcp-router
agentpmt-setup

Hosted MCP config

{
  "mcpServers": {
    "agentpmt": {
      "type": "streamable-http",
      "url": "https://api.agentpmt.com/mcp",
      "headers": {
        "Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
        "x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
      }
    }
  }
}

How does an external agent use this tool?

Agent prompt

Call the AgentPMT-Tool-Search-and-Execution tool with action 'get_schema' and tool_id 693389cb6f4ce728406d40be ("Youtube Transcript Fetcher"). Then call the same tool with action 'call_tool', tool_id 693389cb6f4ce728406d40be, and the parameters needed for my request.

Workflows Using This Tool

Looking for help integrating AI into your business? Set up a free consultation.

Youtube Transcript Fetcher by Apoth3osis | AgentPMT