API Keys

ટ્રાન્સક્રિપ્ટ V2

V2 એક સુવ્યવસ્થિત, વપરાશકર્તા-માલિકીનું ટ્રાન્સક્રિપ્ટ મોડેલ છે. તે ઝડપી કૅશ હિટ અને એકસરખા રિસ્પોન્સને પ્રાથમિકતા આપે છે, અને તમે ભાષા ન માંગો ત્યાં સુધી કોઈ અણધાર્યો અનુવાદ કરતું નથી.

POSThttps://www.youtubetranscript.dev/api/v2/transcribe
POSThttps://www.youtubetranscript.dev/api/v2/batch
GEThttps://www.youtubetranscript.dev/api/v2/jobs/{job_id}
GEThttps://www.youtubetranscript.dev/api/v2/batch/{batch_id}
POSThttps://www.youtubetranscript.dev/api/v2/channels/resolve
GEThttps://www.youtubetranscript.dev/api/v2/channels/{channel_id}
GEThttps://www.youtubetranscript.dev/api/v2/channels/history

OpenAPI સ્પેસિફિકેશન

Postman, Insomnia માં ઇમ્પોર્ટ કરવા, ક્લાયન્ટ જનરેટ કરવા અથવા ChatGPT / Claude માં પેસ્ટ કરવા YAML ડાઉનલોડ કરો.

OpenAPI 3.0: V2 (ભલામણ કરેલ)

એક વીડિયો ટ્રાન્સક્રાઇબ કરો

એક સમયે એક વીડિયો માટે સૌથી ઝડપી રસ્તો. કૅપ્શન-આધારિત ટ્રાન્સક્રિપ્ટ થોડી સેકન્ડોમાં પાછા આવે છે; ASR એસિંક્રોનસ રીતે ચાલે છે અને /api/v2/jobs/{job_id} દ્વારા પોલ થાય છે.

Transcribe a single YouTube video. Returns immediately for caption-based videos; falls back to ASR (async) when allow_asr is true and captions are unavailable.

POST/api/v2/transcribe
પેરામીટર્સ
videostringઆવશ્યક

YouTube URL or 11-character video ID. Required unless upload_id is set.

upload_idstring

Transcribe an uploaded media file instead of a YouTube video (see /uploads). Forces the ASR path; webhook_url required. The upload id is returned as video_id in results.

languageISO 639-1

Preferred transcript language (e.g. en). If unavailable, captions in another language may be returned: transcript.language reports the actual language.

sourceauto | manual | asr

Preferred transcript source. Default: auto. Use asr for audio transcription (async, requires webhook_url).

allow_asrboolean

Fall back to ASR if captions fail. Required for ASR-only videos.

formatobject

{ timestamp, paragraphs, words }: include extra structure in the transcript.

webhook_urluri

When set, the response returns processing and the result is delivered to your URL. Required for ASR.

asr_optionsobject

Rich ASR config: language (+ codeSwitching, medicalMode, keyTerms), translateTo, speaker diarization (speakerLabels, speakerId + type/known values, multichannel, exact or min/max expected speakers), speech understanding (topics, summary, moderation, PII, profanity, sentiment), and formatting (punctuation, text formatting, filler words, custom date/phone/email patterns). Billable add-ons increase cost: preview with /transcribe/estimate. See the AsrOptions schema in the OpenAPI spec.

Dry-run credit estimate. Returns the ASR base cost plus any add-on surcharge for the requested asr_options without creating a job or charging credits.

POST/api/v2/transcribe/estimate
પેરામીટર્સ
videostringઆવશ્યક

YouTube URL or 11-character video ID.

sourceauto | manual | asr

Defaults to asr for cost preview.

asr_optionsobject

Same shape as /transcribe. Add-on charges are prorated by duration.

Poll a single transcription job. Use this for ASR jobs returned from /transcribe. Returns 202 while running and 200 when complete. Completed ASR jobs include asr_intelligence (summary, topics, sentiment, etc.) when those options were enabled.

GET/api/v2/jobs/{job_id}
પેરામીટર્સ
job_idpathઆવશ્યક

Identifier returned in the original transcribe response.

include_segmentsboolean

Include segment-level timestamps in the transcript payload.

include_paragraphsboolean

Include paragraph groupings.

include_wordsboolean

Include word-level timestamps (ASR only).

તમારું પોતાનું મીડિયા અપલોડ કરો

તમારી પોતાની ઓડિયો કે વીડિયો ફાઇલો ASR પાઇપલાઇન દ્વારા ટ્રાન્સક્રાઇબ કરો. ત્રણ સ્ટેપ: અપલોડ રજિસ્ટર કરો, bytes ને signed URL પર PUT કરો, finalize કરો: પછી upload_id સાથે /transcribe કૉલ કરો. પરિણામો તમારા webhook પર આવે છે અને કોઈપણ ASR જોબની જેમ પોલ થાય છે.

