# BettaFish has no data: how do I feed it public Xiaohongshu and Douyin data? (2026)

About $0.92 a topic with DataXAPI, using no account of yours: BettaFish's Insight Agent reads its own database, which its MindSpider crawler is meant to fill, with a scan to log in on each platform the first time. If you would rather not keep accounts for it, write public notes, videos and comments from a data API into the same tables. DataXAPI reads Xiaohongshu (RedNote) with 21 endpoints, from $0.0200 a call; a failed call is not charged.

Updated 2026-11-04

## What it needs

Its README says data crawling is run separately: `python main.py --deep-sentiment --platforms xhs dy wb` in `MindSpider`. The content goes to tables such as `xhs_note`, `xhs_note_comment`, `douyin_aweme` and `douyin_aweme_comment`, in PostgreSQL by default or MySQL. You still need the model keys it asks for: data does not replace them. MindSpider's README also says it is for study and reference, with no commercial use.

## Which field goes where

We wrote this from its table definitions and have not run the whole system on it, so try a few rows first. `xhs_note.time` and `douyin_aweme.create_time` are compared as millisecond timestamps in its search code. `topic_id` and `crawling_task_id` can be left empty. Xiaohongshu search gives an excerpt: `xiaohongshu.notes.get` has the whole text, at $0.0200 a note.

| From DataXAPI | `xhs_note` | `douyin_aweme` |
| --- | --- | --- |
| `id` | `note_id` | `aweme_id` |
| `title`, `text` | `title`, `desc` | `title`, `desc` |
| `published_at` | `time` | `create_time` |
| `author.id`, `author.name` | `user_id`, `nickname` | `user_id`, `nickname` |
| `metrics.likes`, `.favorites` | `liked_count`, `collected_count` | `liked_count`, `collected_count` |
| `metrics.comments`, `.shares` | `comment_count`, `share_count` | `comment_count`, `share_count` |
| `url` | `note_url` | `aweme_url` |
| The search word | `source_keyword` | `source_keyword` |

## Comments, and what a topic comes to

A comment's `id`, `post_id`, `text`, `published_at`, `metrics.likes`, `metrics.comments` and `parent_id` go to `comment_id`, `note_id` or `aweme_id`, `content`, `create_time`, `like_count`, `sub_comment_count` and `parent_comment_id`.

One topic. Xiaohongshu: one search at $0.0200, then 2 pages of comments under 20 notes at $0.0200: $0.82. Douyin: one search at $0.0200, then 5 pages of comments under 8 videos at $0.0020: $0.10. So $0.92 for about 1,200 comments.

## Endpoints

