YouTube Search Ranking, United States (English, Top 20 Blocks by Keyword)
omnial/youtube-search-results-page
Given a search keyword, returns the top of the YouTube search results for it as a United States search in English, in ranked order: each entry's type and position, and for videos the title, video ID, channel name and channel ID, view count, length in seconds and how long ago it was published, as the page shows it. A channel among the results comes with its name and channel ID. Descriptions, thumbnails and links are not returned.
Price
Up to $0.00273 per call; you pay what the call used
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.
Data source
Data from YouTube.
Use it
Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.
Connect once and your AI can find and run this tool, and any other it needs.
For developers: the calls your assistant makes
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/youtube-search-results-page" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/youtube-search-results-page" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/youtube-search-results-page", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/youtube-search-results-page", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.00273 |
- Updated
- Oct 27, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"keyword",
"location_code",
"language_code",
"block_depth"
],
"properties": {
"keyword": {
"type": "string",
"maxLength": 700,
"minLength": 1,
"description": "The search query, as a person would type it into the YouTube search box."
},
"block_depth": {
"enum": [
20
],
"type": "integer",
"default": 20,
"description": "How many result blocks to read; only 20, the default, is offered."
},
"language_code": {
"enum": [
"en"
],
"type": "string",
"description": "The language of the results; only English is offered."
},
"location_code": {
"enum": [
2840
],
"type": "integer",
"description": "Where the search is made from; only 2840 (the United States) is offered."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "A channel entry's name."
},
"type": {
"type": "string",
"description": "The entry type: youtube_video or youtube_channel."
},
"title": {
"type": "string",
"description": "A video's title."
},
"video_id": {
"type": "string",
"description": "A video's YouTube video ID."
},
"channel_id": {
"type": "string",
"description": "The YouTube channel ID of the video's channel, or of a channel entry."
},
"rank_group": {
"type": "number",
"description": "The entry's position among entries of the same type."
},
"views_count": {
"type": "number",
"description": "A video's view count."
},
"channel_name": {
"type": "string",
"description": "The name of a video's channel."
},
"rank_absolute": {
"type": "number",
"description": "The entry's position in the results, counting every entry."
},
"publication_date": {
"type": "string",
"description": "How long ago a video was published, as relative text the page shows (in years or months), not a date."
},
"duration_time_seconds": {
"type": "number",
"description": "A video's length in seconds."
}
}
},
"description": "The search results, in ranked order."
},
"keyword": {
"type": "string",
"description": "The keyword searched for."
},
"datetime": {
"type": "string",
"description": "When the search ran, as 'YYYY-MM-DD hh:mm:ss +00:00' (UTC)."
},
"items_count": {
"type": "number",
"description": "How many entries came back."
}
}
}
}
},
"description": "The search result: one entry for the one search made."
}