Douban · Comments

Short comments of subjects

Send film or series links or IDs; get short comments with text, rating, likes, commenter name and location.

POST/v1/douban/comments/jobs

$0.0046per record

1,000 records
≈ $4.60
minimum per page of 10 records
$0.02

Works with trial balanceOne request, no cursor

Try it in the console

Send it

This endpoint runs as a job only: submit it to /jobs, follow it, then fetch its records. The single-request path answers 409 use_jobs and is not charged. Your key goes in the Authorization header.

curl -X POST "https://api.silklinedata.com/v1/douban/comments/jobs" \
  -H "Authorization: Bearer $SILKLINE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":5,"subjects":["1291546"]}'

# then, with the id from the answer:
curl "https://api.silklinedata.com/v1/jobs/JOB_ID" -H "Authorization: Bearer $SILKLINE_KEY"
curl "https://api.silklinedata.com/v1/jobs/JOB_ID/results?offset=0&limit=1000" -H "Authorization: Bearer $SILKLINE_KEY"

What comes back

Records from a real request on 2026-11-09. Names, avatars and profile links of ordinary users show as <masked>; long text is cut here, not in the API.

200 OK · fetched 2026-11-09
{
  "data": [
    {
      "type": "comment",
      "commentId": "24303417",
      "subjectId": "1291546",
      "userName": "<masked>",
      "avatarUrl": "<masked>",
      "ratingText": "力荐",
      "stars": 5,
      "content": "陈凯歌可以靠它吃两辈子饭了,现在看来…",
      "likeCount": 42071,
      "time": null,
      "location": null
    },
    {
      "type": "comment",
      "commentId": "21969686",
      "subjectId": "1291546",
      "userName": "<masked>",
      "avatarUrl": "<masked>",
      "ratingText": "力荐",
      "stars": 5,
      "content": "他竟当面一语点破:虞姬是真虞姬,霸王…",
      "likeCount": 28574,
      "time": null,
      "location": null
    }
  ],
  "cursor": null,
  "meta": {
    "request_id": "req_01JD8Q…",
    "charged_usd": "0.020000",
    "balance_usd": "9.875000",
    "items": 2
  }
}

Fields 11

FieldTypeExample value
typestringcomment
commentIdstring24303417
subjectIdstring1291546
userNamestring<masked>
avatarUrlstring<masked>
ratingTextstring力荐
starsnumber5
contentstring陈凯歌可以靠它吃两辈子饭了,现在看来江郎才尽也情有可原
likeCountnumber42071
timenullnull
locationnullnull

Parameters 2

NameTypeRequiredDescriptionExample
limitintegernoHow many records to return, 1 to 100. A request never returns more than this.5
subjectsarrayyesOnly for modes comments, subject and reviews: Douban links (https://movie.douban.com/subject/<id>/) or subject IDs of films and series (not review IDs).["1291546"]

Paging

A job runs as one block of up to 100 records; there is no cursor. It is charged as the same single request would be, for what was delivered.

What a request costs

You pay for the records delivered or the endpoint minimum for each page of each item you ask for (a keyword, a user, a link), whichever is more; an item that is looked up and has nothing there counts as one page, and only timeouts and errors, on our side or the platform side, are not charged.

Here a page holds up to 10 records and its minimum is $0.02; 100 records of one item take 10 pages, and each item in a request counts its own pages.

  • 1 record: up to $0.02
  • 20 records: up to $0.092
  • 100 records: up to $0.46

The response's meta says what was charged (charged_usd) and what is left (balance_usd). Errors on our side are not charged.

Questions

What parameters does Short comments of subjects take?

Required: subjects. Every job also takes limit (1 to 100).

How do I call it?

This endpoint runs as a job only: submit it with POST /v1/douban/comments/jobs, follow it with GET /v1/jobs/{id} until it has finished, then read its records from GET /v1/jobs/{id}/results. The single-request path answers 409 use_jobs and is not charged. Results are kept 7 days.

How many records does one job return?

Up to 100 (limit 1 to 100), in one block; there is no cursor. A page holds up to 10 records, so 100 records take 10 pages in that block. For more, submit another job; it is charged as a new one.

How much does it cost?

Per record: record $0.0046. The minimum is $0.02 for each page of each item you ask for: when the records come to less than the minimums of the pages they fill, you pay those minimums instead. 100 records of one item cost at most $0.46. On submit the job holds what the same single request would hold; when it ends you pay for what was delivered and the rest is released. Trial credit pays for it as it does for single requests.

What does a job cost when it fails or comes back empty?

A job that fails on our side is not charged; a charge already taken is returned to your balance. A job that delivers no records is charged as the same single request: the minimum for each item that was looked up and has nothing there, nothing for what failed or timed out. One that finds nothing ends succeeded with no reason, one that fails and was charged ends with reason no_records. The job's charged_usd says what it was charged and its reason why it ended.