- [Xiaohongshu note search](https://dataxapi.com/apis/xiaohongshu/notes/search/) ($0.0200 / a call): Search Xiaohongshu notes by terms: title, text, author, engagement counts, images, and a link that opens.
- [Xiaohongshu note comments](https://dataxapi.com/apis/xiaohongshu/notes/comments/list/) ($0.0200 / a call): Get a page of top-level comments on a Xiaohongshu note by ID or link, newest first: text, commenter, likes, reply count, time posted.
- [Xiaohongshu note detail](https://dataxapi.com/apis/xiaohongshu/notes/get/) ($0.0200 / a call): Get one Xiaohongshu note by ID or link: title, text, author, engagement counts, images.
- [Douyin video search](https://dataxapi.com/apis/douyin/videos/search/) ($0.0200 / a call): Search Douyin videos by terms, a page at a time, sorted by relevance, newest or most liked and filtered by time posted: caption, author with follower count, engagement counts.
- [Douyin video comments](https://dataxapi.com/apis/douyin/videos/comments/list/) ($0.0020 / a call): Get a page of comments on a Douyin video: text, commenter, likes, reply count, time posted.

## How-to guides

- [How to get Xiaohongshu (RedNote) note comments in bulk](https://dataxapi.com/guides/xiaohongshu-note-comments/)
- [How to export Douyin video comments in bulk](https://dataxapi.com/guides/douyin-video-comments/)

## Sources

What this page says of other services is from their own pages and documents, read on 2026-11-04. Prices and features change: check the source before you decide.

- [BettaFish's README](https://github.com/666ghj/BettaFish)
- [MindSpider's README](https://github.com/666ghj/BettaFish/blob/main/MindSpider/README.md)
- [BettaFish's table definitions](https://github.com/666ghj/BettaFish/blob/main/MindSpider/schema/models_bigdata.py)

## More about Xiaohongshu (RedNote)

- [Xiaohongshu (RedNote) API](https://dataxapi.com/apis/xiaohongshu/)
- [Douyin API](https://dataxapi.com/apis/douyin/)
- [How do I export Xiaohongshu (RedNote) data?](https://dataxapi.com/answers/export-xiaohongshu-data/)
- [Can ChatGPT read Xiaohongshu (RedNote)?](https://dataxapi.com/answers/can-chatgpt-read-xiaohongshu/)
- [What is xsec_token on Xiaohongshu?](https://dataxapi.com/answers/xiaohongshu-xsec-token/)
- [What is a Xiaohongshu note ID, and what is an xhslink link?](https://dataxapi.com/answers/xiaohongshu-note-id-and-xhslink/)
- [What is CPE on Xiaohongshu PGY and on Douyin Xingtu?](https://dataxapi.com/answers/xiaohongshu-pgy-cpe-vs-xingtu-cpe/)
- [What is Xiaohongshu PGY?](https://dataxapi.com/answers/what-is-xiaohongshu-pgy/)
- [Which Xiaohongshu data API? The official platform, third-party APIs or your own scraper (2026)](https://dataxapi.com/answers/best-xiaohongshu-data-api/)
- [Can Xiaohongshu's open platform read notes and comments? (2026)](https://dataxapi.com/answers/xiaohongshu-open-platform-api/)
- [xiaohongshu-mcp keeps losing its login: is there a Xiaohongshu MCP that needs no login? (2026)](https://dataxapi.com/answers/xiaohongshu-mcp-without-login/)
- [How do Claude Code, Cursor and Codex read Xiaohongshu without cookies? (2026)](https://dataxapi.com/answers/claude-code-cursor-codex-read-xiaohongshu/)
- [How do I add a Xiaohongshu or Douyin Skill to my AI? (2026)](https://dataxapi.com/answers/xiaohongshu-douyin-skill/)
- [How do I export all of a Xiaohongshu creator's notes to Excel? (2026)](https://dataxapi.com/answers/export-xiaohongshu-creator-notes-excel/)
- [How do I export Xiaohongshu comments in bulk to find what users complain about? (2026)](https://dataxapi.com/answers/export-xiaohongshu-comments-pain-points/)
- [How do I collect the numbers of many Xiaohongshu notes after a campaign? (2026)](https://dataxapi.com/answers/collect-xiaohongshu-note-metrics-after-campaign/)
- [How do I check Xiaohongshu note search rankings in bulk? (2026)](https://dataxapi.com/answers/xiaohongshu-search-rank-tracking/)
- [MediaCrawler gets blocked on Xiaohongshu with status 461: what do I switch to? (2026)](https://dataxapi.com/answers/mediacrawler-alternative/)
- [Do Chanmama, Qiangua and Newrank have APIs? What if I want the raw data? (2026)](https://dataxapi.com/answers/chanmama-qiangua-newrank-api/)
- [Is it legal to collect public Xiaohongshu and Douyin data through a third-party API? (2026)](https://dataxapi.com/answers/is-public-social-data-collection-legal/)
- [What does status 461 mean on Xiaohongshu? (2026)](https://dataxapi.com/answers/xiaohongshu-461-status-code/)
- [How do I get Xiaohongshu data into n8n? (2026)](https://dataxapi.com/answers/xiaohongshu-n8n/)
- [How do I sync Xiaohongshu note data to a Feishu Base? (2026)](https://dataxapi.com/answers/xiaohongshu-feishu-base/)
- [How do I connect Xiaohongshu data to Dify? (MCP, 2026)](https://dataxapi.com/answers/xiaohongshu-dify/)
- [When should I use DataXAPI, and when should I not? (2026)](https://dataxapi.com/answers/when-to-use-dataxapi/)
- [Will using a data API get my Xiaohongshu or Douyin account banned? (2026)](https://dataxapi.com/answers/will-data-api-get-my-account-banned/)
- [Are data APIs like DataXAPI compliant? (2026)](https://dataxapi.com/answers/is-dataxapi-compliant/)
- [Is DataXAPI's data reliable, and what if a call fails? (2026)](https://dataxapi.com/answers/is-dataxapi-reliable/)
- [Can DataXAPI issue an invoice, and how do I pay in US dollars? (2026)](https://dataxapi.com/answers/dataxapi-invoice-usd-payment/)
- [How do I collect hit topic ideas on Xiaohongshu in bulk? (2026)](https://dataxapi.com/answers/xiaohongshu-hit-topic-ideas/)
- [How do I research products to sell on Xiaohongshu: what sells and what buyers say? (2026)](https://dataxapi.com/answers/xiaohongshu-product-research/)
- [How do I spot complaints about my brand on Xiaohongshu at low cost? (2026)](https://dataxapi.com/answers/spot-xiaohongshu-brand-complaints/)
- [My Xiaohongshu scraper keeps getting blocked: what does keeping it up cost against paying per call? (2026)](https://dataxapi.com/answers/xiaohongshu-scraper-blocked-cost/)
- [How do I export Xiaohongshu PGY creators in bulk? (2026)](https://dataxapi.com/answers/export-xiaohongshu-pgy-creators/)
- [What are x-s and x-t on Xiaohongshu? (2026)](https://dataxapi.com/answers/xiaohongshu-x-s-x-t/)
- [What do Xiaohongshu error codes 300011, 300012 and 300013 mean? (2026)](https://dataxapi.com/answers/xiaohongshu-300011-300013-error-codes/)
- [How do I connect Xiaohongshu data to Coze (扣子)? (2026)](https://dataxapi.com/answers/xiaohongshu-coze/)
- [How to look up Xiaohongshu (RedNote) PGY creator rates and audience](https://dataxapi.com/guides/xiaohongshu-pgy-creator-rates/)
- [How to search and export Xiaohongshu (RedNote) notes by keyword](https://dataxapi.com/guides/xiaohongshu-search-export-notes/)
- [How to get a keyword's search index and related keywords on Xiaohongshu PGY](https://dataxapi.com/guides/xiaohongshu-pgy-keywords/)

---

Catalog revision bf04cdef3b75e745. [HTML version](https://dataxapi.com/answers/bettafish-data-source/)
