Skip to main content

LlamaIndex Readers Integration: TranscriptFetch

Transcripts of YouTube, TikTok and Instagram videos as LlamaIndex Documents, from a single link to whole channels, playlists and searches, via TranscriptFetch. With chunks=True the API splits each transcript into embedding-sized pieces with a link to the moment each one starts, so answers can cite the exact second.

pip install llama-index-readers-transcriptfetch
export TRANSCRIPTFETCH_API_KEY="tf_live_..."   # free key: https://transcriptfetch.com

Usage

from llama_index.readers.transcriptfetch import TranscriptFetchReader

reader = TranscriptFetchReader()
docs = reader.load_data(["https://www.youtube.com/watch?v=aircAruvnKk"])

A whole channel, chunked, into an index:

from llama_index.core import VectorStoreIndex

reader = TranscriptFetchReader(chunks=True)
docs = reader.load_data(channel="@3blue1brown", max_videos=20)

index = VectorStoreIndex.from_documents(docs)
response = index.as_query_engine().query("What does a neuron hold?")
for node in response.source_nodes:
    print(node.metadata["source"])  # https://www.youtube.com/watch?v=...&t=4s

Each chunk Document carries source (a link to that moment), video_url, chunk_index, start, end, tokens, title, channel and platform. Links, IDs and timings are kept out of the embedded text.

Sources

load_data() takes exactly one: videos (a URL or ID, or a list: YouTube, TikTok, Instagram, or a direct audio or video file URL), channel (a YouTube @handle, URL or ID, or a TikTok or Instagram profile URL), playlist, or search (YouTube unless search_platform="tiktok" or "instagram"). Listings are capped at max_videos (default 25). lazy_load_data() streams instead.

Options

Set on the reader: mode ("auto" transcribes the audio of videos without captions; "captions" skips them and costs nothing), chunks, chunk_tokens (100 to 2000, default 500), chunk_overlap (0 to 200, default 50), wait_for_audio, audio_timeout, continue_on_failure, api_key, base_url.

Billing

A transcript or a listing page costs 1 credit, audio transcription 1 credit per started 5 minutes of audio, and failed requests are free. Every account gets 50 free credits a month, no card needed.

Metadata

Release files for llama-index-readers-transcriptfetch 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-readers-transcriptfetch 0.1.0
File Size Uploaded Provenance
llama_index_readers_transcriptfetch-0.1.0.tar.gz 8.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-readers-transcriptfetch 0.1.0
File Interpreter ABI Platform
llama_index_readers_transcriptfetch-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.4 kB

Release files / llama_index_readers_transcriptfetch-0.1.0.tar.gz

Download URL llama_index_readers_transcriptfetch-0.1.0.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7f373728bde501524accfb88c80c9febf4c7f0354c63c79cf9d4d8c2163ac365
BLAKE2b-256 checksum
How to use checksums
d07fbb3c0579c56cd29e1d7d2e7404228517d7209d687a2d575ac175cb3a8791
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / llama_index_readers_transcriptfetch-0.1.0-py3-none-any.whl

Download URL llama_index_readers_transcriptfetch-0.1.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca708fec1da71deaa5cf087a7d4085bcefb756a9b3f7ba25d3165d765e3bc3fd
BLAKE2b-256 checksum
How to use checksums
3222ad3b046b9fdeebd67e43d481d8b778d3993fc905f1968a0d79818466b421
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for llama-index-readers-transcriptfetch 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for llama_index_readers_transcriptfetch-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page