Social Media Data API for Weibo, Xiaohongshu (RedNote), Douyin and Threads

More than an API: we monitor, clean, translate and backfill the data for you and deliver it straight into your systems, with an SLA and data-source documentation. Priced in USD by platform and volume, trial available on request.


LargitData Social Media Data API covers public posts and comments on Weibo, Xiaohongshu, Douyin and Threads. Pull the data yourself through the API, or let us run it for you: we keep monitoring the keywords and accounts you choose, clean them into consistent fields, translate them into English, fill in past data, and deliver everything straight into your systems.

Data is collected by web crawlers from content publicly published on each platform, and we can describe our data sources and collection methods for review by your legal or compliance team. Other sources such as PTT/Dcard, X and Reddit are available through account-configured channels and keyword groups; contact us.

Douyin here means the Chinese Douyin app, which is a separate platform from the international TikTok. For how their data differs, see TikTok vs Douyin: how the data differs.

View data samples View API documentation Request a trial

We confirm the scope and reply with trial and integration arrangements

Four platform APIs

Weibo, Xiaohongshu, Douyin and Threads each have their own API reference page listing endpoints, parameters and a synthetic sample. Other sources such as PTT/Dcard, X and Reddit are provided through the channels and keyword groups configured for your account; contact us.

Async task workflow

Create a search or collection task, poll its status with the task ID, and fetch the JSON result once the status is DONE. Tasks can be created with conditions such as keywords and date ranges.

RESTful JSON API

Responses are standard JSON; send your API key in the auth-header header on every request. Base URL: https://api.infominer.io/api/v2.

Weibo in English

Subscribe to Weibo with English keywords; the system backfills the last 30 days of posts and adds English machine translation. Translated posts, comments and reposts are read through query endpoints.

Custom data sources

If you need to monitor specific industry forums, vertical communities, local news sites or competitors' official channels, we can assess the request and add custom data sources, with technical integration support from requirements to go-live.

KYC / AML data

Financial institutions and compliance teams can collect public posts, comments and public-account timelines as inputs to their own KYC (Know Your Customer) and AML (Anti-Money Laundering) reviews. The API does not score risk; it delivers data, and the review and judgment stay with your team.

RESTful API + JSON Response

Priced in USD by platform and volume

Weibo, RED, Douyin, Threads

Custom Data Sources and Fields

Quick Start

Illustrative data: create-task requests and results for four platforms


Illustrative example — actual endpoints and parameters follow the API documentation

The samples below are hand-written synthetic data. Accounts are sample_user_N, not real accounts or real posts. See each API reference for the complete endpoints.

Weibo

Create-task request (POST)

{
  "keyword": "手冲咖啡",
  "start_date": "2026-06-01",
  "end_date": "2026-06-30",
  "max_pages": 3
}

Result fetched after the task is DONE

{
  "keyword": "手冲咖啡",
  "status": "DONE",
  "total_count": 2,
  "task": {
    "id": "00000000-0000-4000-8000-000000000001",
    "status": "DONE"
  },
  "data": [
    {
      "source": "weiboblog",
      "platform": "weibo",
      "url": "https://m.weibo.cn/detail/0000000000000001",
      "author": "sample_user_1",
      "author_id": "0000000000000001",
      "content": "周末在巷子里的咖啡店试了新豆子,酸度很柔和,推荐给喜欢浅焙的朋友 #手冲咖啡",
      "tm": 1781056800,
      "datetime": "2026-06-10 10:00:00",
      "type": [],
      "metadata_tags": [
        "手冲咖啡"
      ],
      "sentiment": "Positive",
      "like_count": 12,
      "comment_count": 3,
      "share_count": 1
    },
    {
      "source": "weiboblog",
      "platform": "weibo",
      "url": "https://m.weibo.cn/detail/0000000000000002",
      "author": "sample_user_2",
      "author_id": "0000000000000002",
      "content": "整理了三间适合下午工作的咖啡店,插座和座位都在文末清单",
      "tm": 1781060400,
      "datetime": "2026-06-10 11:00:00",
      "type": [],
      "metadata_tags": [
        "咖啡店",
        "下午茶"
      ],
      "sentiment": "Neutral",
      "like_count": 5,
      "comment_count": 0,
      "share_count": 0
    }
  ]
}

Weibo API reference

Xiaohongshu

Create-task request (POST)

{
  "keyword": "护肤日常",
  "start_date": "2026-06-01",
  "end_date": "2026-06-30",
  "max_pages": 3
}

Result fetched after the task is DONE

