keyword
string
required
Search phrase, 1–200 characters.
Global YouTube video search with optional country and language bias: up to 50 results per call.
Send a keyword and get back matching videos by relevance, optionally biased to a region and language. Returns ids and snippets only. Feed an id into Video Detail or Video Transcript, or use Search Result to get those in one call. Priced at $0.01 because search burns more YouTube quota. Ideal for trend research, topic discovery and localised content tools.
/api/v1/search/videos
$0.01 / request
Use your Tubefield API key instantly, or inspect the sample response first.
curl -X POST https://tubefield.com/api/v1/search/videos \
-H "Content-Type: application/json" \
-H "X-API-Key: $TUBEFIELD_API_KEY" \
-d '{"country": "DE", "keyword": "bash scripting", "language": "de", "limit": 10}'
Sample response
{
"keyword": "bash scripting",
"results": [
{
"channel": "Beispielkanal",
"published_at": "2026-03-20T12:00:00Z",
"title": "Bash Scripting Tutorial f\u00fcr Anf\u00e4nger",
"video_id": "abc123def45"
}
]
}
Run a real /api/v1/search/videos request. No key? We show the real sample result so you can still inspect the shape.
Endpoint
POST /api/v1/search/videos
X-API-Key
$0.01 / request
Leave empty to inspect the response shape without spending API balance.
Sample mode: explore the real response shape for free. Add a key to run a live request.
Response
POST /api/v1/search/videos
{
"keyword": "bash scripting",
"results": [
{
"channel": "Beispielkanal",
"published_at": "2026-03-20T12:00:00Z",
"title": "Bash Scripting Tutorial f\u00fcr Anf\u00e4nger",
"video_id": "abc123def45"
}
]
}
The full contract for /api/v1/search/videos: what to send and what comes back.
keyword
string
required
Search phrase, 1–200 characters.
country
string
optional
ISO 3166-1 alpha-2 region code, e.g. 'DE'.
language
string
optional
ISO 639-1 relevance language, e.g. 'de'.
limit
integer
optional
Max results to return, 1–50 (the API maximum; search is a single page, not paged). Default 10.
| Field | Type | Description |
|---|---|---|
keyword |
string | The searched keyword, echoed back. |
results |
object[] | Matching videos by relevance. Empty array for a completed search with no matches. |
results[].video_id |
string | YouTube video id. |
results[].title |
string | Video title. |
results[].channel |
string | null | Channel title. |
results[].published_at |
string | null | Publish timestamp (ISO 8601). |
Copy, paste, swap in your API key.
curl -X POST https://tubefield.com/api/v1/search/videos \
-H "Content-Type: application/json" \
-H "X-API-Key: " \
-d '{"country": "DE", "keyword": "bash scripting", "language": "de", "limit": 10}'
Common ways Video Search ends up in production.
Topic and trend discovery dashboards.
Localised content research per market.
Seeding video lists for analysis pipelines.
The same predictable contract on every endpoint.
200 |
Success. The lookup completed and was charged, even if the response is empty. |
401 |
Missing or unknown API key. |
402 |
Not enough balance on the account. |
422 |
Invalid request body (wrong shape or types). |
429 |
Rate limit exceeded: max 10 requests per second per API key. |
Explore the rest of the YouTube API.
Video Detail
/api/v1/video/detail
Video Comments
/api/v1/video/comments
Video Transcript
/api/v1/video/transcript
Channel Detail
/api/v1/channel/detail
Channel Videos
/api/v1/channel/videos
Channel Playlists
/api/v1/channel/playlists
Channel Lookup
/api/v1/channel/lookup
Playlist Detail
/api/v1/playlist/detail
Playlist Videos
/api/v1/playlist/videos
Search Result (SERP)
/api/v1/search/result
Account Balance
/api/v1/account/balance
New accounts start with a free API balance. Paid balance never expires, so it can sit until your workflows need it.
$0.50 free
$0.50 free balance to start. About 150 standard requests. Get an API key in seconds with no credit card.
$10 one-time
Adds $10 to your API balance for steady production traffic and early automated jobs.
$100 one-time
$130 spendable balance, including a $30 bonus. The sweet spot for production workloads.
Start with a free key and about 150 free requests, on REST, MCP, or both.