Skip to main content

YouTube Search CLI — FlashData

Discover videos for a research shortlist. This command calls the youtube_search API and returns JSON for your shell script, data pipeline or agent tool runner. It does not invoke a language model.

The requested count is a ceiling, not a guaranteed result count. This CLI defaults to 10 requested results (maximum 20).

Install and run

Requires Python 3.10 or newer. uv installation provides uvx, which runs this package in an isolated environment.

  1. Create a FlashData account, obtain an API Key and fund Credits.
  2. Set FLASHDATA_API_KEY using your shell or secret manager. The CLI does not accept a key flag or persist credentials. Authentication and source documentation.
  3. Run this example after reviewing the input and cost:
uvx flashdata-youtube-search@0.1.0 --query 'RAG evaluation tutorials' --options-json '{"max_results": 5}' --output result.json

--output creates a new file with owner-only permissions where supported and refuses existing files before making a paid request. Without it, the full JSON response goes to stdout. Errors go to stderr. Exit 0 means the response was exported, 2 means local input/configuration failure, and 1 means request or output failure. For downloads, exit 0 can describe an unfinished job.

For repeated use, install uv tool install flashdata-youtube-search==0.1.0; the command name is flashdata-youtube-search. Alternatively use python -m pip install flashdata-youtube-search==0.1.0 in your virtual environment.

Inputs and output

Use --query for the primary input. Additional options use --options-json as a JSON object, with strict field/type/range validation. Source is fixed by this package. Google count and locale options remain omitted unless supplied.

Option Meaning
max_results Requested number of videos. Default: 10.
filters Source-specific option; see --schema. Default: null.

Run uvx flashdata-youtube-search@0.1.0 --schema to inspect all fields, nested filters, allowed values and defaults without a Key or an API call. --help and --version are also local-only.

The JSON output preserves the API result envelope and optional fields: results[].results: video search records; totalResults and query; usage.credits. Missing fields remain missing; empty results remain empty. No article text, translated captions, model conclusions, rights grants or keyword volumes are invented. Exact source contracts are documented here.

Fees and failure handling

This MIT-licensed CLI is free to install. FlashData API requests consume paid Credits; current pricing applies. Extended YouTube Search has a separate rate. Media delivery is billed by delivered volume, and your cloud-storage costs are separate. There is no automatic pagination, retry, polling, scheduled execution or model call.

Each HTTP request has a 120-second network timeout (15-second connect timeout) and a 20-MiB response limit. A timeout or failure may occur after a paid request has been accepted. Check Jobs in the FlashData console before resubmitting. HTTP 401 means check the Key; 402 means insufficient Credits; 429 means rate/quota limit. A partial output file is retained on failure. Do not retry a paid query just because output handling failed.

Input values and your API Key are sent to FlashData to perform the request. A completed download-result read may fetch a signed JSON object from the result origin returned by FlashData; the API Key is never sent to that object URL. Only process data appropriate for your output destination. Privacy policy.

Source and MIT license are included in the source distribution.

Source documentation · Pricing · Sign up

Metadata

Release files for flashdata-youtube-search 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 flashdata-youtube-search 0.1.0
File Size Uploaded
flashdata_youtube_search-0.1.0.tar.gz 12.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flashdata-youtube-search 0.1.0
File Interpreter ABI Platform
flashdata_youtube_search-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.4 kB

Release files / flashdata_youtube_search-0.1.0.tar.gz

Download URL flashdata_youtube_search-0.1.0.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f95753e0b037691e14dcf818afa3eed45ece03f33214d90aa8b52a4e3d310ee2
BLAKE2b-256 checksum
How to use checksums
e4ca895d4b5155112f725953c3b34b9184981d7467f82c11285e0d0b2e4d0259
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 18, 2026.

Transparency log

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

Download URL flashdata_youtube_search-0.1.0-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43f42b4d4d610e69cf5c5c1cfeb46d8abcb29d8ae2a4476f43a3345d4310b6ca
BLAKE2b-256 checksum
How to use checksums
0fda22611bc907faf66566b61e3c98331010e7a134e4590617d0171a446b73b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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