{
  "keyword": "护肤日常",
  "status": "DONE",
  "total_count": 2,
  "task": {
    "id": "00000000-0000-4000-8000-000000000001",
    "status": "DONE"
  },
  "data": [
    {
      "source": "xhs_note",
      "platform": "rednote",
      "url": "https://www.xiaohongshu.com/explore/000000000000000000000001",
      "mblogid": "000000000000000000000001",
      "content": "换季之后我把早晚的护肤步骤简化成四步,记录一下这个月的肤况 #护肤日常",
      "author": "sample_user_1",
      "author_id": "0000000000000001",
      "tm": 1781056800,
      "metadata_tags": [
        "护肤日常",
        "换季保养"
      ],
      "like_count": 120,
      "comment_count": 14,
      "share_count": 6
    },
    {
      "source": "xhs_note",
      "platform": "rednote",
      "url": "https://www.xiaohongshu.com/explore/000000000000000000000002",
      "mblogid": "000000000000000000000002",
      "content": "夜间保湿面膜的使用心得,敏感肌可以先小范围试用",
      "author": "sample_user_2",
      "author_id": "0000000000000002",
      "tm": 1781060400,
      "metadata_tags": [
        "保湿",
        "敏感肌"
      ],
      "like_count": 48,
      "comment_count": 5,
      "share_count": 2
    }
  ]
}

Xiaohongshu API reference

Douyin

Create-task request (POST)

{
  "keyword": "亲子露营",
  "start_date": "2026-06-01",
  "end_date": "2026-06-30",
  "max_pages": 3
}

Result fetched after the task is DONE

{
  "keyword": "亲子露营",
  "status": "DONE",
  "total_count": 2,
  "task": {
    "id": "00000000-0000-4000-8000-000000000001",
    "status": "DONE"
  },
  "data": [
    {
      "source": "douyin.search",
      "platform": "douyin",
      "url": "https://www.douyin.com/video/0000000000000001",
      "post_id": "0000000000000001",
      "content": "第一次带孩子露营,帐篷搭建与行李清单整理给大家 #亲子露营",
      "author": "sample_user_1",
      "tm": 1781056800,
      "date": "2026-06-10",
      "metadata_tags": [
        "亲子露营",
        "露营新手"
      ],
      "like_count": 230,
      "comment_count": 18,
      "share_count": 9,
      "video_length": 95
    },
    {
      "source": "douyin.search",
      "platform": "douyin",
      "url": "https://www.douyin.com/video/0000000000000002",
      "post_id": "0000000000000002",
      "content": "露营区的早餐怎么准备比较轻松,三个小技巧",
      "author": "sample_user_2",
      "tm": 1781060400,
      "date": "2026-06-10",
      "metadata_tags": [
        "露营",
        "早餐"
      ],
      "like_count": 77,
      "comment_count": 6,
      "share_count": 3,
      "video_length": 48
    }
  ]
}

Douyin API reference

Threads

Create-task request (POST)

{
  "keyword": "登山步道",
  "start_date": "2026-06-01",
  "end_date": "2026-06-30",
  "max_scroll": 5,
  "mask_author": false
}

The records below are illustrative Threads result records and show the shape of the fields.

Results retrieved once the task is DONE

{
  "total_count": 2,
  "data": [
    {
      "id": "00000000-0000-4000-8000-0000000000a1",
      "source": "threads",
      "url": "https://www.threads.com/@sample_user_1/post/SAMPLE000001",
      "author": "sample_user_1",
      "title": "",
      "content": "週末走了一條不太熱門的步道,沿途視野很開闊,建議早點出發避開人潮",
      "tm": 1781056800,
      "sentiment": "Positive",
      "like_count": 34,
      "comment_count": 4,
      "share_count": 1,
      "reply_count": 4,
      "is_reply": false,
      "is_quote": false,
      "reply_to_author": "",
      "search_type": "keyword",
      "tag": "",
      "tag_id": ""
    },
    {
      "id": "00000000-0000-4000-8000-0000000000a2",
      "source": "threads",
      "url": "https://www.threads.com/@sample_user_2/post/SAMPLE000002",
      "author": "sample_user_2",
      "title": "",
      "content": "請問這條步道雨天好走嗎?下週想安排家人一起去",
      "tm": 1781060400,
      "sentiment": "Neutral",
      "like_count": 3,
      "comment_count": 1,
      "share_count": 0,
      "reply_count": 1,
      "is_reply": true,
      "is_quote": false,
      "reply_to_author": "sample_user_1",
      "search_type": "keyword",
      "tag": "",
      "tag_id": ""
    }
  ]
}

