Social media5 min readBy Purrkey teamUpdated

How to fetch a Xiaohongshu image note from a share link

Fetch a Xiaohongshu image note's returned detail and share fields from a note ID or share link, and turn the JSON into a review table

On this page

You have 20 Xiaohongshu image-note share links from a campaign and need the title, description and engagement counts for each one before deciding which posts to reuse. One call to tikhub.xiaohongshu.app_v2.get_image_note_detail per link returns the note as supplier JSON, and you fold the fields into a shortlist an editor can read

The table below is the deliverable: one row per note, with the identity fields, the counts that decide reuse, the link to quote in the review and a decision column. The 20-note batch has not been run. Values here are placeholders showing the shape

The task and the review table

idtitledesctimeuser.nicknameview_countliked_countcomments_countcollected_countshare_info.linkreview_decision
(returned id)(title or missing)(first line of desc)(integer)(nickname)(integer)(integer)(integer)(integer)(link or missing)keep, revise or drop

Keep means the note goes to the editor's shortlist, revise means the copy or the image needs a change before reuse, drop means the note leaves the batch. A row where note_list comes back empty stops there, and you cannot score a note you did not get

What you send to the tool

The schema lists two optional string fields inside a query object: query.note_id for the ID taken from a Xiaohongshu note URL, and query.share_text for a share link. The description for query.share_text names xiaohongshu.com, xhslink.com and xhslink.cn as the supported hosts. Agents call it through POST /v1/runs with toolId tikhub.xiaohongshu.app_v2.get_image_note_detail

Example input, invented for this guide: use an ID from one of your own URLs in query.note_id, or send the share text in query.share_text instead. There is a companion article on the note-details-by-ID route at Xiaohongshu note details by ID

Reading the fields that drive the decision

One response holds a data array. Each item in it carries a note_list array, and the note you asked for sits inside that with the fields the review needs

  • id: the join key back to your link list
  • title and desc: what the editor reads first
  • time: an integer, recorded as returned
  • user.nickname: the account that posted the note
  • view_count, liked_count, comments_count, collected_count: integers to sort the shortlist by
  • share_info.link: the URL to paste into the review sheet

Sort on the counts first, then read titles and descriptions. A note with a high liked_count and a thin desc is a candidate for revise rather than keep, but the decision column stays yours

The limit sits right here, next to the step it affects: the output is the supplier's raw JSON with no fixed schema. The contract says keys not listed may or may not appear on other inputs, and the field names under output were observed on one run. Write the table so a missing collected_count becomes an empty cell instead of a broken row. An empty note_list is billed as well, because the price rule reads "Fixed per-call price; successful empty results are charged."

What one real call returned

One call was made on 2026-11-13 with the input {"query": {"note_id": "6aac9e33000000000d0243ed"}}. Billing settled at 0.01 USD charged against a ceiling of 0.01 USD. The response held data as an array with 1 item, and the first item carried the top-level keys user, track_id, note_list, model_type and comment_list. Those key names come from this single run, which is also where the field names listed in the contract were observed

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch Xiaohongshu
image note details for the notes below. Check the current inputs and price of
tikhub.xiaohongshu.app_v2.get_image_note_detail before running anything. Call
the tool once per note. Read the field names from the first response page
instead of assuming them, and keep the supplier JSON as it comes. Return a
table with id, title, desc, time, user.nickname, view_count, liked_count,
comments_count, collected_count, share_info.link and review_decision. Write
"missing" in a cell when a key is absent, never invent a value, and set
review_decision to keep, revise or drop from the counts and the description.
Do not score rows where note_list is empty.

Example rows, invented for this guide, one note ID per line:
6aac9e33000000000d0243ed
(18 more of your own IDs, or the share text you collected)

Replace the example IDs with your own list. The schema takes a note ID in query.note_id or a link in query.share_text, so a mixed list still works

Estimated tool cost

Prices read through inspect on November 13, 2026. The unit is max_call, which the catalog defines as "Maximum per call. Successful runs settle at the actual AnyAPI charge". The totals below are ceilings, not settled charges

StepFormulaUnit pricePlanned quantityTotal
Single note detailcalls x max price$0.01 per call1$0.01
20-note review batchcalls x max price$0.01 per call20$0.20

Model fees for the agent are not counted. The settled charge for the single call reported above matched its ceiling of $0.01

Next step

Run three links first and check that note_list comes back non-empty and that the counts you plan to sort on are present, then run the remaining 17. The tool page is Get image note detail

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Xiaohongshu.
Explore Xiaohongshu tools and pricing

FAQ

How do I get a Xiaohongshu image note's detail from a share link?

Send the share link in query.share_text, or send the note ID from the URL in query.note_id. One call per note returns the supplier JSON, which you map into a review table with the title, description, counts and share link.

What inputs does tikhub.xiaohongshu.app_v2.get_image_note_detail take?

The schema lists two optional string fields inside a query object: query.note_id for the ID taken from a Xiaohongshu note URL, and query.share_text for a share link on xiaohongshu.com, xhslink.com or xhslink.cn.

Which fields should go into the Xiaohongshu note review table?

The design here uses id, title, desc, time, user.nickname, view_count, liked_count, comments_count, collected_count, share_info.link and a review_decision column you fill yourself.

How much does it cost to check 20 Xiaohongshu notes?

The price is $0.01 per call, so a single note detail is at most $0.01 and a 20-note batch is at most $0.20. The totals are ceilings, not settled charges.

What happens if a share link returns no note?

An empty note_list still costs a call, because the price rule says successful empty results are charged. Mark the row as missing rather than scoring a note that did not come back.

Does the tool return the same fields for every note?

No. The output is the supplier's raw JSON with no fixed schema, so keys may be absent on other inputs. The field names under output were observed on one run on 2026-11-13.

Can I use a note ID instead of a share link?

Yes. query.note_id takes the ID from a Xiaohongshu note URL, and a companion article covers the note details by ID route.

Next step

Try this with Xiaohongshu

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See Xiaohongshu tools

Share this article