YouTube search results
crawl4ai.youtube.search.videosThe videos YouTube finds for a query: title, link, video id, channel, views, when it was published (as YouTube says it, "3 years ago"), length and a short description. `limit` caps the rows (at most 20). A run takes about a second: YouTube's own search answer, plus one more call when it holds fewer videos than `limit`. Columns: title, url, video_id, channel, views, published, length, description.
- Price
- $0.0009/successZum Anbieterpreis
- Success rate
- 100 %Last 30 days · 5.449 calls
- Latency p50
- 1.5 sp95 3.4 s
- Last verified
- 11.10.2026Verified working
POSThttps://toolswitch.dev/v1/tools/crawl4ai.youtube.search.videosPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameter
Dieses Tool hat keine Parameter. Siehe Anbieterdokumentation ↗ Provider docs
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.youtube.search.videos' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"query":"rust programming"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/crawl4ai.youtube.search.videos",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"query\":\"rust programming\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/crawl4ai.youtube.search.videos", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"query\":\"rust programming\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.0009/success einschließlich Servicegebühr abgerechnet.