Niconico Video API Documentation

GET   /api/v1/search?engine=niconico_video

The Niconico Video API returns the public details of one Niconico video: its title, description, length, upload time, view, comment, mylist and like counts, tags, genre, thumbnail, payment flags, and whether the embedded player is allowed. It also returns the user or channel that uploaded it. Pass a video id such as sm9, a thread id, or a watch link.

When Niconico provides details for a Japan-only video, the response includes geo_restriction. Videos Niconico refuses outside Japan, as well as missing, deleted or private videos, return an error instead of video. Tags and counts cover every language, not only the ones the watch page shows to a visitor's browser language.

API Parameters

Search Query

  • Name
    video_id
    Required
    Required
    Description

    The Niconico video to look up. Use the id from its watch page URL, https://www.nicovideo.jp/watch/video_id, such as sm9 or so38016254, with its sm, so, nm, nl or ss prefix. A 10-digit thread id such as 1173108780 also works, and so do full links: nicovideo.jp/watch/... on the www, sp or embed subdomain, nicovideo.jp/shorts/... and nico.ms/.... Up to 2,048 characters.

Engine

  • Name
    engine
    Required
    Required
    Description

    Parameter defines an engine that will be used to retrieve real-time data. It must be set to niconico_video.

API key

  • Name
    api_key
    Required
    Required
    Description

    The api_key authenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).

Zero Data Retention

  • Name
    zero_retention
    Enterprise Only
    Enterprise Only
    Required
    Optional
    Description

    Set this parameter to true to disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.

API Examples

Full Response

Full Response
GET
https://www.searchapi.io/api/v1/search?engine=niconico_video&video_id=sm9
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "niconico_video",
  "video_id": "sm9"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_xHw2DSsl0D2HNSysA4CIPMC0",
    "status": "Success",
    "created_at": "2026-11-26T12:07:21Z",
    "request_time_taken": 1.63,
    "parsing_time_taken": 0.0,
    "total_time_taken": 1.63,
    "request_url": "https://www.nicovideo.jp/watch/sm9",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_xHw2DSsl0D2HNSysA4CIPMC0.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_xHw2DSsl0D2HNSysA4CIPMC0"
  },
  "search_parameters": {
    "engine": "niconico_video",
    "video_id": "sm9"
  },
  "video": {
    "id": "sm9",
    "link": "https://www.nicovideo.jp/watch/sm9",
    "title": "新・豪血寺一族 -煩悩解放 - レッツゴー!陰陽師",
    "description": "レッツゴー!陰陽師(フルコーラスバージョン)",
    "length_seconds": 320,
    "iso_date": "2007-03-05T15:33:00Z",
    "views": 23142724,
    "comments": 5704992,
    "mylists": 183280,
    "likes": 46519,
    "thumbnail": "https://nicovideo.cdn.nimg.jp/thumbnails/9/9",
    "tags": [
      {
        "name": "陰陽師",
        "is_locked": true
      },
      "..."
    ],
    "billing_type": "free",
    "watchable_by": "all",
    "is_embeddable": true
  },
  "channel": {
    "type": "user",
    "id": "4",
    "name": "中の",
    "link": "https://www.nicovideo.jp/user/4"
  }
}
Japan-only Channel Video from a Watch Link
GET
https://www.searchapi.io/api/v1/search?engine=niconico_video&video_id=https%3A%2F%2Fwww.nicovideo.jp%2Fwatch%2Fso44275623
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "niconico_video",
  "video_id": "https://www.nicovideo.jp/watch/so44275623"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_kMEzjIsYGqsaTfW62s5nOK0B",
    "status": "Success",
    "created_at": "2026-11-26T12:07:23Z",
    "request_time_taken": 1.13,
    "parsing_time_taken": 0.0,
    "total_time_taken": 1.13,
    "request_url": "https://www.nicovideo.jp/watch/so44275623",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_kMEzjIsYGqsaTfW62s5nOK0B.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_kMEzjIsYGqsaTfW62s5nOK0B"
  },
  "search_parameters": {
    "engine": "niconico_video",
    "video_id": "so44275623"
  },
  "video": {
    "id": "so44275623",
    "link": "https://www.nicovideo.jp/watch/so44275623",
    "title": "最強王図鑑 ~The Ultimate Battles~ 第44話 【最強王トーナメント】アフリカゾウ VS ライオン",
    "description": "最強of最強の頂上決戦「最強王トーナメント」2回戦第2試合のバトルフィールドは、切り立った岩壁がゴツゴツした荒れ果てた岩場。この超危険なステージで最強の座をかけて戦うのは、怒りの破壊神・アフリカゾウ VS 誇り高き百獣の王・ライオン!トーナメントを勝ち進むのはどっちだ~!?モ~~~~スト、ファイッ!\n\nMr.モースト:川原慶久\n\n原作:Gakken 「異種最強王図鑑」/総監修:Gakken 「最強王図鑑」編集部/目黒哲也/総監督:湯山邦彦/監督:岸本真太郎/シリーズ構成:佐藤慎司/キャラクターデザイン:今井トゥーンズ/音響監督:小泉紀介/音楽:上町裕介/アニメーション制作:OLM Digital/原作協力:實吉達郎/なんばきび/ライブ\n\n©Gakken/Sai-Kyo-Oh/TX\n\nso44250250←前話|次話→so44299816 第一話→so43236454",
    "length_seconds": 285,
    "iso_date": "2024-11-01T23:00:00Z",
    "views": 128,
    "comments": 2,
    "mylists": 0,
    "likes": 1,
    "thumbnail": "https://nicovideo.cdn.nimg.jp/thumbnails/44275623/44275623.31827239.L",
    "category": "アニメ",
    "category_id": "anime",
    "tags": [
      {
        "name": "アニメ",
        "is_locked": true
      },
      "..."
    ],
    "billing_type": "member_only",
    "watchable_by": "member",
    "is_members_only": true,
    "is_login_required": true,
    "is_embeddable": false,
    "geo_restriction": {
      "mode": "allow",
      "countries": [
        "JP"
      ]
    }
  },
  "channel": {
    "type": "channel",
    "id": "ch2632720",
    "name": "dアニメストア ニコニコ支店",
    "link": "https://ch.nicovideo.jp/channel/ch2632720",
    "thumbnail": "https://secure-dcdn.cdn.nimg.jp/comch/channel-icon/128x128/ch2632720.jpg?1769871645",
    "is_official_anime": true
  }
}

