Comments

lookup · $0.0010

Top-level comments on a video, with each commenter attached.

POST https://api.sorina.sh/v1/tiktok/comments

Body

aweme_id string
The video.
cursor integer?
Where to start. Defaults to 0. Send back the cursor the previous response returned rather than counting results yourself.
count integer?
Page size. Defaults to 20, and is honoured here — asking for 50 returns 50.

A type written with ? is optional. Unknown fields are rejected rather than ignored, and the whole body is capped at 64 KiB.

Example

curl -X POST https://api.sorina.sh/v1/tiktok/comments \
  -H "authorization: Bearer $SORINA_KEY" \
  -H 'content-type: application/json' \
  -d '{"aweme_id":"7639719512924835103","cursor":0,"count":20}'

What comes back

Flat JSON: comments is the page, total is every comment on the video rather than the page size, cursor is what to send next, and has_more is 1 or 0 — an integer, not a boolean.

Each comment carries cid, text, create_time, digg_count, reply_comment_total, and a user object richer than the profile route returns flat: sec_uid, unique_id, nickname, follower counts and verification.

A comment may inline some of its own replies under reply_comment. A reply_comment_total larger than what is inlined is the signal to call /comments/replies.

Because a reply has the same shape as its parent, read one named level at a time. A search for cid anywhere inside an element can hand you a reply’s id and attribute it to the parent.

pages on cursor

Send the value the previous response returned, not one you counted. Pagination has the rest.