How to search Xiaohongshu image notes by keyword
Scan Xiaohongshu image notes by keyword and compare engagement, creators, and image URLs for visual research
On this page
You need 20 Xiaohongshu image notes for the keyword 咖啡 to fill a café mood board, and five of them will be chosen as visual references for a client deck. One call to tikhub.xiaohongshu.app_v2.search_images with that keyword returns a page of image note records, and the work is turning those records into a table your team can sort, compare and argue about
The worksheet below is the deliverable. Values here are placeholders showing the shape, and each column maps to a field the contract lists
Example input and the shortlist worksheet
Example input, with the keyword a social media researcher would send. Replace it with your own term
| Field | Value |
|---|---|
query.keyword | 咖啡 |
query.page | 1 |
query.source | explore_feed |
The agent writes one row per item in data.items, using these columns
| Title | Note id | Published | Likes | Comments | Saves | Creator | Image URL | Pick |
|---|---|---|---|---|---|---|---|---|
| (note_info.title) | (note_info.note_id) | (publish_time.text) | (integer) | (integer) | (integer) | (nickname) | (image_info.url) | keep or cut |
The Pick column is yours. The remaining columns come from the response, so a missing field means a missing column rather than a blank guess
Step 1: send the keyword and page through results
query is a required object and query.keyword is the required field inside it. query.page defaults to 1, and query.source defaults to explore_feed. The catalog lists the endpoint, and the tool is called through POST /v1/runs with toolId tikhub.xiaohongshu.app_v2.search_images
For a later page, copy query.search_id, query.search_session_id and query.word_request_id from the first response and send them back with the new page number. Guessing those values wastes a call
The limit that sits on this step: the output is the supplier's raw JSON with no fixed schema, so the columns you get can vary by query. Read the field names on your first page before you plan a wider scan. Field names in the contract were observed on one run only, and keys not listed there may or may not appear on other inputs
Step 2: read the fields that drive the shortlist
Four blocks carry the decision. note_info holds the post itself: title, note_id, publish_time.text, liked_count, comments_count and collected_count. user_info holds nickname, plus red_id and user_id if you need a stable handle on the creator. image_info holds url, and the contract also lists original and url_size_large in the observed shape
note_info.publish_time is an object with a text string, not a timestamp, so treat it as a label and normalise it before sorting. note_info.note_id is the row key and the value to keep when you send five picks to the deck
Engagement counts are integers. Likes, comments and saves together separate a note that travelled from one that only has a strong cover image, which is what a mood board brief usually asks you to weigh
The pagination values live in data.filter_items, an array whose entries carry word_request_id. Read them from there rather than from data.items
What one real call returned
One call was made on 2026-11-13 with the input {"query": {"keyword": "咖啡", "page": 1, "search_id": "", "search_session_id": "", "source": "explore_feed", "word_request_id": ""}}. Billing status settled, with $0.01 charged against a $0.01 ceiling
data.items was an array with 20 items, and the first item carried the keys note_info, user_info, image_info and share_info. data.filter_items was an array with 1 item, whose keys were id, name, type, filter_tags, group_show_type and word_request_id. The top-level keys under data were items and filter_items
That is one input on one day. It tells you the shape to expect for a first page, not a promise about your keyword
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to search Xiaohongshu
image notes for the keyword 咖啡 (Example; swap in your own keyword).
Check the current inputs and price of
tikhub.xiaohongshu.app_v2.search_images before running anything.
Call it once with query.keyword set, query.page at 1 and query.source at
explore_feed. The output is supplier JSON with no fixed schema, so read the
field names from the response before building the table, and do not invent
rows for fields that are absent.
Return a table with note_info.title, note_info.note_id,
note_info.publish_time.text, note_info.liked_count,
note_info.comments_count, note_info.collected_count, user_info.nickname and
image_info.url, plus an empty Pick column. If a second page is needed, copy
query.search_id, query.search_session_id and query.word_request_id from the
first response and pass them with query.page set to 2.Run the prompt on one keyword before you point it at a list of ten
Estimated tool cost
Prices from the Purrkey catalog, read through inspect on November 13, 2026. The rule text is "Fixed per-call price; successful empty results are charged." The unit is max_call: Maximum per call. Successful runs settle at the actual AnyAPI charge. The totals below are ceilings
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Single first-page keyword search | calls x max price | $0.01 per call | 1 | $0.01 |
| Ten-keyword image scan | calls x max price | $0.01 per call | 10 | $0.10 |
A keyword that returns an empty page still settles at the fixed price, so a thin scan is not cheaper per call. Model fees for the agent are not counted
Next step
Send one keyword, confirm your columns exist, then widen the scan. The tool page is xiaohongshu search_images, and the note-level companion guide is search Xiaohongshu notes by keyword
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.FAQ
How do I search Xiaohongshu image notes by keyword?
Call tikhub.xiaohongshu.app_v2.search_images with query.keyword set to your term and query.page at 1. The response carries data.items, one record per note, and data.filter_items, which holds the search filters and the word_request_id you need for pagination.
What inputs does tikhub.xiaohongshu.app_v2.search_images take?
query.keyword is required. query.page defaults to 1 and query.source defaults to explore_feed. query.search_id, query.search_session_id and query.word_request_id are optional and are copied from the first response when you fetch a later page.
How much does one Xiaohongshu image search cost?
The listing is $0.01 per call. The rule text says successful empty results are charged, so a keyword that returns nothing usable costs the same as a page of notes.
How many items come back from one page?
On one real call made on 2026-11-13 with the keyword 咖啡 and page set to 1, data.items was an array with 20 items.
Why do the available columns change between keywords?
The output is the supplier's raw JSON with no fixed schema, so the fields present can vary by query. Field names in the contract were observed on a single run, so read the field names from your own first page before building a table.
How do I fetch page 2 of a Xiaohongshu image search?
Copy query.search_id, query.search_session_id and query.word_request_id from the first response and send them with query.page set to 2. Do not type placeholder values into those fields.
Which response fields should I compare for a visual shortlist?
note_info.title, note_info.publish_time.text, note_info.liked_count, note_info.comments_count, note_info.collected_count, user_info.nickname and image_info.url, with note_info.note_id as the row key.
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.