Douban API

Search Douban films, books and music, read the long reviews and short comments under a subject, and read one group topic with its replies as JSON with one EveryInfra API key, from $1.39 per 1,000 calls.

All you need is one API key, no Douban account or cookie. It also works as an MCP tool in Claude and Cursor. Star our two GitHub repositories to claim $1 in trial credit and try it first. The credit is valid for 24 hours after you claim it.

  • Failed calls and empty results are not charged.
  • Long reviews, short comments and group replies are separate endpoints.
  • 4 endpoints, one key.

Real sample values for the reviews and comments of one subject

POST /api/v1/social params {"url":"https://book.douban.com/subject/2567698/"}

Real sample calls for the same subject on long reviews and short comments, captured September 26, 2026 (UTC). Each box links to its endpoint page.

Platform availability

24h health
99%
Healthy

Last 30 days

Available capabilities

Search Douban film, book, and music entries to retrieve long reviews, short reviews, and group discussions.

Subject type filters accept all, movie, book, or music, while discussion items require explicit URL inputs.

Subjects and opinions

  • SearchHealthy · health 99%

    Look up films, books and albums on Douban by title or topic.

    search$1.39 per 1,000 callsEvery 20 rows count as one call

  • ReviewsNormal

    Read long-form Douban reviews of a film, book or album from its subject link.

    reviews$24 per 1,000 callsEach row counts as one call

  • CommentsNormal

    List short Douban comments on a film, book or album from its subject link, each with text, rating label, commenter, vote count and date.

    comments$1.39 per 1,000 callsEvery 20 rows count as one call

Groups

  • Read a Douban group discussion from its topic link.

    group_topic$1.39 per 1,000 callsEvery 10 rows count as one call

5 questions to ask before choosing a data API for Douban

Do I need to log in to Douban or provide a cookie to make calls?

No. Send Authorization: Bearer with your API key in the request header, and put platform, action and the capability parameters in the request body. There is no QR-code login, no login state to maintain and no browser to run.

How is it billed? Are failed requests charged? Is there a free trial?

Billing is per request, from $1.39 per 1,000 requests. Failed requests, empty results, invalid parameters and authentication failures are not charged. Star both everyinfra/everyinfra-agent-plugins and everyinfra/seo-skills on GitHub, then claim $1 under Balance & top-ups in the console. It is valid for 24 hours after you claim it, and no credit card is needed.

Can I connect this Douban API to Claude or Cursor?

Yes. The remote MCP URL is https://api.everyinfra.com/mcp. Add Authorization: Bearer and your API key as a request header; there is no local program to install. Setup for Claude, Cursor, ChatGPT and Claude Code is on https://everyinfra.com/en/mcp-server.

What compliance points apply when using Douban data?

The EveryInfra Terms of Service require you to make sure your use of the data complies with applicable law and the platform's terms. They prohibit unlawful use, violating privacy or intellectual property, and bulk scraping for harassment, fraud or other malicious purposes. If you use personal information such as nicknames and avatars, keep only the fields your business needs.

What Douban data can I get?

Available Douban capabilities (4): Search, Reviews, Comments, Group topic. The parameters and response fields of each capability are in the API reference on this page.

Use cases

  • Find the subject to study

    Search by title or topic word, compare scores and rater counts, and get the subject link.

    Usessearch

  • Run a sentiment study

    For one subject, read titled long reviews and short comments and compare the views.

    Usesreviewscomments

  • Read one discussion in a group

    Pass a topic link and read the topic text, its group and its replies.

    Usesgroup_topic

Douban Help Center vs EveryInfra

The Douban Help Center has no page on reading these objects through an interface, so this table has no comparison row.

ComparedDouban Help CenterEveryInfra

The help center covers how to rate, write reviews and join and manage groups on the site and does not cover reading this content by link, so there is no comparison row here. Official sources:

What does each Douban action accept?

Parameter table for all 4 actions

Sync delivery for every action.

ActionRequiredOptionalLimitPer 1,000Response fields
search

Search

Look up films, books and albums on Douban by title or topic. Get year, director and cast, author or artist, rating, number of raters and cover. Limit results to movies, books or music with search_type. type overrides it when you send both.

keywordsearch_type, typeCatalog values: defaultLimit=20, maxLimit=50. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$1.39 per 1,000 requestsEvery 20 rows count as one callid · url · title · subject_type · year · director · cast · author · artist · rating · rating_scale · rating_count · cover_url · platform
reviews

Reviews

Read long-form Douban reviews of a film, book or album from its subject link. Each review has title, text, rating label, reviewer and reply count. Each rating belongs to its review. The batch does not always hold every review of the title.

url—Catalog values: defaultLimit=15, maxLimit=50. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$24 per 1,000 requestsEach row counts as one callid · url · subject_id · subject_name · subject_type · title · text · rating · rating_scale · rating_label · author_name · author_url · author_avatar_url · reply_count · posted_at · platform
comments

Comments

List short Douban comments on a film, book or album from its subject link, each with text, rating label, commenter, vote count and date. These brief comments are separate from the long-form write-ups returned by reviews.

url—Catalog values: defaultLimit=20, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$1.39 per 1,000 requestsEvery 20 rows count as one callid · subject_id · subject_name · subject_type · text · rating · rating_scale · rating_label · author_name · author_url · author_avatar_url · vote_count · posted_at · platform
group_topic

Group topic

Read a Douban group discussion from its topic link. Get the opening post, group name and link, author, reply count and the replies. max_replies sets how many replies to fetch, from 1 to 100 (default 20). Closed groups are out of reach, and the thread may be incomplete.

