Xiaohongshu product search
Xiaohongshu product search: inspect inputs, product fields, pagination and limits, then run a local simulated request.
Copy the agent prompt manually
What this capability does
Xiaohongshu product search uses /v1/xiaohongshu/shop/products/search; GET returns data.items with product objects.
This is a local simulation. Program-generated samples are not live platform data and do not establish provider availability.
- Capability: xiaohongshu.shop.products.search
- Pagination: use the signed cursor from the response and request each page explicitly.
Input contract
Inspect meanings, examples and conditional rules for the selected method. view and fields control the response without changing the TEST unit price.
- Only send fields defined for this method; unknown fields are rejected before execution.
| Method | Field | Type | Requirement | Meaning | Enum or bound | Example |
|---|---|---|---|---|---|---|
| GET | query | string | Required | Search terms | — | "防晒霜" |
| GET | cursor | string | Optional / conditional | The `next_cursor` of the previous page. A new page is a new call. | — | — |
| GET | view | string | Optional / conditional | How much of each item: compact (the most used fields, long text cut short), standard, or full (adds `ext`). | ["compact","standard","full"] | — |
| GET | fields | array | Optional / conditional | Return only these fields of each item, by path (`author.name`). | maxItems: 64 | — |
Try it locally
Use demo to inspect the fields, then explicitly select simulated with a customer test key to exercise settlement. Never put a customer key in a URL.
{
"capability": "xiaohongshu.shop.products.search",
"method": "GET",
"params": {
"query": "防晒霜"
}
}Output fields and interpretation
The product object permits missing or null values; do not replace missing measurements with zero. This table shows the main structure; the object reference covers nested fields.
| Field | Type | Meaning | Source scope |
|---|---|---|---|
| id | string | null | ID; pass it unchanged to the endpoints that get the product and list its reviews | Xiaohongshu (RedNote) |
| url | string | null | Link that opens the product | Xiaohongshu (RedNote) |
| title | string | null | Title of the product | Xiaohongshu (RedNote) |
| description | string | null | The text of the product's description (standard view and up) | Xiaohongshu (RedNote) |
| price | string | null | Current price; the lowest one when its variants are priced differently | Xiaohongshu (RedNote) |
| original_price | string | null | The price before the discount; null when there is none (standard view and up) | Xiaohongshu (RedNote) |
| currency | string | null | Currency of the prices, an ISO 4217 code | Xiaohongshu (RedNote) |
| images | array | null | Addresses of the product's pictures (standard view and up) | Xiaohongshu (RedNote) |
| rating | number | null | Buyers' rating, out of 5 | Xiaohongshu (RedNote) |
| metrics | object | null | Product counts | Xiaohongshu (RedNote) |
| metrics.sold | integer | null | Units sold | Xiaohongshu (RedNote) |
| metrics.reviews | integer | null | Reviews | Xiaohongshu (RedNote) |
| shop | object | null | The shop that sells it | Xiaohongshu (RedNote) |
| shop.id | string | null | Shop ID | Xiaohongshu (RedNote) |
| shop.name | string | null | Name of the shop | Xiaohongshu (RedNote) |
| approximate | array | null | Which numbers of this item are approximate or lower bounds; absent when all are exact | Xiaohongshu (RedNote) |
| approximate[].field | string | null | Path of the field, such as metrics.views | Xiaohongshu (RedNote) |
| approximate[].kind | string | null | Approximate, or a lower bound | Xiaohongshu (RedNote) |
| ext | object | — | Xiaohongshu (RedNote) |
Limits and checks
A successful request does not establish full coverage. Preserve the request ID, observation time, parameters and cursor, and inspect the returned items before analysis.
Local simulation uses TEST credits only. Real provider calls, real payments and external email are disabled. Historical reference-site prices are not DataNavoAPI prices.
- Verify media URLs, counts and optional fields individually.
Clear inputs. Inspectable output.
Each click runs a local fixture. Advanced JSON inputs are checked against the selected method. Editing does not execute a request.
Copying does not execute. CLI quote is read-only and needs a local customer TEST key. Configure MCP in demo mode first. GET and POST batches both return only fictional local fixtures.
Download contract example (no execution) ↗For TEST budgets, Key scopes or failure scenarios, open the account console. Customer sandbox ↗