Douban short comments by movie or TV subject id
justoneapi.x.douban-get-movie-comments-v1Retrieves paginated Douban short comments for a movie or TV subject, ordered by time or newest rating.
- Price
- $0.01476/successプロバイダー原価
- Success rate
- 100%Last 30 days · 5 calls
- Latency p50
- 2.4 sp95 3.8 s
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.douban-get-movie-comments-v1?page=1&sort=time&subjectId=37326018PreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
page | 整数 | 任意 | Page number for pagination. | 1 |
sort | 文字列 | 任意 | Sort order for the result set. Available Values: - `time`: Time - `new_score`: New Score One of: time, new_score. | time |
subjectId | 文字列 | 必須 | The unique ID for a movie or TV subject on Douban. | 37326018 |
- クエリパラメータ
page整数任意Page number for pagination.
例:
1sort文字列任意Sort order for the result set. Available Values: - `time`: Time - `new_score`: New Score One of: time, new_score.
例:
timesubjectId文字列必須The unique ID for a movie or TV subject on Douban.
例:
37326018
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.douban-get-movie-comments-v1?page=1&sort=time&subjectId=37326018' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.douban-get-movie-comments-v1?page=1&sort=time&subjectId=37326018",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.douban-get-movie-comments-v1?page=1&sort=time&subjectId=37326018", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.01476/success です。サービス料を含みます。