SocialToAIStart freeConsole
POST/v1/call/xiaohongshu.topicPreview

Xiaohongshu (RedNote) topic detail API

Only on Xiaohongshu.

The Xiaohongshu (RedNote) topic detail API returns one Xiaohongshu topic by its page ID: name, description, views, the discussion count the page shows, share link. One call costs 12 credits ($0.024 to $0.04 depending on the pack); failed calls are free. Call it over HTTP or from your AI client over MCP. Last tested 2026-10-17.

100 credits on sign-up, no card needed
12 creditsper call
One objectreturned per call
2026-10-17last tested
760 Bsample response, 1 item

Last updated:

Preview: this interface is not marked stable yet, so its parameters and fields may still change. It is charged like any other call, and a failed call is not charged.

Request and response

curl https://api.socialtoai.com/v1/call/xiaohongshu.topic \  -H "Authorization: Bearer $SOCIALTOAI_KEY" \  -H "Content-Type: application/json" \  -d '{    "id": "5eb2e2ffbd997100014327bc"  }'
import osimport requestsresponse = requests.post(    "https://api.socialtoai.com/v1/call/xiaohongshu.topic",    headers={"Authorization": f"Bearer {os.environ['SOCIALTOAI_KEY']}"},    json={        "id": "5eb2e2ffbd997100014327bc",    },)print(response.json())
# Connected over MCP? Ask in plain words.Use the Xiaohongshu topic detail interface (xiaohongshu.topic) with id: 5eb2e2ffbd997100014327bc.# Your AI calls the call tool with:{  "id": "5eb2e2ffbd997100014327bc"}
Sign in to run12 creditsOpens in the Playground with these parameters after you sign in. It never runs by itself.
200 OK760 B12 credits
{  "op": "xiaohongshu.topic",  "platform": "xiaohongshu",  "status": "ok",  "items": [    {      "platform": "xiaohongshu",      "id": "…",      "ref": "…",      "approx": [],      "type": "entry",      "entry_type": "topic",      "title": "…",      "url": "https://example.com/…",      "rank": null,      "heat": null,      "fields": {        "description": null,        "views": 8553318142,        "posts": null      }    }  ],  "unavailable": ["fields.posts"],  "cost_credits": 12}
entry_type
topic
description
null
views
8553318142
posts
null

Names and text were removed from the sample; the numbers are as recorded.

Sample dataFull response

1 parameter.
All required.

Send them as a JSON body with POST. Your key goes in the Authorization header, never in the URL.

NameTypeRequiredDefaultDescription
idstringRequired—Topic page ID, 24 hexadecimal characters

Where to get what you send.

id

Topic page ID, 24 hexadecimal characters (e.g. 5eb2e2ffbd997100014327bc)

No other interface of the platform returns it: take it from the web page or link as described above.

The fields of each item.
What Xiaohongshu cannot give is marked.

FieldTypeMeaning
items[].titlestringThe entry's title or name.
items[].urlstringA link that opens it; null where the platform's list has none.
items[].rankintegerPosition on a board, from 1.
items[].heatintegerThe platform's heat score.
items[].fields.descriptionstringThe topic's own description; null when it has none.
items[].fields.viewsintegerViews of the topic.
items[].fields.postsintegeralways nullPosts under the topic.
nullFields Xiaohongshu cannot give

Read null as “Xiaohongshu did not give this”, not as zero. These are always null on this call:

  • fields.postsPosts under the topic.

Every item also has platform, id, ref, approx and type; the response around the items is the same on every call. Response format

What to expect.

One call returns one object, with no pages, for 12 credits.

1 call per second per key, 5 after a purchase; going over is not charged. Rate limits

A failed call costs 0 credits and is never retried on its own. Error codes

Once connected over MCP, these questions use it.

  1. Get one Xiaohongshu topic by its page ID: 5eb2e2ffbd997100014327bc.
    call {"op":"xiaohongshu.topic","id":"5eb2e2ffbd997100014327bc"}
    12 credits

Questions.
Short answers.

Everything on Xiaohongshu
Do I need a Xiaohongshu account or Xiaohongshu's own API access?
No. You only need a SocialToAI key. The call returns content and account information publicly visible on Xiaohongshu; you never sign in to Xiaohongshu or apply for anything there.
What does “Preview” mean here?
Preview: this interface is not marked stable yet, so its parameters and fields may still change. It is charged like any other call, and a failed call is not charged.

Your AI is one URL away
from all of social media.

100 credits on sign-up, no card needed