/v1/search/top-result
Top result
Bester Treffer für die Query.
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/youtube-api/v1/search/top-result" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/youtube-api/v1/search/top-result", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/youtube-api/v1/search/top-result");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/youtube-api/v1/search/top-result",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"query": "mrbeast",
"result": {
"type": "video",
"title": "I Stranded 100 People In The Wilderness For $250,000",
"duration": "37:00",
"video_id": "6Zy5VLcEbZc",
"thumbnail": "https://i.ytimg.com/vi/6Zy5VLcEbZc/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDjXGQvpaoEr8q2zGy3Ulz-w0aV1w",
"watch_url": "https://www.youtube.com/watch?v=6Zy5VLcEbZc",
"view_count": "51873537",
"channel_url": "https://www.youtube.com/@MrBeast",
"channel_name": "MrBeast",
"published_time": "1 day ago",
"view_count_text": "51,873,537 views"
}
},
"meta": {
"timestamp": "2026-05-04T13:59:33.723Z",
"request_id": "97a12ce8-6000-4b8a-9b78-5359663851c4"
},
"status": "ok",
"message": "Top result retrieved successfully",
"success": true
}