Threads API reference

Platform and endpoint overview

Weibo, Xiaohongshu, Douyin and Threads each have their own API reference page


Platform Available data Endpoint that creates a search task API reference
WeiboKeyword search, comments, reposts, repost-chain tracing, public account timelines, and English machine translation of posts, comments and reposts for subscribed English keywords.POST /weibo/search/taskWeibo API reference
XiaohongshuKeyword search of notes, note comments with second-layer replies, and public account timelines.POST /xhs/search/taskXiaohongshu API reference
DouyinKeyword search of videos, video comments, public account timelines, and download-URL resolution for collected videos (redirect only).POST /douyin/search/taskDouyin API reference
ThreadsKeyword search, post replies, public account timelines and post reactions tasks, with optional masking of author fields.POST /threads/search/taskThreads API reference
PTT/Dcard, X and Reddit: provided through the channels and keyword groups configured for your account; contact us

Use Weibo data without reading Chinese: when you set up monitoring with English keywords, the system converts them into Chinese and adds common Chinese names, collects posts from the past 30 days and attaches an English machine translation, so search results, comments and reposts can all be read directly.

Diverse application scenarios


Alternative Data

Provide social volume, discussion trends, and sentiment signals to hedge funds and investment research teams as an alternative data source for quantitative models and investment analysis.

Brand & Social Monitoring

Track brand reputation, competitor activity and consumer feedback on Weibo, Xiaohongshu, Douyin and Threads to spot PR risks and market opportunities early; Taiwan forum channels such as PTT and Dcard are provided by account configuration.

Academic & Market Research

Provide structured, reproducible social datasets to research institutions and market analysis teams, supporting opinion research, social science analysis, and trend forecasting.

You can also feed the data to AI agents: the RAGi Enterprise AI Agent Platform can read Social Media Data API results through APIs, combine them with an internal knowledge base to draft sourced analysis summaries, and include human review steps in the workflow. How AI-assisted OSINT briefings work · Learn More About RAGi Enterprise AI Agent Platform

Social Media API Product Screenshots


API Interface

API Interface

This API interface is developed for user-friendly reading. Here, you can easily access all API endpoints and view detailed documentation for better understanding of how to use them.

Diverse application scenarios

Diverse application scenarios

Public posts and comments can feed your own KYC and AML reviews or social listening, as well as market research, analysis of social interactions, brand monitoring and customer feedback.

FAQ

Last updated:


The LargitData Social Media Data API is a REST API for public posts and comments from Weibo, Xiaohongshu, Douyin and Threads. You create asynchronous tasks such as keyword search or comment collection, poll their status, and fetch the JSON result when the task is done.
We currently cover four platforms, Weibo, Xiaohongshu, Douyin and Threads, each with its own API reference page. Douyin is ByteDance's mainland-China app, separate from TikTok. Other sources such as PTT/Dcard, X and Reddit are provided through the channels and keyword groups configured for your account; contact us.
It is not a real-time stream. Collection endpoints are asynchronous tasks: create a task, poll its status, and fetch the result once the status is DONE. A Weibo subscription with English keywords backfills the last 30 days of posts and adds English machine translation.
LargitData collects content publicly posted on each platform using web crawlers, not through the platforms' official developer APIs. Each platform's terms of service restrict automated collection to different degrees, and whether downstream use of the data (such as republication, long-term retention, analysis involving personal data, or cross-border transfer) is compliant depends on your purpose and jurisdiction and must be assessed by your legal or compliance team. We can provide a description of the data sources and collection methods for that review.
Fields vary by platform. Common ones are post text, post time, author, hashtags, engagement counts (likes, comments, shares) and comment text. See each platform page for the exact fields in its synthetic sample and endpoint descriptions.
Yes, LargitData Social Media API is the core data source for the InfoMiner sentiment analysis platform. You can use the API directly to integrate with your own analysis system, or pair it with InfoMiner for full AI-powered sentiment analysis including sentiment scoring, trend tracking, and anomaly alerts.
Priced in USD by platform and data volume. Usage and quota are confirmed with you during the trial and quotation.
Fill in the form on this page to request a trial. We confirm the scope and reply with trial and integration arrangements. You can review endpoints, parameters and response formats in the public API documentation (api.infominer.io/docs) first.

Ready to start integrating?

Fill in the form below. We confirm the scope and reply with trial and integration arrangements; the full API documentation is public at api.infominer.io/docs.

Request a trial

Fill in the form to request a trial. We confirm the scope and reply with trial and integration arrangements.

Fill in the request form
View API documentation