Xiaohongshu (RedNote) Search Suggestions API
Get Xiaohongshu (RedNote) search suggestions from a seed keyword for autocomplete, long-tail keyword research and AI agent query expansion. Send keyword as a GET query parameter through the justoneapi implementation and read suggestion text, category labels and optional display fields, then run a separate note search when you need matching posts rather than candidate search phrases.
- Selected price
- $0.023077 / callPublished pricing
- Sellers / APIs
- 2 / 2
- Requests · 30d
- —Statistics unavailable
- Success rate · 30d
- —Statistics unavailable
Xiaohongshu (RedNote) Search Suggestions API
Prepare your request, then continue with your agent.
Selected price
$0.023077 / call
- Provider
- Pricing
On this page
Overview
Xiaohongshu (RedNote) Search Suggestions API
This justoneapi V1 implementation accepts a keyword query parameter and returns suggestion entries under data.items. The published example includes note-search and goods-search suggestions, with text, category labels and optional display fields. Use these entries to prepare search terms or populate a suggestion list; retrieve note content through a separate search or detail API.
Quick Facts
| Item | Value |
|---|---|
| Implementation | justoneapi · V1 |
| Method | GET |
| Endpoint | https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/search-recommend/v1 |
| Authentication | OpenAny API key as Bearer authentication |
| Required input | keyword — string, query parameter |
| Output | Suggestion entries in data.items |
| Billing model | Fixed per API call |
What You Can Build
- Search-box autocomplete: Submit a seed term and display the returned
textvalues as selectable search candidates. - Long-tail keyword research: Collect suggestion phrases for content planning. Keep category labels with the phrases; these results do not provide keyword search volume.
- AI agent query expansion: Give an agent the candidate terms, let it choose a relevant phrase, then make a separate Xiaohongshu note-search request. The suggestion request and subsequent search are separate API calls.
Input and Encoding
| Parameter | Location | Type | Required | Usage |
|---|---|---|---|---|
keyword |
Query | String | Yes | Seed keyword used to request suggestions |
The published schema does not specify a length range or a guaranteed list of supported languages. The saved response example contains Chinese suggestions. Use normal URL query encoding; the cURL command below handles encoding automatically. This GET route does not take a JSON request body.
Quick Start
- Set
OPENANY_API_KEYin your environment. - Run the request template with your seed keyword.
- Check the HTTP response, then read the available suggestion entries in
data.items.
curl --get \
'https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/search-recommend/v1' \
--data-urlencode 'keyword=美食' \
--header "Authorization: Bearer ${OPENANY_API_KEY}"
Response Example
Published response example, shortened from 16 items to two. The response envelope and every field on the two retained entries are preserved. This is a historical documentation example, separate from the request template above.
{
"code": 0,
"data": {
"items": [
{
"highlight_flags": [
true,
true,
false,
false
],
"icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png",
"icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png",
"is_intervened": false,
"link": "",
"search_type": "notes",
"text": "美食推荐",
"type": "top_note"
},
{
"desc": "10万+件商品",
"icon": "http://picasso-static.xiaohongshu.com/fe-platform/d7fc3daa411fabb5be4abd716818ca1ed9d3dbcc.png",
"icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/91c95dd77e74b00c33f2035265a249cf35ca89a1.png",
"search_type": "goods",
"text": "美食",
"type": "query_goods"
}
],
"result": {
"message": "success",
"success": true
},
"search_cpl_id": "d9ad1684c4ee28974978e9f56adb5a83",
"word_request_id": "96d73a3b916fa3cf9395c789ead010f2"
},
"message": null,
"recordTime": null
}
Fields for Keyword Workflows
| Field | Meaning and use |
|---|---|
data.items |
Suggestion entries. Optional fields can differ between entries and categories. |
data.items[].text |
Suggestion text to display or use as a candidate for a later query. |
data.items[].search_type |
Search-category label. The saved example contains notes and goods; these observed values are not a published exhaustive enum. |
data.items[].type |
Upstream item-type label. The retained entries contain top_note and query_goods; keep these labels when mapping results. |
data.items[].desc |
Optional secondary display text. The goods entry contains 10万+件商品; this is not a keyword search-volume field. |
data.items[].link |
Link value supplied by the entry. It is an empty string on the retained note suggestion, so do not construct a destination from that value. |
Additional Display Fields
| Field | Documented or observed behavior |
|---|---|
data.items[].icon |
Image URL included in the saved entries. |
data.items[].icon_night |
A separate image URL. The available contract does not define its theme-selection behavior. |
data.items[].highlight_flags |
Boolean array on the retained note suggestion. The contract does not define how its positions map to text characters. |
data.items[].is_intervened |
Boolean on the retained note suggestion. The available contract does not define its business criteria; do not use it alone to classify an item as advertising or promotion. |
code |
Response-level code; the saved example contains 0. |
message, recordTime |
Both are null in the saved example. Handle them without assuming populated text or a timestamp. |
The goods entry omits several fields present on the note entry. Check whether each optional field exists instead of treating a missing field as false, zero or an empty value.
Provider Options
| Implementation | Keyword parameter | Saved response reference |
|---|---|---|
| justoneapi · V1 — shown in this guide | Required string in query | Historical documentation example with suggestion entries |
| TikHub | Optional string in query | Schema template with data: null; no suggestion entries are illustrated |
Use each provider’s own contract when switching implementations. The justoneapi response above is not the response reference for TikHub.
Pricing and Billing
This justoneapi implementation is listed with fixed per-call pricing. Its billing unit is the API call, not the number of suggestions returned. The displayed rate follows the selected implementation; a request to justoneapi uses its current contract.
A follow-up note search or note-detail request is a separate API call with its own billing contract.
Frequently Asked Questions
Continue the Search Workflow
- Search Xiaohongshu notes: Use a chosen suggestion as a query for a separate search request.
- Retrieve note details: Use a note identifier from a later search result to request its details.
- justoneapi V1 request contract
- TikHub request contract
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
Current Xiaohongshu (RedNote) Search Suggestions API · GET · View API reference | $0.023077 / call | — | —successP50— | |
| Fetch search suggestions · GET · View API reference | $0.01 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.023077
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 6. Contract updated: Dec 4, 2026, 06:27 AM (UTC).
Total $2.3077
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/search-recommend/v1- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
keyword | URL query parametersquery | string | Yes | Search keyword. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
codeintegerdataobjectitemsobject[]highlight_flagsboolean[]iconstringicon_nightstringis_intervenedbooleanlinkstringsearch_typestringtextstringtypestringdescstring
resultobjectmessagestringsuccessboolean
search_cpl_idstringword_request_idstring
messagenullrecordTimenull
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Historical response; independent request temp
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
keyword- Search keyword.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu/search-recommend/v1?keyword=%3CREPLACE_KEYWORD%3E' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "code": 0, "data": { "items": [ { "highlight_flags": [ true, true, false, false ], "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png", "is_intervened": false, "link": "", "search_type": "notes", "text": "美食推荐", "type": "top_note" }, { "highlight_flags": [ true, true, false, false, false, false, false, false, false ], "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png", "is_intervened": false, "link": "", "search_type": "notes", "text": "美食家常菜做法大全", "type": "top_note" }, { "highlight_flags": [ true, true, false, false, false, false ], "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png", "is_intervened": false, "link": "", "search_type": "notes", "text": "美食图片真实", "type": "top_note" }, { "desc": "10万+件商品", "icon": "http://picasso-static.xiaohongshu.com/fe-platform/d7fc3daa411fabb5be4abd716818ca1ed9d3dbcc.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/91c95dd77e74b00c33f2035265a249cf35ca89a1.png", "search_type": "goods", "text": "美食", "type": "query_goods" }, { "highlight_flags": [ true, true, false, false ], "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png", "is_intervened": false, "link": "", "search_type": "notes", "text": "美食做法", "type": "top_note" }, { "highlight_flags": [ true, true, false, false, false, false ], "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png", "is_intervened": false, "link": "", "search_type": "notes", "text": "美食吃货视频", "type": "top_note" }, { "highlight_flags": [ true, true, false, false ], "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png", "is_intervened": false, "link": "", "search_type": "notes", "text": "美食图片", "type": "top_note" }, { "highlight_flags": [ true, true, false, false, false, false, false ], "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png", "is_intervened": false, "link": "", "search_type": "notes", "text": "美食文案朋友圈", "type": "top_note" }, { "highlight_flags": [ true, true, false, false, false, false ], "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png", "is_intervened": false, "link": "", "search_type": "notes", "text": "美食文案高级", "type": "top_note" }, { "highlight_flags": [ false, false, true, true ], "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png", "is_intervened": false, "link": "", "search_type": "notes", "text": "附近美食", "type": "top_note" }, { "highlight_flags": [ true, true, false, false ], "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png", "is_intervened": false, "link": "", "search_type": "notes", "text": "美食博主", "type": "top_note" }, { "highlight_flags": [ true, true, false, false, false, false ], "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png", "is_intervened": false, "link": "", "search_type": "notes", "text": "美食滤镜调色", "type": "top_note" }, { "highlight_flags": [ true, true, false, false, false, false, false, false ], "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png", "is_intervened": false, "link": "", "search_type": "notes", "text": "美食奇遇记兑换码", "type": "top_note" }, { "highlight_flags": [ true, true, false, false, false ], "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png", "is_intervened": false, "link": "", "search_type": "notes", "text": "美食的文案", "type": "top_note" }, { "highlight_flags": [ true, true, false, false, false, false ], "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png", "is_intervened": false, "link": "", "search_type": "notes", "text": "美食调色参数", "type": "top_note" }, { "highlight_flags": [ true, true, false, false, false, false, false, false ], "icon": "http://picasso-static.xiaohongshu.com/fe-platform/ada4a11451816f9500d7a3bfd561edfd23a48a21.png", "icon_night": "http://picasso-static.xiaohongshu.com/fe-platform/20107487de37f8896d23383e41f43df5058f9f62.png", "is_intervened": false, "link": "", "search_type": "notes", "text": "美食吃货视频大全", "type": "top_note" } ], "result": { "message": "success", "success": true }, "search_cpl_id": "d9ad1684c4ee28974978e9f56adb5a83", "word_request_id": "96d73a3b916fa3cf9395c789ead010f2" }, "message": null, "recordTime": null }