keyword
string
required
Search phrase, 1–200 characters.
One call returns the top videos for a keyword, each enriched with full detail and transcript: 1–10 results.
Send a keyword and a result count (1–10). For each match you get its video detail and transcript in a single response: a ready-made SERP, saving you the follow-up Video Detail and Video Transcript calls. Billed as the search plus a detail and a transcript per result, and only for the results actually returned.
/api/v1/search/result
$0.01 search + $0.003 detail + $0.003 transcript
Use your Tubefield API key instantly, or inspect the sample response first.
curl -X POST https://tubefield.com/api/v1/search/result \
-H "Content-Type: application/json" \
-H "X-API-Key: $TUBEFIELD_API_KEY" \
-d '{"count": 3, "keyword": "bash scripting"}'
Sample response
{
"keyword": "bash scripting",
"results": [
{
"detail": {
"channel": "Example Channel",
"channel_id": "UCabc123def456ghi789jkl",
"comments": 642,
"duration": "PT12M30S",
"likes": 15300,
"published_at": "2026-03-20T12:00:00Z",
"tags": [
"bash",
"scripting",
"linux"
],
"title": "Bash Scripting Tutorial for Beginners",
"video_id": "abc123def45",
"views": 482000
},
"transcript": {
"available": true,
"target": "abc123def45",
"transcript": "00:00:00 In this tutorial we cover bash scripting\n00:00:05 starting with variables"
},
"video_id": "abc123def45"
}
]
}
Run a real /api/v1/search/result request. No key? We show the real sample result so you can still inspect the shape.
Endpoint
POST /api/v1/search/result
X-API-Key
$0.01 search + $0.003 detail + $0.003 transcript
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/result
{
"keyword": "bash scripting",
"results": [
{
"detail": {
"channel": "Example Channel",
"channel_id": "UCabc123def456ghi789jkl",
"comments": 642,
"duration": "PT12M30S",
"likes": 15300,
"published_at": "2026-03-20T12:00:00Z",
"tags": [
"bash",
"scripting",
"linux"
],
"title": "Bash Scripting Tutorial for Beginners",
"video_id": "abc123def45",
"views": 482000
},
"transcript": {
"available": true,
"target": "abc123def45",
"transcript": "00:00:00 In this tutorial we cover bash scripting\n00:00:05 starting with variables"
},
"video_id": "abc123def45"
}
]
}
The full contract for /api/v1/search/result: what to send and what comes back.
keyword
string
required
Search phrase, 1–200 characters.
count
integer
optional
Number of enriched results, 1–10. Default 1.
country
string
optional
ISO 3166-1 alpha-2 region code, e.g. 'DE'.
language
string
optional
ISO 639-1 relevance language, e.g. 'de'.
| Field | Type | Description |
|---|---|---|
keyword |
string | The searched keyword, echoed back. |
results |
object[] | Enriched matches by relevance. Can be fewer than `count` (or empty) when the keyword has few matches. |
results[].video_id |
string | YouTube video id. |
results[].detail |
object | null | Full video detail (same shape as /video/detail), or null when the id doesn't resolve. |
results[].transcript |
object | Transcript payload (same shape as /video/transcript): target, available, transcript. |
Copy, paste, swap in your API key.
curl -X POST https://tubefield.com/api/v1/search/result \
-H "Content-Type: application/json" \
-H "X-API-Key: " \
-d '{"count": 3, "keyword": "bash scripting"}'
Common ways Search Result (SERP) ends up in production.
Building keyword-to-content research dashboards.
Feeding ranked video sets with transcripts into LLM pipelines.
One-call competitive SERP analysis for a topic.
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
Video Search
/api/v1/search/videos
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.