urlmax_repliesCatalog values: defaultLimit=10, maxLimit=50. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.$1.39 per 1,000 requestsEvery 10 rows count as one callid · url · title · text · group_id · group_name · group_url · author_name · author_url · reply_count · replies · posted_at · platform
What each action's parameters mean (4 actions)

Each answer below pairs one callable action with its real inputs. Parameter meanings and allowed values are action-specific; a familiar name does not carry the same meaning across every platform.

Official sources are linked only to clarify the platform term beside them. They do not imply platform authorization or endorsement, and features of the official site are not part of the EveryInfra API unless this page lists them.

What do the Douban search parameters mean?

Look up films, books and albums on Douban by title or topic. Get year, director and cast, author or artist, rating, number of raters and cover. Limit results to movies, books or music with search_type. type overrides it when you send both.

Full API reference: parameters, code samples, response example and health
keywordRequired
Specifies the title or topic search query to discover Douban media items across movies, books, and music. Does not perform full-text searching inside long reviews or group topics.
search_typeOptional
Filters item category discovery using all (default), movie, book, or music. When type is provided simultaneously, type takes precedence; unrecognized values fall back to all.
Allowed values:allbookmoviemusic
typeOptional
Overrides search_type to filter item discovery by category (all, movie, book, or music). Filters catalog entry types only and does not select between reviews (long reviews) and comments (short comments), which are governed by action type.
Allowed values:allbookmoviemusic
Douban Books: Scope of Book Ratings and Reviews — Douban Books distinguishes ratings, full reviews, and short reviews, and recommends considering a book’s rating alongside other feedback. This explains the evaluation context for a book entry; it does not make the score an objective measure of value or add website-only features to this endpoint. · Checked

What do the Douban reviews parameters mean?

Read long-form Douban reviews of a film, book or album from its subject link. Each review has title, text, rating label, reviewer and reply count. Each rating belongs to its review. The batch does not always hold every review of the title.

Full API reference: parameters, code samples, response example and health
urlRequired
Specifies the target subject URL formatted as /subject/<ID>/ on movie.douban.com, book.douban.com, or music.douban.com for reviews or comments actions, or as www.douban.com/group/topic/<ID>/ for group_topic. Long reviews, short comments, and group topic replies are handled by separate action endpoints.
Douban Movies: Long Reviews, Short Reviews, and Visibility Limits — Douban Movies explains movie reviews and short reviews separately, noting that the short review section does not show all short reviews and that collapsed content has differing public visibility. Movie review lists returned by this endpoint should not be taken as a complete history or all audience opinions; this source does not replace separate rules for books or music. · Checked

What do the Douban comments parameters mean?

List short Douban comments on a film, book or album from its subject link, each with text, rating label, commenter, vote count and date. These brief comments are separate from the long-form write-ups returned by reviews.

Full API reference: parameters, code samples, response example and health
urlRequired
Specifies the target subject URL formatted as /subject/<ID>/ on movie.douban.com, book.douban.com, or music.douban.com for reviews or comments actions, or as www.douban.com/group/topic/<ID>/ for group_topic. Long reviews, short comments, and group topic replies are handled by separate action endpoints.
Douban Movies: Long Reviews, Short Reviews, and Visibility Limits — Douban Movies explains movie reviews and short reviews separately, noting that the short review section does not show all short reviews and that collapsed content has differing public visibility. Movie review lists returned by this endpoint should not be taken as a complete history or all audience opinions; this source does not replace separate rules for books or music. · Checked

What do the Douban group_topic parameters mean?

Read a Douban group discussion from its topic link. Get the opening post, group name and link, author, reply count and the replies. max_replies sets how many replies to fetch, from 1 to 100 (default 20). Closed groups are out of reach, and the thread may be incomplete.

Full API reference: parameters, code samples, response example and health
urlRequired
Specifies the target subject URL formatted as /subject/<ID>/ on movie.douban.com, book.douban.com, or music.douban.com for reviews or comments actions, or as www.douban.com/group/topic/<ID>/ for group_topic. Long reviews, short comments, and group topic replies are handled by separate action endpoints.
Douban Groups: Reading Topics Is Distinct from Member Management — Douban Help lists joining groups, pinning topics, and managing members as distinct features, with certain actions requiring group leader or administrator permissions. Fetching specific topics here and citing management documentation does not grant those permissions, nor does it provide join, post, or management operations. · Checked
max_repliesOptional
Limits the number of topic replies fetched by group_topic per request, accepting integers from 1 to 100 (default 20). Out-of-bounds values are clamped to boundary limits, non-parseable values revert to the default, and returned counts do not guarantee retrieval of all historical replies.

How to use the Douban API

  1. 01Choose a platform action from the public catalog.
  2. 02Send the platform, action, and required parameters to POST /api/v1/social.
  3. 03Read the result from the response. For an asynchronous action, poll the returned job ID.
  4. 04Store the response fields that your application needs.
douban_search.sh
curl -X POST https://api.everyinfra.com/api/v1/social \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"platform":"douban","action":"search","params":{"keyword":"<keyword>"}}'

Douban API questions

What can I retrieve with the Douban API?

Set platform to douban. The current catalog lists search, reviews, comments, and group topic. These action names identify different Douban objects or views; they are not interchangeable search modes.

Which input starts the Douban search request?

Specifies the title or topic search query to discover Douban media items across movies, books, and music. Does not perform full-text searching inside long reviews or group topics. Send it as keyword inside params.

Which fields can Douban search return?

Its declared schema includes title, subject_type, year, and director. A declared field can still be absent from an individual record, and every other action has its own field list.

Does every Douban action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add "mode": "async" to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

Google Analytics needs consent. Privacy