Douban · Content details
Subject details
Send film or series links or IDs; get title, year, score, genres, directors, cast, regions, languages, release dates and IMDb ID.
POST/v1/douban/subject
$0.025per record
- 1,000 records
- ≈ $25.00
- minimum per record fetched
- $0.018017
Paid balance onlyOne request, no cursor
Send it
POST with a JSON body, or GET with the same parameters in the query string. Your key goes in the Authorization header.
curl -X POST "https://api.silklinedata.com/v1/douban/subject" \
-H "Authorization: Bearer $SILKLINE_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":5,"subjects":["1291546"]}'import os, requests
response = requests.post(
"https://api.silklinedata.com/v1/douban/subject",
headers={"Authorization": "Bearer " + os.environ["SILKLINE_KEY"]},
json={
"limit": 5,
"subjects": ["1291546"],
},
)
answer = response.json()
print(answer["data"], answer["meta"]["charged_usd"])const response = await fetch("https://api.silklinedata.com/v1/douban/subject", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.SILKLINE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({
"limit": 5,
"subjects": [
"1291546"
]
}),
});
const { data, cursor, meta } = await response.json();
console.log(data, meta.charged_usd);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.
{
"data": [
{
"type": "subject",
"subjectId": "1291546",
"url": "https://movie.douban.com/subject/1291…",
"title": "霸王别姬",
"year": 1993,
"rating": 9.6,
"ratingCount": 2464664,
"genres": [
"剧情",
"爱情",
"同性"
],
"directors": [
"陈凯歌"
],
"writers": [
"芦苇",
"李碧华"
],
"cast": [
"张国荣",
"张丰毅",
"巩俐"
],
"regions": [
"中国大陆",
"中国香港"
],
"languages": [
"汉语普通话"
],
"releaseDates": [
"1993-07-26(中国大陆)",
"1993-01-01(中国香港)"
],
"episodes": null,
"duration": "171分钟/ 155分钟(美国剧场版)",
"durationMinutes": 171,
"aliases": [
"再见,我的妾",
"Farewell My Concubine",
"Adieu Ma Concubine"
],
"imdbId": "tt0106332",
"posterUrl": "<masked>"
}
],
"cursor": null,
"meta": {
"request_id": "req_01JD8Q…",
"charged_usd": "0.025000",
"balance_usd": "9.875000",
"items": 1
}
}Fields 20
| Field | Type | Example value |
|---|---|---|
| type | string | subject |
| subjectId | string | 1291546 |
| url | string | https://movie.douban.com/subject/1291546/ |
| title | string | 霸王别姬 |
| year | number | 1993 |
| rating | number | 9.6 |
| ratingCount | number | 2464664 |
| genres | array | ["剧情","爱情","同性"] |
| directors | array | ["陈凯歌"] |
| writers | array | ["芦苇","李碧华"] |
| cast | array | ["张国荣","张丰毅","巩俐"] |
| regions | array | ["中国大陆","中国香港"] |
| languages | array | ["汉语普通话"] |
| releaseDates | array | ["1993-07-26(中国大陆)","1993-01-01(中国香港)"] |
| episodes | null | null |
| duration | string | 171分钟/ 155分钟(美国剧场版) |
| durationMinutes | number | 171 |
| aliases | array | ["再见,我的妾","Farewell My Concubine","Adieu Ma Concubine"] |
| imdbId | string | tt0106332 |
| posterUrl | string | <masked> |
Parameters 2
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| limit | integer | no | How many records to return, 1 to 100. A request never returns more than this. | 5 |
| subjects | array | yes | Only 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
This endpoint answers in one request: raise limit (up to 100) for more records. cursor is always null.
What a request costs
You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged.
Here each record is fetched on its own; the minimum is $0.018017 for each.
- 1 record: up to $0.025
- 20 records: up to $0.50
- 100 records: up to $2.50
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 Subject details take?
Required: subjects. Every request also takes limit (1 to 100).
How many records does one request return?
Up to 100 (limit 1 to 100). A page holds up to 1 records, so 100 records take 100 pages in one request.
Can I page through more results?
No. This endpoint answers in full in one request; the answer's cursor is null.
How much does it cost?
Per record: subject $0.025. The minimum is $0.018017 per page: with few records or none, a request pays at most that for each page it reads, possibly less. 100 records cost at most $2.50.
What does a request cost when it fails or comes back empty?
You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged. Each answer's meta says what the request was charged and the balance left.