映
Niconico API
4 endpointsSocial & VideoJapansocial:read
Videos, keyword and tag search and user profiles from Niconico's public pages.
View as Markdown| GET | /niconico/video | One nicovideo.jp video: title, description, owner, counts, thumbnail and tags. |
| GET | /niconico/search | Search nicovideo.jp videos by keyword; 32 per page. |
| GET | /niconico/tagged | Videos of nicovideo.jp that carry a tag, 32 per page. |
| GET | /niconico/user | A nicovideo.jp user's public profile: name, description and avatar. |
video
GET
/v1/niconico/videoOne nicovideo.jp video: title, description, owner, counts, thumbnail and tags.
scope social:read1 unitcached 10 min
Parameters
idstring required | Video id such as sm9, or a nicovideo.jp watch URL. e.g. sm9 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
21 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
durationSeconds | integer (int64) |
id | string |
likeCount | integer (int64) |
mylistCount | integer (int64) |
publishedAt | string |
tags | string[] |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/niconico/video?id=sm9" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/niconico/video?id=sm9", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/niconico/video?id=sm9", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": { "avatarUrl": "https://…", "id": "abc123", "name": "…", "url": "https://…", "username": "…" }, "commentCount": 1280, "description": "…", "durationSeconds": 0, "id": "abc123", "likeCount": 1280, "mylistCount": 1280, "publishedAt": "2026-11-06T09:41:00Z", "tags": [ "…" ], "thumbnails": [ { "height": null, "url": "https://…", "width": null } ], "title": "…", "url": "https://…", "viewCount": 1280 }, "meta": { "cached": false, "endpoint": "video", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "niconico", "requestId": "req_2Xb9kQ…", "units": 1 } }
search
GET
/v1/niconico/searchSearch nicovideo.jp videos by keyword; 32 per page.
scope social:read1 unitcached 10 minpaginated
Parameters
querystring required | Keyword, such as 初音ミク. e.g. 初音ミク |
sortstring | Order of the results, best first (newest first for newest).popularnewestviewscommentsmylistsdefault popular |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
20 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
durationSeconds | integer (int64) |
id | string |
likeCount | integer (int64) |
mylistCount | integer (int64) |
publishedAt | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/niconico/search?query=%E5%88%9D%E9%9F%B3%E3%83%9F%E3%82%AF" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/niconico/search?query=%E5%88%9D%E9%9F%B3%E3%83%9F%E3%82%AF", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/niconico/search?query=%E5%88%9D%E9%9F%B3%E3%83%9F%E3%82%AF", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "https://…", "id": "abc123", "name": "…", "url": "https://…", "username": "…" }, "commentCount": 1280, "description": "…", "durationSeconds": 0, "id": "abc123", "likeCount": 1280, "mylistCount": 1280, "publishedAt": "2026-11-06T09:41:00Z", "thumbnails": [ { "height": null, "url": null, "width": null } ], "title": "…", "url": "https://…", "viewCount": 1280 } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "niconico", "requestId": "req_2Xb9kQ…", "units": 1 } }
tagged
GET
/v1/niconico/taggedVideos of nicovideo.jp that carry a tag, 32 per page.
scope social:read1 unitcached 10 minpaginated
Parameters
tagstring required | Tag as viewers see it, such as VOCALOID. e.g. VOCALOID |
sortstring | Order of the results, best first (newest first for newest).popularnewestviewscommentsmylistsdefault popular |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
20 fields
author | Author |
avatarUrl | string |
id | string |
name | string |
url | string |
username | string |
commentCount | integer (int64) |
description | string |
durationSeconds | integer (int64) |
id | string |
likeCount | integer (int64) |
mylistCount | integer (int64) |
publishedAt | string |
thumbnails | Image[] |
height | any |
url | string |
width | any |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/niconico/tagged?tag=VOCALOID" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/niconico/tagged?tag=VOCALOID", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/niconico/tagged?tag=VOCALOID", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": { "avatarUrl": "https://…", "id": "abc123", "name": "…", "url": "https://…", "username": "…" }, "commentCount": 1280, "description": "…", "durationSeconds": 0, "id": "abc123", "likeCount": 1280, "mylistCount": 1280, "publishedAt": "2026-11-06T09:41:00Z", "thumbnails": [ { "height": null, "url": null, "width": null } ], "title": "…", "url": "https://…", "viewCount": 1280 } ], "meta": { "cached": false, "endpoint": "tagged", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "niconico", "requestId": "req_2Xb9kQ…", "units": 1 } }
user
GET
/v1/niconico/userA nicovideo.jp user's public profile: name, description and avatar.
scope social:read1 unitcached 1 h
Parameters
idstring required | Numeric user id such as 4, or a nicovideo.jp/user URL. e.g. 4 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
11 fields
avatarUrl | string |
bio | string |
createdAt | string |
followerCount | integer (int64) |
followingCount | integer (int64) |
id | string |
name | string |
postCount | integer (int64) |
url | string |
username | string |
verified | boolean |
curl "https://api.hoshime.com/v1/niconico/user?id=4" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/niconico/user?id=4", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/niconico/user?id=4", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "avatarUrl": "https://…", "bio": "…", "createdAt": "2026-11-06T09:41:00Z", "followerCount": 1280, "followingCount": 1280, "id": "abc123", "name": "…", "postCount": 1280, "url": "https://…", "username": "…", "verified": false }, "meta": { "cached": false, "endpoint": "user", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "niconico", "requestId": "req_2Xb9kQ…", "units": 1 } }