{
  "id": 17303133,
  "title": "Monitor what Xiaohongshu (RedNote) users say about a brand in Python",
  "url": "https://urgent.news/2026/10/30/monitor-what-xiaohongshu-rednote-users-say-about-a-brand-in-python",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-30T23:15:35.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/qovia/monitor-what-xiaohongshu-rednote-users-say-about-a-brand-in-python-348"
  },
  "original_language": "en",
  "account": "This tutorial outlines how to create a Python script to monitor Xiaohongshu (RedNote) users' comments about a specific brand. Xiaohongshu is a platform where Chinese consumers share reviews, shopping hauls, price comparisons, and complaints about products. The comment sections on this platform often contain more honest feedback than the actual notes themselves, as users ask questions like where they purchased the item, if it broke, or if it's an advertisement.\n\nThe script utilizes the Qovia API to search for recent Xiaohongshu notes mentioning the brand, fetch the details of the most engaged notes, collect the first pages of comments under those notes, and store the data in CSV files. The script summarizes the results using pandas to provide daily volume, top notes, hashtags, commenters' locations, and a keyword tally.\n\nTo set up the script, you need Python 3.9 or higher, along with the requests and pandas libraries. Create an API key from the Qovia console and set it as the environment variable QOVIA_KEY. The script provides a helper function to make requests to the Qovia API, handling authentication and error responses.\n\nThe monitoring process involves searching for recent Xiaohongshu notes that mention the brand using the /v1/raw/xiaohongshu/search endpoint. The search parameters can be customized, such as sorting by relevance, the latest notes, most liked, most commented, or most saved. The script also allows filtering notes by type (all, video, or image) and time frame (day, week, month, or year). After collecting the required data, the script stores the results in CSV files and summarizes them using pandas.",
  "summary": "I build Qovia, the API used in this post. The pipeline itself (search, enrich, collect comments, append to CSV, summarize) works with any Xiaohongshu data source; the CSV and pandas parts are plain Python. Xiaohongshu (小红书, called RedNote outside China) is where Chinese consumers post reviews, shopping hauls, \"is it worth it?\" comparisons and complaints. For a consumer brand that sells in China,…",
  "key_points": [
    "Python script monitors Xiaohongshu comments about a brand",
    "Qovia API used to fetch recent notes, comments, and data",
    "Results summarized in CSV files with pandas for analysis"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}