Pay-per-view Video

Pay-per-view Video
GET
https://www.searchapi.io/api/v1/search?engine=niconico_video&video_id=so46863284
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "niconico_video",
  "video_id": "so46863284"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_wTuiHcVNV8EFp6CFkAhQbJRC",
    "status": "Success",
    "created_at": "2026-11-26T12:07:24Z",
    "request_time_taken": 1.3,
    "parsing_time_taken": 0.0,
    "total_time_taken": 1.3,
    "request_url": "https://www.nicovideo.jp/watch/so46863284",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_wTuiHcVNV8EFp6CFkAhQbJRC.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_wTuiHcVNV8EFp6CFkAhQbJRC"
  },
  "search_parameters": {
    "engine": "niconico_video",
    "video_id": "so46863284"
  },
  "video": {
    "id": "so46863284",
    "link": "https://www.nicovideo.jp/watch/so46863284",
    "title": "【超縁結びプラン限定動画】縁結びのゆかり様 #11",
    "description": "声優・天音ゆかりさんが導く\n不思議な生放送・縁結びのゆかり様、始まります。\nこちらは超縁結びプランの皆様がご視聴いただける特典動画です。\n\n公式X:https://x.com/yukarisama_en\n番組の感想ややってほしいことなど[#ゆかむすび]でポストしてくださいね!\n\n※ 会員限定コンテンツは、超縁結びプラン会員様専用の特典のため、外部への流出を禁止しています。\n※ Access to Members Only content is limited to Super Enmusubi Plan holders only and sharing to others is strictly prohibited.\n※ 회원한정 콘텐츠는 초엔무스비 플랜 회원을 위한 자료로 외부로의 유출을 금지하고 있습니다.\n※ 会员限定内容是为 超缘结计划 Plan会员准备的专属资料,禁止外泄。",
    "length_seconds": 975,
    "iso_date": "2026-10-27T09:00:00Z",
    "views": 251,
    "comments": 12,
    "mylists": 1,
    "likes": 14,
    "thumbnail": "https://nicovideo.cdn.nimg.jp/thumbnails/46863284/46863284.85828820.L",
    "category": "その他",
    "category_id": "other",
    "billing_type": "custom",
    "watchable_by": "purchaser",
    "is_pay_per_view": true,
    "is_login_required": true,
    "is_embeddable": true
  }
}
Short from a Shorts Link
GET
https://www.searchapi.io/api/v1/search?engine=niconico_video&video_id=https%3A%2F%2Fwww.nicovideo.jp%2Fshorts%2Fss46441082
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "niconico_video",
  "video_id": "https://www.nicovideo.jp/shorts/ss46441082"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_oOgdBjWiI3HjPNbr7fHDTh7h",
    "status": "Success",
    "created_at": "2026-11-26T12:23:51Z",
    "request_time_taken": 1.47,
    "parsing_time_taken": 0.0,
    "total_time_taken": 1.47,
    "request_url": "https://www.nicovideo.jp/watch/ss46441082",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_oOgdBjWiI3HjPNbr7fHDTh7h.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_oOgdBjWiI3HjPNbr7fHDTh7h"
  },
  "search_parameters": {
    "engine": "niconico_video",
    "video_id": "ss46441082"
  },
  "video": {
    "id": "ss46441082",
    "link": "https://www.nicovideo.jp/watch/ss46441082",
    "title": "『超かぐや姫!』WEB予告 < アクション編 >",
    "description": "『超かぐや姫!』大ヒット上映中!\n🐰公開劇場一覧:https://www.cho-kaguyahime.com/special/detail.html?id=633\n Netflixにて世界独占配信中\n🦊ご視聴はこちら:https://www.netflix.com/jp/title/81756595\n\n作品関連楽曲が各種音楽サービスにて配信中\n💿アルバム「超かぐや姫!」:https://linkco.re/cyZr0VFS\n💿『超かぐや姫!』オリジナル・サウンドトラック:https://lnk.to/DKo3Em\n💿Ex-Otogibanashi:https://linkco.re/VqsVzyeN\n💿CPK! Remix:https://linkco.re/PGh2GcGC\n\n🎤インスト&歌詞がpiaproにて配布中\nhttps://piapro.jp/Cho_KaguyaHime\n\n💰オフィシャルストア\nhttps://cho-kaguyahime-officialstore.bookstores.jp/\n\n🐙最新情報を発信中\n公式サイト:https://www.cho-kaguyahime.com\n公式X:https://x.com/Cho_KaguyaHime\n公式YouTube:https://www.youtube.com/@Cho-KaguyaHime-PR\n公式TikTok:https://www.tiktok.com/@cho_kaguyahime_pr\n公式Instagram:https://www.instagram.com/cho_kaguyahime_pr/\n公式LINE:https://line.me/R/ti/p/@468weicp\n\n日本最古の物語『かぐや姫』 × 豪華ボカロP\n新時代の音楽アニメーションプロジェクト、開幕!\n\n ■キャスト\nかぐや:夏吉ゆうこ\n酒寄彩葉:永瀬アンナ\n月見ヤチヨ:早見沙織\n\n■劇中歌楽曲提供 \nryo (supercell)/yuigot/Aqu3ra/HoneyWorks/40mP/kz(livetune)\n\n■スタッフ\n監督:山下清悟\nキャラクターデザイン:へちま/永江彰浩\n製作:コロリド・ツインエンジンパートナーズ\nアニメーション制作:スタジオコロリド/スタジオクロマト\n\n©コロリド・ツインエンジンパートナーズ",
    "length_seconds": 15,
    "iso_date": "2026-06-16T09:00:00Z",
    "views": 7895,
    "comments": 25,
    "mylists": 3,
    "likes": 316,
    "thumbnail": "https://nicovideo.cdn.nimg.jp/thumbnails/46441082/46441082.824751.L",
    "is_short": true,
    "base_video_id": "sm46097998",
    "category": "アニメ",
    "category_id": "anime",
    "tags": [
      {
        "name": "超かぐや姫!",
        "is_locked": true
      },
      "..."
    ],
    "billing_type": "free",
    "watchable_by": "all",
    "is_embeddable": true
  },
  "channel": {
    "type": "user",
    "id": "141907929",
    "name": "『超かぐや姫!』公式@復活上映中",
    "link": "https://www.nicovideo.jp/user/141907929",
    "thumbnail": "https://img.nicoprofile.nimg.jp/usericon/14190/141907929.jpg?1762347787"
  }
}

Deleted Video

Deleted Video
GET
https://www.searchapi.io/api/v1/search?engine=niconico_video&video_id=sm7
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "niconico_video",
  "video_id": "sm7"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_BV6vf2qrKU8R46ZIXIPOsicX",
    "status": "Success",
    "created_at": "2026-11-26T12:07:29Z",
    "request_time_taken": 1.17,
    "parsing_time_taken": 0.0,
    "total_time_taken": 1.17,
    "request_url": "https://www.nicovideo.jp/watch/sm7",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_BV6vf2qrKU8R46ZIXIPOsicX.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_BV6vf2qrKU8R46ZIXIPOsicX"
  },
  "search_parameters": {
    "engine": "niconico_video",
    "video_id": "sm7"
  },
  "error": "This video has been deleted."
}