For AI

Endpoints by data type

Comment replies API

11 endpoints on 11 platforms return comment replies as the same Comment object. The replies under one top-level comment, a page at a time: each reply’s text, who wrote it, when, and how many likes it got. A call costs from $0.002 to $0.02, each endpoint at its own price; a failed call is free.

Comment replies · on each platform

PlatformEndpointPathA pagePrice
InstagramInstagram comment repliesGET /v1/instagram/comments/replies/list15$0.004 per call · about 15 comments per page
KuaishouKuaishou comment repliesGET /v1/kuaishou/comments/replies/list20$0.002 per call · about 20 comments per page
ZhihuZhihu comment replies coming soonGET /v1/zhihu/comments/replies/list20$0.002 per call · about 20 comments per page
WeChat ChannelsWeChat Channels comment repliesGET /v1/wechat_channels/comments/replies/list20$0.015 per call · about 20 comments per page
DouyinDouyin comment repliesGET /v1/douyin/comments/replies/list20$0.002 per call · about 20 comments per page
Xiaohongshu (RedNote)Xiaohongshu comment repliesGET /v1/xiaohongshu/comments/replies/list5$0.02 per call · about 5 comments per page
WeiboWeibo comment repliesGET /v1/weibo/comments/replies/list20$0.002 per call · about 20 comments per page
BilibiliBilibili comment repliesGET /v1/bilibili/comments/replies/list20$0.002 per call · about 20 comments per page
WeChat Official AccountsOfficial Account comment repliesGET /v1/wechat_mp/comments/replies/list3$0.02 per call · about 3 comments per page
YouTubeYouTube comment repliesGET /v1/youtube/comments/replies/list10$0.002 per call · about 10 comments per page
TikTokTikTok comment repliesGET /v1/tiktok/comments/replies/list20$0.002 per call · about 20 comments per page

from $0.002 to $0.02 a call, each endpoint at its own price. A call that fails costs nothing.

The object it returns: Comment

Every endpoint above returns these fields with the same names and types. A field a platform does not show comes back null and is named in meta.unavailable.

FieldTypeMeaning
idstringComment ID.
post_idstringID of the post it is under.
parent_idstring | nullThe comment it replies to; null for top-level comments.
textstringComment text.
published_atstringWhen it was posted, ISO 8601 in UTC.
authorAccountRefWho wrote it.
likesinteger | nullLikes on the comment.
repliesinteger | nullReplies under it.
ip_locationstring | nullRegion label the platform shows next to the comment, if any.
extobjectPlatform-specific extras. Only returned with view=full.

The same call on two platforms

Same parameters, same paging, same response shape. Only the path changes.

cURL
# Instagram
curl -G "https://api.okdata.online/v1/instagram/comments/replies/list" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'id=17968670751170878' \
  --data-urlencode 'post_id=DeCPVhERA8e'

# Kuaishou
curl -G "https://api.okdata.online/v1/kuaishou/comments/replies/list" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'id=908850553827' \
  --data-urlencode 'post_id=3xgarycnydawq3g'

What people use it for

  • Read the whole argument under a comment that drew dozens of replies, not just the comment itself.
  • See whether a brand’s answer to a complaint settled it or set off more complaints.
  • Collect the follow-up questions buyers ask under a popular comment.

Questions

What do I need to call it?
The comment’s id and the post_id of the post it sits under, both from the comments endpoint of the same platform. On Instagram, post_id is the post’s shortcode; on WeChat, it is the article’s link.
Which comments are worth opening?
Every top-level comment comes with a replies count. Sort by it and open only the comments above zero, because each page of replies is one call.
What about platforms that are not in the table?
There the comments endpoint still gives each comment’s replies count, but the reply text is not available here until a replies endpoint for that platform is added to the table.

Connect once, then just ask.

Every new key comes with $0.10 to try it. One sentence connects your agent.

Start free
Connect your AI

Paste this into your agent

Read https://okdata.online/agents.md and set up okdata for me; my key is in the OKDATA_API_KEY environment variable.

Claude Code, Cursor, Codex and other agents that can open a link set themselves up from it.

MCP serverhttps://api.okdata.online/mcp