Register an audio/video file upload and get a signed URL. PUT the raw file bytes to signed_url (with the file's Content-Type), finalize via /uploads/{upload_id}/complete, then transcribe with upload_id on /transcribe. Max 2GB and 8 hours per file.

POST/api/v2/uploads
પેરામીટર્સ
filenamestringઆવશ્યક

Original filename. The extension is preserved for content sniffing.

mime_typestringઆવશ્યક

Must start with audio/ or video/ (e.g. audio/mpeg, video/mp4).

size_bytesintegerઆવશ્યક

File size in bytes. Max 2147483648 (2GB).

duration_secintegerઆવશ્યક

Media duration in seconds. Max 28800 (8 hours). Used for the ASR credit estimate.

Finalize an upload after the PUT to signed_url succeeds. Verifies the file exists in storage and marks it ready. The upload can then be transcribed by passing upload_id to /transcribe (source="asr", webhook_url required).

POST/api/v2/uploads/{upload_id}/complete
પેરામીટર્સ
upload_idpathઆવશ્યક

Upload id returned by POST /uploads.

બેચ ટ્રાન્સક્રિપ્શન

એક જ રિક્વેસ્ટમાં અનેક વીડિયો ટ્રાન્સક્રાઇબ કરો, પછી પોલ કરો અથવા webhook દ્વારા પરિણામો મેળવો.

Submit up to 3,000 videos in one request. Returns within 2 seconds; poll the returned poll_url or wait for the webhook.

POST/api/v2/batch
પેરામીટર્સ
video_idsstring[]આવશ્યક

Up to 3,000 IDs depending on plan. Free = 10, Basic = 500, Pro = 1,500, Business = 3,000.

languageISO 639-1

Preferred language for every video.

sourceauto | manual | asr

Preferred transcript source. Default: auto. source=asr requires webhook_url.

allow_asrboolean

Fall back to ASR when captions fail. webhook_url is required.

formatobject

{ timestamp, paragraphs, words }: applied to every result.

webhook_urluri

Delivers the completed batch payload. Required when allow_asr=true or source=asr.

asr_optionsobject

Rich ASR config applied to every video transcribed via ASR (same shape as /transcribe). Billable add-ons apply per video.

Check the status of a batch. Returns 202 while processing and 200 when results are ready. Stop polling once status is "completed", "partial", or "failed": finished batches never change, and re-fetching one more than 60 times in 24h returns 429 with a Retry-After header.

GET/api/v2/batch/{batch_id}
પેરામીટર્સ
batch_idpathઆવશ્યક

Batch identifier returned from POST /batch.

ટ્રાન્સક્રિપ્ટ અને જોબ

તમારા સેવ કરેલા ટ્રાન્સક્રિપ્ટની યાદી જુઓ, મેળવો, અનુવાદ કરો અને કાઢી નાખો, અને async જોબની યાદી જુઓ. બધા endpoints સમાન API-key ઑથ સ્વીકારે છે.

List your transcription jobs, newest first. Filter by status and paginate. Use the returned job_id with GET /api/v2/jobs/{job_id} to fetch a transcript.

GET/api/v2/jobs
પેરામીટર્સ
pagequery

Page number (default 1).

limitquery

Items per page (default 50, max 100).

statusquery

completed | processing | failed | requires_asr_confirmation.

List stored transcripts with search, status, language, and date filters. Metadata only (no full text) unless include_segments=true.

GET/api/v2/transcripts
પેરામીટર્સ
pagequery

Page number (default 1).

limitquery

Items per page (default 50, max 100).

searchquery

Match video id, title, or transcript text.

statusquery

Filter by status; omit for succeeded.

languagequery

Filter by language code.

date_fromquery

ISO date-time lower bound.

date_toquery

ISO date-time upper bound.

include_segmentsquery

Include segments in each item.

Fetch the best owned transcript for a video, including asr_intelligence (summary, topics, sentiment, etc.), plus summary and mind_map when generated.

GET/api/v2/transcripts/{video_id}
પેરામીટર્સ
video_idpathઆવશ્યક

YouTube 11-character video ID.

idquery

Specific transcript/job id.

languagequery

Preferred language version.

sourcequery

auto | manual | asr.

include_timestampsquery

Include segments (default true).

Translate an owned transcript into a target language using YouTube captions or the AI provider. Returns free if you already own the translation.

POST/api/v2/transcripts/{video_id}/translate
પેરામીટર્સ
video_idpathઆવશ્યક

YouTube 11-character video ID.

target_languageISO 639-1આવશ્યક

Language to translate into.

source_languageISO 639-1

Source transcript language to translate from.

providerai | youtube

Translation provider.

allow_ai_fallbackboolean

Fall back to AI when YouTube has no translation.

List the languages you already own for a video plus the YouTube translation targets available for it.

GET/api/v2/transcripts/{video_id}/languages
પેરામીટર્સ
video_idpathઆવશ્યક

YouTube 11-character video ID.

include_youtube_defaultquery

Include YouTube translation targets (default true).

Delete owned transcript(s) for a video. Optional language/source query params narrow the deletion; otherwise every language/source is removed. Also deletes bulk by id via POST /api/v2/transcripts/bulk-delete.

DELETE/api/v2/transcripts/{video_id}
પેરામીટર્સ
video_idpathઆવશ્યક

YouTube 11-character video ID.

languagequery

Only delete this language.

sourcequery

Only delete this source (auto | manual | asr).

પ્લેલિસ્ટ

પ્લેલિસ્ટને વીડિયો IDs માં ફેરવો, તેમને /api/v2/batch વડે ટ્રાન્સક્રાઇબ કરો, પછી પ્લેલિસ્ટ બેચ અને હિસ્ટ્રી તપાસો.

Resolve a YouTube playlist by URL or ID into its video list (metadata only). Pair the returned video_id values with /api/v2/batch to transcribe them.

POST/api/v2/playlists/resolveપેઇડ પ્લાન
પેરામીટર્સ
playlist_urlstring

Playlist URL. One of playlist_url or playlist_id is required.

playlist_idstring

Playlist ID (the list= value).

limitinteger

Max videos returned (1-100).

Fetch a playlist batch and per-video transcription job status. For overall batch progress, poll GET /api/v2/batch/{batch_id}.

GET/api/v2/playlists/{playlist_id}
પેરામીટર્સ
playlist_idpathઆવશ્યક

Batch ID returned from /playlists/resolve.

List recent playlist batches for the authenticated user.

GET/api/v2/playlists/history

ચેનલ

ચેનલ ટ્રાન્સક્રિપ્શન ફ્લો:1. POST /api/v2/channels/resolve: ચેનલના અપલોડ મેળવો (ફક્ત વીડિયો મેટાડેટા).2. POST /api/v2/batch: ટ્રાન્સક્રિપ્શન શરૂ કરવા પાછા મળેલા video_id મૂલ્યો મોકલો. કામ પૂરું થાય ત્યારે પરિણામો મેળવવા webhook_url વાપરો.3. GET /api/v2/batch/{batch_id}: એકંદર પ્રગતિ અને એકત્રિત પરિણામો માટે બેચને પોલ કરો.4. GET /api/v2/channels/{channel_id}: દરેક વીડિયોના જોબ સ્ટેટસ સાથે ચેનલ બેચ મેળવો; /channels/history અગાઉના ચેનલ બેચની યાદી આપે છે.

Fetch the uploads of a YouTube channel by URL, channel ID, or @handle. Returns video metadata only: pair the returned video_id values with /api/v2/batch to transcribe them.

POST/api/v2/channels/resolveપેઇડ પ્લાન
પેરામીટર્સ
channel_urlstringઆવશ્યક

YouTube channel URL, channel ID, or @handle. One of channel_url, channel_id, or handle must be provided. Handles are the public ID without the @ (for https://www.youtube.com/@jawed, the ID is jawed).

limitinteger

Maximum uploads returned. Defaults to the plan maximum.

Per-request cap: Basic 500 videos · Pro 1,500 videos · Business 3,000 videos. Monthly job cap: Basic 3 · Pro 8 · Business unlimited.

રેટ લિમિટ

Plan-based: Free 1 req/s · Basic 25 req/s · Pro 50 req/s · Business 100 req/s. Exceeding the limit returns 429 with a Retry-After header.

Fetch a channel batch and the per-video transcription job status. For overall batch status (counts + progress), poll GET /api/v2/batch/{batch_id} instead: use this endpoint when you also need each video's individual job state.

GET/api/v2/channels/{channel_id}
પેરામીટર્સ
channel_idpathઆવશ્યક

Batch ID returned from /channels/resolve.

List recent channel batches for the authenticated user.

GET/api/v2/channels/history
પેરામીટર્સ
limitquery

Max items (default 50, max 100).

ઇન્ટિગ્રેશન

સત્તાવાર SDKs, Claude અને Cursor માટે MCP સર્વર, એક કસ્ટમ GPT, અને Make તથા n8n માટે તૈયાર ટેમ્પલેટ્સ.

MCP serverClaude · Cursor
Repo

YouTube Transcript MCP સર્વરને Claude Desktop, Cursor અથવા કોઈપણ MCP-સુસંગત ક્લાયન્ટમાં ઉમેરો. તેનાથી વીડિયો ટ્રાન્સક્રાઇબ કરવા, હાલના ટ્રાન્સક્રિપ્ટ મેળવવા અને ઉપયોગ તપાસવાના ટૂલ્સ ઉમેરાય છે.

ઇન્સ્ટોલ અને કન્ફિગર કરો
claude mcp add --transport http youtubetranscript https://mcp.youtubetranscript.dev --header "x-api-token: YOUR_API_KEY"
Node SDKnpm
npm

ઉત્તમ TypeScript types, retries, pagination helpers અને webhook signature verification.

ઇન્સ્ટોલ કરો અને વાપરો
npm install youtube-transcript-api
Python SDKPyPI
PyPI

Sync + async ક્લાયન્ટ, type stubs, અને બેચ તથા webhook ફ્લો માટે helpers.

ઇન્સ્ટોલ કરો અને વાપરો
pip install youtubetranscriptdevapi

અમારા કસ્ટમ GPT ને ChatGPT માં ઉમેરો અને સામાન્ય ભાષામાં કોઈપણ YouTube વીડિયોનો સારાંશ, અવતરણ, અનુવાદ કે પ્રશ્નોત્તરી કરો. અંદરથી /api/v2/gpt/* પર આધારિત.

  • · OAuth સાઇન-ઇન: ચેટમાં API key ની જરૂર નથી
  • · કૅપ્શન ન હોય ત્યારે ASR ફૉલબેક
  • · ટાઇમસ્ટેમ્પ અને સ્ત્રોત લિંક સાથે અવતરણ
  • · દરેક એકાઉન્ટ પર મફત ટ્રાયલ
Make.com & n8nનો-કોડ
ટેમ્પલેટ્સ જુઓ

હાલના ઓટોમેશનમાં ટ્રાન્સક્રિપ્શન ઉમેરવા ટેમ્પલેટ ઇમ્પોર્ટ કરો (અથવા સ્નિપેટ કૉપિ કરો): Notion, Sheets, Slack, Airtable, Zapier જેવા ફ્લો.

Make.com મોડ્યુલ
Module: HTTP > Make a request
- URL: https://www.youtubetranscript.dev/api/v2/transcribe
- Method: POST
- Headers:
    Authorization: Bearer {{connection.api_key}}
    Content-Type: application/json
- Body type: Raw / JSON
- Request content:
    {
      "video": "{{1.video_url}}",
      "format": { "timestamp": true }
    }
n8n HTTP node
{
  "name": "Transcribe Video",
  "type": "n8n-nodes-base.httpRequest",
  "parameters": {
    "method": "POST",
    "url": "https://www.youtubetranscript.dev/api/v2/transcribe",
    "authentication": "genericCredentialType",
    "genericAuthType": "httpHeaderAuth",
    "sendBody": true,
    "specifyBody": "json",
    "jsonBody": "={ \"video\": $json.video_url }"
  }
}
Postman / OpenAPIએક ક્લિક
Postman કલેક્શન

OpenAPI સ્પેકને Postman, Insomnia અથવા OpenAPI 3 સપોર્ટ કરતા કોઈપણ ટૂલમાં ઇમ્પોર્ટ કરો.

એરર

એરર code અને message સાથેની JSON body પરત કરે છે. HTTP સ્ટેટસ શ્રેણી દર્શાવે છે.

HTTP સ્ટેટસએરર કોડવર્ણન
400invalid_requestInvalid JSON or missing required fields
401invalid_api_keyMissing or invalid API key
402payment_requiredInsufficient credits
404no_captionsNo captions available and ASR not used
429rate_limit_exceededToo many requests, check Retry-After
500internal_errorServer error, retry with backoff

રેટ લિમિટ અને ક્વોટા

સતત રિક્વેસ્ટ અને બેચ સાઇઝ માટે દરેક પ્લાનની મર્યાદા. મર્યાદા વટાવતાં Retry-After હેડર સાથે 429 પરત આવે છે.

પ્લાનરિક્વેસ્ટબેચ સાઇઝ
Free1 req/s10 videos
Basic25 req/s500 videos
Pro50 req/s1,500 videos
Business100 req/s3,000 videos

સપોર્ટ

લૉન્ચ કરવામાં મદદ જોઈએ છે? સંપર્ક કરો: અમે સામાન્ય રીતે થોડા કલાકોમાં જવાબ આપીએ છીએ.

API ડૉક્યુમેન્ટેશન - YouTube Transcript API