# What does 获赞与收藏 on a Xiaohongshu profile count?

> 获赞与收藏 is one number: likes plus saves on an account's notes. What the profile API returns for it, what it does not split out, and how to rebuild the split from the notes.

Canonical page: https://okdata.online/answers/xiaohongshu-likes-and-collects/

**Short answer: **It is a single total: the likes plus the saves (收藏) the account's notes have received. okdata's Xiaohongshu account profile returns that combined figure as likes, next to followers, following and note count, for $0.02; it does not return likes and saves separately. To split them, add up metrics.likes and metrics.favorites over the account's notes.

Open any Xiaohongshu profile and the third number under the name reads 获赞与收藏, "likes and collects" in the English app. It is one total: how many likes the account's notes have received plus how many times they have been saved (收藏). The two are added before you see them, so 3.6万 could be 30,000 likes and 6,000 saves, or the other way round. That matters when you compare creators. Marketers often weigh saves more heavily, since a save means someone wants to come back to the note, and a creator with a high total can still have a low save rate. Xiaohongshu does not publish an exact definition. The profile data it sends has the two parts as separate numbers, filed with the account's note statistics, and they add up to the figure shown.

## What the API returns for a profile

[Xiaohongshu account profile](/apis/xiaohongshu/users/get/) takes a user ID, a profile link or an xhslink.com share link and returns:

| Field | What it is |
|---|---|
| `likes` | 获赞与收藏, the combined total |
| `followers` | 粉丝 |
| `following` | 关注 |
| `posts` | Notes published |
| `username` | 小红书号 |
| `bio`, `verified` | Profile text and the official badge |
| `ext.ip_location` | The IP region shown on the profile (with `view=full`) |

There is no separate field for likes or for saves on the profile. If Xiaohongshu sends a rounded display value such as 1.2万, it comes back as 12000, so treat large figures as approximate.

## Rebuilding the split

Every note carries its own counts: [account notes](/apis/xiaohongshu/users/notes/list/) returns `metrics.likes` and `metrics.favorites` (saves) for each, newest first. Sum them over the pages you fetch. For an account with a few hundred notes that recovers the split; for a large back catalogue, the last 60 or 100 notes give a save ratio that reflects how the creator performs now, which is usually what you want anyway.

| Task | Calls | Cost |
|---|---|---|
| Profile with the combined total | 1 | $0.02 |
| Likes and saves of the latest 100 notes | 5 | $0.10 |
| 20 creators, profile plus 5 note pages each | 120 | $2.40 |

## Example

```python
import os, requests

API = "https://api.okdata.online"
H = {"Authorization": f"Bearer {os.environ['OKDATA_API_KEY']}"}
user_id = "5f2b7c1e0000000001006a3d"

profile = requests.get(API + "/v1/xiaohongshu/users/get", headers=H, timeout=60,
                       params={"id": user_id}).json()["data"]["item"]
likes = saves = 0
cursor = None
for _ in range(5):                                   # latest ~100 notes
    params = {"id": user_id, **({"cursor": cursor} if cursor else {})}
    body = requests.get(API + "/v1/xiaohongshu/users/notes/list", headers=H,
                        params=params, timeout=60).json()
    for n in body["data"]["items"]:
        likes += n["metrics"]["likes"] or 0
        saves += n["metrics"]["favorites"] or 0
    if not body["page"]["has_more"]:
        break
    cursor = body["page"]["next_cursor"]
print("获赞与收藏:", profile["likes"], "| recent likes:", likes, "saves:", saves)
```

## Limits

- Your own sum covers only the notes you read, and Xiaohongshu does not say how deleted or hidden notes affect the total, so the two rarely match exactly.
- PGY, Xiaohongshu's creator marketplace, shows the same combined figure for creators; okdata returns it as `ext.likes_and_saves` on [PGY creator detail](/apis/xiaohongshu/pgy/creators/get/).
- For follower counts across a list of creators, see [creator profile followers](/answers/xiaohongshu-creator-profile-followers/); which ID a lookup needs is in [user ID vs 小红书号](/answers/xiaohongshu-user-id-vs-red-id/).

## Endpoints used

- [Xiaohongshu account profile](https://okdata.online/apis/xiaohongshu/users/get/) `xiaohongshu.users.get`: $0.02 per call
- [Xiaohongshu account notes](https://okdata.online/apis/xiaohongshu/users/notes/list/) `xiaohongshu.users.notes.list`: $0.02 per call · about 20 notes per page

## More about Xiaohongshu (RedNote)

- [Xiaohongshu (RedNote) API](https://okdata.online/apis/xiaohongshu/)
- [Xiaohongshu API in Python: notes, profiles and comments (2026)](https://okdata.online/guides/xiaohongshu-api-python/)
- [How to export Xiaohongshu comments for a keyword](https://okdata.online/guides/xiaohongshu-note-comments/)
- [How to shortlist Xiaohongshu PGY creators by rate and reads](https://okdata.online/guides/xiaohongshu-pgy-creator-rates/)
- [How to search Xiaohongshu notes and export them to CSV](https://okdata.online/guides/xiaohongshu-search-export-notes/)
- [How do I get an AI daily report of what competitors posted on Xiaohongshu and Douyin?](https://okdata.online/answers/ai-competitor-daily-report/)
- [How do I get a Xiaohongshu creator's follower count, likes and note count by API?](https://okdata.online/answers/xiaohongshu-creator-profile-followers/)
- [How do I export every note from a Xiaohongshu creator's profile?](https://okdata.online/answers/xiaohongshu-export-creator-notes/)
- [How do I find Xiaohongshu KOLs in a niche and get their follower counts?](https://okdata.online/answers/xiaohongshu-find-kol-creators/)
- [Xiaohongshu user ID vs 小红书号: which one does an API need?](https://okdata.online/answers/xiaohongshu-user-id-vs-red-id/)
- [Scraping it yourself vs a per-call data API: cost, upkeep and risk](https://okdata.online/compare/scraping-vs-data-api/)
- [How to choose a social media data API (2026)](https://okdata.online/compare/social-media-data-apis/)
- [MCP servers for social media data: self-hosted vs hosted](https://okdata.online/compare/social-media-data-mcp-servers/)
- [Xiaohongshu data APIs: official, third-party or open-source (2026)](https://okdata.online/compare/xiaohongshu-data-apis/)

## Sources

- [Xiaohongshu user stats: stats.likes looks like the 获赞与收藏 total, and note counts can be rounded (catbus issue #7)](https://github.com/cv-cat/catbus/issues/7) (read 2026-11-12)

Where people asked this (read 2026-11-12): 

- https://github.com/cv-cat/catbus/issues/7

Updated 2026-11-12
