Skip to content

Niconico API

4 endpointsSocial & VideoJapansocial:read

Videos, keyword and tag search and user profiles from Niconico's public pages.

View as Markdown
GET/niconico/videoOne nicovideo.jp video: title, description, owner, counts, thumbnail and tags.
GET/niconico/searchSearch nicovideo.jp videos by keyword; 32 per page.
GET/niconico/taggedVideos of nicovideo.jp that carry a tag, 32 per page.
GET/niconico/userA nicovideo.jp user's public profile: name, description and avatar.

video

GET/v1/niconico/video

One nicovideo.jp video: title, description, owner, counts, thumbnail and tags.

scope social:read1 unitcached 10 min

Parameters

id
string
required
Video id such as sm9, or a nicovideo.jp watch URL.
e.g. sm9
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
commentCountinteger (int64)
descriptionstring
durationSecondsinteger (int64)
idstring
likeCountinteger (int64)
mylistCountinteger (int64)
publishedAtstring
tagsstring[]
thumbnailsImage[]
heightany
urlstring
widthany
titlestring
urlstring
viewCountinteger (int64)
curl "https://api.hoshime.com/v1/niconico/video?id=sm9" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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
  }
}

tagged

GET/v1/niconico/tagged

Videos of nicovideo.jp that carry a tag, 32 per page.

scope social:read1 unitcached 10 minpaginated

Parameters

tag
string
required
Tag as viewers see it, such as VOCALOID.
e.g. VOCALOID
sort
string
Order of the results, best first (newest first for newest).
popularnewestviewscommentsmylists
default popular
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
commentCountinteger (int64)
descriptionstring
durationSecondsinteger (int64)
idstring
likeCountinteger (int64)
mylistCountinteger (int64)
publishedAtstring
thumbnailsImage[]
heightany
urlstring
widthany
titlestring
urlstring
viewCountinteger (int64)
curl "https://api.hoshime.com/v1/niconico/tagged?tag=VOCALOID" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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/user

A nicovideo.jp user's public profile: name, description and avatar.

scope social:read1 unitcached 1 h

Parameters

id
string
required
Numeric user id such as 4, or a nicovideo.jp/user URL.
e.g. 4
tunnel
string
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.
proxy
string
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.
profileId
string
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
avatarUrlstring
biostring
createdAtstring
followerCountinteger (int64)
followingCountinteger (int64)
idstring
namestring
postCountinteger (int64)
urlstring
usernamestring
verifiedboolean
curl "https://api.hoshime.com/v1/niconico/user?id=4" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "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
  }
}
esc
↑↓ move↵ open