AgentPMT - The Agentic Economy

Youtube Transcript Fetcher

Connector
$0.25/requestMin Purchase: 4Min Purchase Price: $1

Details

YouTube Transcript fetches video transcripts from YouTube via the youtube-transcript.io API. 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.

Parameters

(required properties listed first)

action
Type:string
Description:Use 'get_instructions' to retrieve documentation. Action to perform: fetch
Default:fetch
Allowed values:
get_instructionsfetch
video_url
Type:string
Description:Full YouTube URL. Provide either video_url or video_id. Examples: https://www.youtube.com/watch?v=dQw4w9WgXcQ, https://youtu.be/dQw4w9WgXcQ
video_id
Type:string
Description:YouTube video ID (11 chars). Provide either video_id or video_url. If both provided, video_id takes precedence.
language
Type:string
Description:Transcript language code (e.g. 'en'). If omitted, provider default is used.
include_timestamps
Type:boolean
Description:If true, include timestamped segments with start time and duration.
include_raw_response
Type:boolean
Description:If true, include the raw provider response (debugging).
api_base_url
Type:string
Description:Override the provider base URL (advanced).
Default:https://www.youtube-transcript.io
api_key
Type:string
Description:Optional provider API key if required by your plan (sent as Authorization: Basic header). Can override YOUTUBE_TRANSCRIPT_API_KEY environment variable.

API Example

curl -X POST "https://api.agentpmt.com/products/purchase" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: your-api-key-here" \
  -H "X-Budget-Key: your-budget-key-here" \
  -d '{
    "product_id": "693389cb6f4ce728406d40be",
    "parameters": {
      "action": "fetch",
      "api_base_url": "https://www.youtube-transcript.io"
    }
  }'

Login to view your API and budget keys. The example above uses placeholder values. Sign in to see personalized code with your actual credentials.

About The Developer

Apoth3osis logo

Apoth3osis

13 stars

Joined Agent Payment: August 14, 2025

We build tools that enable AI agents to excel in the mathematical realm.

Our small team develops experimental and unique solutions in the AI arena, with a strong focus on modular computing for agentic applications and custom model deployment. We have handled projects for a variety of applications across many sectors, from algorithmic trading and financial analysis, to molecular simulations and predictions, to habitat and biodiversity monitoring and wildlife conservation.

Youtube Transcript Fetcher by Apoth3osis | AgentPMT