Zum Inhalt springen
GET /v1/search

Search videos by keyword, sorted by engagement

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/niconico-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/niconico-api/v1/search" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/niconico-api/v1/search", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/niconico-api/v1/search");
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/niconico-api/v1/search",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Niconico videos matching a keyword, sorted by views (views, comments, mylists, likes or new) — each with its view count, scrolling-comment count, mylist (bookmark) count and likes. Pass q (required), sort (default views), in=description to search descriptions instead of titles, and limit (1-50). Live, cached ~60s.",
        "sort": "views",
        "count": 20,
        "query": "VOCALOID",
        "source": "Niconico Snapshot Search API (snapshot.search.nicovideo.jp), keyless",
        "videos": [
            {
                "likes": 13155,
                "title": "【VOCALOID 原創】ECHO【Gumi English】",
                "views": 9092876,
                "mylists": 95270,
                "user_id": 19241380,
                "comments": 94176,
                "uploaded": "2014-10-08T13:39:07+09:00",
                "video_url": "https://www.nicovideo.jp/watch/sm24643818",
                "channel_id": null,
                "content_id": "sm24643818",
                "length_seconds": 244
            },
            {
                "likes": 13413,
                "title": "VOCALOID2 初音ミクに「Ievan Polkka」を歌わせてみた",
                "views": 6695250,
                "mylists": 126893,
                "user_id": 85430,
                "comments": 227356,
                "uploaded": "2007-09-04T12:55:53+09:00",
                "video_url": "https://www.nicovideo.jp/watch/sm982882",
                "channel_id": null,
                "content_id": "sm982882",
                "length_seconds": 146
            },
            {
                "likes": 1390,
                "title": "VOCALOIDでニコニコ動画流星群【完成版】",
                "views": 2137595,
                "mylists": 63844,
                "user_id": 1353089,
                "comments": 309999,
                "uploaded": "2008-08-31T00:08:12+09:00",
                "video_url": "https://www.nicovideo.jp/watch/sm4468648",
                "channel_id": null,
                "content_id": "sm4468648",
                "length_seconds": 836
            },
            {
                "likes": 1831,
                "title": "【VOCALOIDミュージカル】Alice in Musicland【オリジナル曲】 ",
                "views": 2131340,
                "mylists": 102538,
                "user_id": 308936,
                "comments": 163397,
                "uploaded": "2011-07-24T20:20:51+09:00",
                "video_url": "https://www.nicovideo.jp/watch/sm15108950",
                "channel_id": null,
                "content_id": "sm15108950",
                "length_seconds": 718
            },
            {
                "likes": 368,
                "title": "島風&金剛にハッピーシンセサイザ歌わせてみた【人力VOCALOID&艦これ】",
                "views": 1617162,
                "mylists": 38638,
                "user_id": 21073301,
                "comments": 9715,
                "uploaded": "2013-12-06T21:00:00+09:00",
                "video_url": "https://www.nicovideo.jp/watch/sm22400980",
                "channel_id": null,
       
…