Niconico Video Search API

Search Niconico videos by title or tag and get views, likes, comments, upload time, tags and link for each video, sorted by views, likes, comments or newest.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usVideos, 9 fieldsv1.0

Data from snapshot.search.nicovideo.jp/api/v2/snapshot/video/contents/search

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Search terms
Japanese or English words, one search for each. One per line, or separated by commas.
Example: game
Sortoptional
views, likes, comments or newest.
Maximum resultsoptional
Most videos to return for each term.
Example: 100

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/niconico-videos/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/niconico-videos/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search_terms":["game"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

search_termslistrequired
Japanese or English words, one search for each.
example: game
sorttext
views, likes, comments or newest.
default: viewsexample: viewsone of: views, likes, comments, newest
max_resultsnumber
Most videos to return for each term.
example: 100

What's in each record

9 fields: 7 here, 2 technical ones under Technical details.

Basics

  • Video title

    Example ノーゲーム・ノーライフ OP 「This game」

  • View counter

    Number of views.

    Example 3,381,082

  • Like counter

    Number of likes.

    Example 1,182

  • Comment counter

    Number of comments.

    Example 10,601

  • Video tags

    Example アニメ, 鈴木このみ

Dates

  • Posted

    When the video was posted (UTC).

    Example Jun 26, 2014

Technical detailsField names and types for developers, and the 2 fields hidden above

Hidden by default

These 2 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • Content ID content_idNiconico video id, such as sm9.
  • Search words search_termThe search word that found the video.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
content_idtextContent ID (hidden)3 of 3
titletextVideo title3 of 3
view_counternumberView counter3 of 3
like_counternumberLike counter3 of 3
comment_counternumberComment counter3 of 3
posted_atdate and timePosted3 of 3
tagslistVideo tags3 of 3
urllinkLink3 of 3
search_termtextSearch words (hidden)3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordVideo titleView counterLike counterComment counterVideo tagsPostedLink
1ノーゲーム・ノーライフ OP 「This game」3,381,0821,18210,601アニメ, 鈴木このみ, ノーゲーム・ノーライフ, This_gameJun 26, 2014nicovideo.jp/watch/sm23867118
2【GUMI】 Just a game 【オリジナル曲】1,577,1411,84231,793VOCALOID, ニコニ・コモンズ, takamatt, 黒葵@Jun 2, 2010nicovideo.jp/watch/sm10933505
3【ゆっくり実況】息抜きにチートバグ81,532,74837617,945ゲーム, ゆっくり実況プレイ, ヒテッマンリスペクト, チートバグ動画Jul 5, 2013nicovideo.jp/watch/sm21286100

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • The source returns at most 100,000 results deep per search (offset limit), and up to 100 per request.
  • Matches title and tags only, not descriptions; Japanese terms usually give far more results than English.
  • Counts come from a snapshot index that Niconico refreshes daily, so they can lag the site by up to a day.
  • Uses Niconico's official snapshot search API; follow their terms and keep request volume modest.

Version history

A run uses the live version unless the request names another one with version.