Xiaohongshu (RED) Group Search
https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/search-groupsSearches Xiaohongshu community groups by keyword with support for pagination, recommendation flags, and search filters.
- Price
- $0.01USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 1 required · 4 optional
Try the model
Playground
[
{
"data": {
"code": 0,
"data": {
"group_info_list": [
{
"active_info": {
"last_active_time": 0,
"last_seven_day_active_user_num": 1,
"last_seven_day_msg_num": 1,
"yesterday_active_user_num": 0
},
"allow_group_map": true,
"avatar": "https://sns-avatar-qc.xhscdn.com/im-avatar/6705aab84a43c5000181a0cf.png?imageView2/2/w/400/format/png",
"create_source": "iconEntry",
"create_time": 1726006843000,
"group_creator_id": "5b0a501f11be105edbf57a2c",
"group_desc": "",
"group_id": "137043980683949163",
"group_live_switch": true,
"group_master_id": "5b0a501f11be105edbf57a2c",
"group_name": "分享尖端科技,Open最强AI",
"group_type": 1,
"group_user_num": 5,
"has_header_hint": false,
"is_auto_group_name": false,
"is_banned": false,
"is_dismiss": false,
"is_hidden": false,
"is_safe_risk": false,
"join_group_approval": true,
"score": 0,
"show": true,
"show_personal_page": true,
"tag_list": [],
"user_group_state": 1,
"user_num_limit": 500
}
],
"group_search_filters": [
{
"id": "order_by",
"name": "Sort by",
"options": [
{
"id": "default",
"name": "All",
"need_location_permission": false
},
{
"id": "activity",
"name": "Most active",
"need_location_permission": false
},
{
"id": "memberNum",
"name": "Most members",
"need_location_permission": false
}
]
},
{
"id": "location_at",
"name": "Location",
"options": [
{
"id": "default",
"name": "All",
"need_location_permission": false
},
{
"id": "local",
"name": "Same-city",
"need_location_permission": false
}
]
}
],
"has_more": false
},
"debug_id": "1605ab9a",
"debug_info": "gAAAAABqhswvKWGuVWfd1TO0-26PtO_oTRTBeaqYMbf-4y3urjgbLLp-bHQlWzUF5q8MfVcUdpE-KbGjiZ4275U73bWhJCw4BUlA4PyOHsZTcsYj8GQIANnTBUwKtQhrgaoMkrIIHv7E9zLmIHXa1felJWNlawfjQbYFVMV6J_LZMi5Q0NTe4PidywowZYxIKGo-BNkRR16bSCuWQbCz0lEhJvAgP3JxNpajOIteyY1y30DLUEMqJnkfdINakSQgS66WkJKP3XF6y0ymBHnS2LxK5-JEgx5vOcsMVKgoeL94qnenZlRrqH6S6v-i2iE11vAyGu4Bdc_uGXFe-lHfLoroofLvphSEE4mUEVZM2J3p4w6HZGj6RF326MXGknbZj4afRMEL0IAOJy9SGy6HRc2iE389-nfmmBvm2ELfuRB5LKmzE4zdI68=",
"msg": "成功",
"success": true
}
}
]Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.01 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- keyword
- string · required
- is_recommend
- integer · optional
- page_no
- integer · optional
- search_id
- string · optional
- source
- string · optional
Access
- Provider
- Xiaohongshu
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/xiaohongshu/app-v2/search-groups
- Authentication
- Bearer API key
API README
Xiaohongshu (RED) Group Search API
Searches Xiaohongshu community groups matching a target keyword, supporting pagination and recommendation settings.
Use cases
- Discover community groups matching specific topic keywords.
- Browse group search filter options for refined queries.
- Paginate through group search results using returned identifiers.
Request
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/search-groups" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "OpenAI"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword |
source | string | No | Source, default "unifiedSearchGroup" |
page_no | integer | No | Page number, start from 0 |
search_id | string | No | Search ID, pass value from first search response for pagination |
is_recommend | integer | No | Is recommend, 0=no, 1=yes |
Example response
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"data": {
"group_search_filters": [
{
"options": [
{
"id": "default",
"name": "All"
}
]
}
]
}
}
Notes
- Pagination starts at index 0 for
page_no. - Pass
search_idfrom the initial search response when requesting subsequent pages. - Set
is_recommendto 1 to enable recommendations, or 0 for standard search.
Related APIs
- Xiaohongshu (RED) Creator Hot Inspiration Feed: Retrieves creator center hot inspiration feed items with topic titles, popularity scores, and deeplinks.
- Xiaohongshu (RED) Inspiration Feed: Returns recommended inspiration feed items and trending topics from Xiaohongshu (RED).
- Xiaohongshu (RED) Image Note Details: Returns detailed information for a Xiaohongshu image note.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/search-groups" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"source": "unifiedSearchGroup",
"keyword": "OpenAI",
"page_no": 0,
"search_id": "",
"is_recommend": 0
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Xiaohongshu (RED) Group SearchThis API Xiaohongshu | $0.01 per call | JSON | Jul 31, 2026 |
Xiaohongshu | $0.01 per call | JSON | Jul 31, 2026 |
Xiaohongshu | $0.01 per call | JSON | Jul 31, 2026 |
Xiaohongshu | $0.01 per call | JSON | Jul 31, 2026 |
Xiaohongshu | $0.01 per call | JSON | Jul 31, 2026 |
Xiaohongshu | $0.01 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the Xiaohongshu (RED) Group Search API?
Send a POST request to https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/search-groups with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the Xiaohongshu (RED) Group Search API cost?
$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the Xiaohongshu (RED) Group Search API accept?
Required: keyword (string). Optional: is_recommend (integer), page_no (integer), search_id (string) and source (string). The Parameters table and the Playground on this page list every field.
What does the Xiaohongshu (RED) Group Search API return?
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
Do I need a Xiaohongshu developer account or API key?
No. Xiaohongshu (RED) Group Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Xiaohongshu API access separately.
