Skip to main content

LlamaIndex Readers Integration: Importly

pip install llama-index-readers-importly
export IMPORTLY_API_KEY=...   # https://www.importly.io/login?mode=signup&utm_source=llamaindex&utm_medium=package&utm_campaign=guerrilla-2026-11

ImportlyReader turns video and audio links into transcript Documents: YouTube, TikTok, X, Instagram, podcasts and 1,000+ other sites. Each Document carries the title, duration, URL and, when chunked, the start and end time of its part of the video.

It runs on the Importly API, so it keeps working once your app is deployed: from servers, serverless functions and agent sandboxes, where video sites usually block downloads. Free to try, no card required.

Usage

from llama_index.core import VectorStoreIndex
from llama_index.readers.importly import ImportlyReader

reader = ImportlyReader(transcript_format="chunks", chunk_size_seconds=60)
documents = reader.load_data(
    [
        "https://www.youtube.com/watch?v=jNQXAC9IVRw",
        "https://www.tiktok.com/@scout2015/video/6718335390845095173",
    ]
)
# async: documents = await reader.aload_data([...])

index = VectorStoreIndex.from_documents(documents)
response = index.as_query_engine().query("What does he say about the elephants?")
for node in response.source_nodes:
    print(node.metadata["title"], node.metadata["start_timestamp"])

Document metadata: url, title, duration, language, thumbnail, transcript_source, job_id, and for "chunks" / "segments" also chunk_index, start_seconds, end_seconds, start_timestamp, end_timestamp. Ids are stable (<url>#t=<start>), so re-loading a link updates the same nodes. Bookkeeping keys are excluded from what the LLM and the embedding model see.

Options

Option Default What it does
transcript_format "text" "text" (one Document per link), "chunks" (~chunk_size_seconds windows) or "segments"
chunk_size_seconds 120 Window length for "chunks"; segments are never split
language captions' default Two-letter code, e.g. "es"
provider None "importly" turns on speech-to-text for media without captions (billed per minute)
max_cost_dollars None Cap per link for speech-to-text
include_metadata True Adds title and thumbnail (one extra $0.003 call per link)
continue_on_failure False Log and skip failing links instead of raising
max_concurrency 4 Links processed at once in aload_data
api_key IMPORTLY_API_KEY Never serialized with the reader

Transcripts from captions cost $0.003 per link. Media without captions raises importly.TranscriptionProviderRequiredError with a price quote unless you set provider="importly".

Need the file or full metadata too? The same key works with the importly SDK.

Importly docs · Pricing · support@importly.io

MIT licensed.

Metadata

Release files for llama-index-readers-importly 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-importly 0.1.0
File Size Uploaded Provenance Actions
llama_index_readers_importly-0.1.0.tar.gz 6.0 kB With provenance Details for llama_index_readers_importly-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 13.3 kB

Release files / llama_index_readers_importly-0.1.0.tar.gz

Download URL llama_index_readers_importly-0.1.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
983f13c938b747437b32cffed4a549da258ab6cd6b2268a1630407d0adea151b
BLAKE2b-256 checksum
How to use checksums
79e6e272e9ad306107aba3069f83852ace838216d32630471d595003ef034d62
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 Nov 29, 2026.

Transparency log

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

Download URL llama_index_readers_importly-0.1.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b68ee39f09df745a8e8d3d3ee903ce0fb9470c38b380b4056cf68f85a4c8b90
BLAKE2b-256 checksum
How to use checksums
25510916ddb0a6cf3946398beac2c380341fddb3c004f320cf9c5c57b13018ac
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 Nov 29, 2026.

Transparency log

Security for llama-index-readers-importly 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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for llama_index_readers_importly-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 Nov 29, 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