How to fetch a Xiaohongshu product detail by SKU ID
Get the supplier-preserved product detail JSON for one Xiaohongshu SKU ID in a single API call
On this page
You have five Xiaohongshu product SKU IDs from a shopping shortlist and need each item's supplier JSON before deciding which SKUs to review further. The worksheet below is the deliverable: one row per SKU ID with the supplier-defined JSON. This guide uses one call per SKU, so the evidence stays tied to the exact SKU ID. The shortlist stays small, and the table gives you a place to attach the supplier JSON to each SKU ID
Example input and worksheet design
Example SKU ID: 6aac9e33000000000d0243ed. Replace it with your own SKU ID before running the prompt
The design has one row per SKU ID. The data column holds the supplier-defined JSON as returned, not split into fixed columns. Values here are placeholders showing the shape. A row with a supplier object can move to review; a row with an empty cell can be left as evidence
| SKU ID | data (supplier-defined JSON) |
|---|---|
| 6aac9e33000000000d0243ed | (supplier JSON placeholder) |
Keep the SKU ID as the join key for the shortlist. Do not reuse one row for a different SKU ID. If you add a decision column, fill it after you read the first page; the decision belongs to the operator, not to the tool. That note keeps the operator decision separate from the supplier response
Input and call shape
Call tikhub.xiaohongshu.app_v2.get_product_detail through POST /v1/runs with toolId tikhub.xiaohongshu.app_v2.get_product_detail. The contract requires query, and inside it query.sku_id. query.pre_page and query.source are optional strings; each defaults to mall_search. The reader supplies the product SKU ID as sku_id
The contract shows these fields, so check the current inputs and price before the first call. For the wider Xiaohongshu API surface, see the companion article
The tool description says the supplier-defined JSON is preserved without the billing or debug envelope. The output section names data and says the supplier JSON is preserved as is. It says the shape was observed from one real run, and keys not listed may or may not appear on other inputs. The output is the supplier's raw JSON with no fixed schema. Read the field names from the first page before mapping later rows; this avoids assuming that later responses share the field names. Use data to decide: keep the row when the supplier object has the product detail you need, mark it empty when the supplier returns no usable object, and send unclear rows to manual review. A successful empty result is charged under the rule text
What one real call returned
Run date: 2026-11-13. Input sent: {"query": {"pre_page": "mall_search", "sku_id": "6aac9e33000000000d0243ed", "source": "mall_search"}}. Billing status: SETTLED, charged $0.01 against a ceiling of $0.01. Item counts and top-level keys: not listed in the run facts supplied for this article
Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch the product detail JSON for each Xiaohongshu SKU ID below. Check the current inputs and price of tikhub.xiaohongshu.app_v2.get_product_detail before running anything. Call the tool once per SKU ID. Send {"query": {"sku_id": "<SKU_ID>", "pre_page": "mall_search", "source": "mall_search"}} for each row. Read the field names from the first response page before mapping later rows. Return a table with SKU ID and data (supplier-defined JSON). Mark a row as empty when the supplier returns no usable object. Do not assume fields that are absent.
Example SKU ID: 6aac9e33000000000d0243edReplace the example SKU ID with your own before running the prompt. The prompt keeps one call per SKU ID and returns the raw supplier JSON in the table
Estimated tool cost
Prices from the Purrkey catalog, read November 13, 2026. The listing is a fixed per-call price of $0.01 per call, and the rule text says successful empty results are charged. The totals below are ceilings based on that fixed price. Model fees for the agent are not counted
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Check one SKU | 1 call x $0.01 | $0.01 per call | 1 call | $0.01 |
| Check ten SKUs | 10 calls x $0.01 | $0.01 per call | 10 calls | $0.10 |
A one-SKU check is a small first run. A ten-SKU check matches a shortlist and stays tied to ten separate calls. If a row returns empty, the charge still applies, so budget by calls, not by non-empty rows. If your planned quantity changes, multiply the number of calls by $0.01
Next action
Open the product detail tool page to check the current input fields and price before your first call
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 fetch a Xiaohongshu product detail by SKU ID?
Call tikhub.xiaohongshu.app_v2.get_product_detail once per SKU ID, with query.sku_id set to the product SKU ID. The response preserves the supplier JSON for that SKU ID and keeps the evidence tied to the exact ID.
What inputs does the product detail tool require?
The contract requires query, and inside it query.sku_id. query.pre_page and query.source are optional strings that default to mall_search.
What does the output look like?
The output preserves the supplier JSON as is. The contract's output section names data and says keys not listed may or may not appear on other inputs.
How much does it cost to check one or ten SKU IDs?
At the fixed price of $0.01 per call, one SKU costs $0.01 and ten SKUs cost $0.10. Successful empty results are charged, so an empty row still has a cost.
Why should I call the tool once per SKU ID?
One call per SKU ID keeps the returned supplier JSON tied to the exact ID in your shortlist. It also avoids assuming that later responses share the field names seen on the first page.
What happens when the supplier returns an empty result?
The supplier JSON is preserved as is, and the rule text says successful empty results are charged. Mark the row as empty and do not infer missing product fields.
Where can I check the current inputs and price?
Check the tool page linked at the end of the guide before running the first call. The agent prompt also tells the agent to check the current inputs and price before running.
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.