Overview
VidNavigator supports two distinct search workflows: global platform search discovers videos on YouTube or TikTok, while semantic (vector) search finds relevant information in already indexed YouTube channel content and uploaded files.Prerequisites
- A valid VidNavigator API key.
- The Python or JavaScript SDK installed in your project.
Billing
Billing depends on which search you run:- Semantic search over indexed content consumes one
search_requestper call. This includes indexed YouTube channel search and file search (/search/file); file search can also billanalysis_requestif the AI analysis pass runs. 1 credit covers 1,000 semantic searches. - Global YouTube search (
/youtube/search) does not billsearch_request. It bills oneresidential_requestper candidate video analyzed, plus a single consolidatedanalysis_request(ceil(total_tokens / 15000)). See Search YouTube. - TikTok keyword search (
/tiktok/search) does not billsearch_request; it bills per residential page fetched. See TikTok Search.
Searching Videos
Searching Across YouTube
This example demonstrates how to search for videos on YouTube that match a specific query, via the/youtube/search endpoint.
Using the Python SDK
Using the JavaScript SDK
Searching Your Uploaded Files
This example demonstrates how to search across the files you have uploaded to VidNavigator. Each result includesnamespace_ids and namespaces showing which namespaces the file belongs to.
Using the Python SDK
Using the JavaScript SDK
Filtering File Search by Namespace
You can restrict search to specific namespaces by passingnamespace_ids. If omitted, all namespaces are searched.

