Skip to content

Xiaohongshu (RedNote) Note Search API (V6) ​

GET
API health status
Healthy Available Limited Mostly unavailable No data
Loading health status...

Searches Xiaohongshu (RedNote) notes by keyword with page-based pagination, sorting, note type, and publish time filters. Each note is returned inside a search result item.

Parameters ​

Name In Type Required Default Description
token query string Yes - Access token for this API service.
keyword query string Yes - Search keyword.
page query integer No 1 Page number, starting at 1.
sortType query string No general Sort order. The popularity_descending value sorts results by likes.


Available Values:

- general: General

- popularity_descending: Popularity Descending

- time_descending: Time Descending

- comment_descending: Comment Descending

- collect_descending: Collect Descending
noteType query string No ALL Note type filter.


Available Values:

- ALL: No Limit

- VIDEO_NOTE: Video Note

- NORMAL_NOTE: Normal Note
timeFilter query string No ALL Publish time filter.


Available Values:

- ALL: No Limit

- ONE_DAY: Within one day

- ONE_WEEK: Within one week

- HALF_YEAR: Within half a year

Code Samples ​

bash
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/xiaohongshu/search-note/v6?token=YOUR_API_KEY&keyword=VALUE'
text
I want to use the "Note Search (V6)" API from JustOneAPI.
Base URL: https://api.justoneapi.com.
API Path: /api/xiaohongshu/search-note/v6?token=YOUR_API_KEY&keyword=VALUE
API Endpoint: BASE_URL + /api/xiaohongshu/search-note/v6?token=YOUR_API_KEY&keyword=VALUE
HTTP Method: GET
Authentication: Append the "token" query parameter to the URL.
OpenAPI Definition: https://docs.justoneapi.com/openapi/xiaohongshu-rednote/note-search-v6-en.json

Parameters:
- token (query): Access token for this API service. (Required)
- keyword (query): Search keyword. (Required)
- page (query): Page number, starting at 1.
- sortType (query): Sort order. The popularity_descending value sorts results by likes.

Available Values:
- `general`: General
- `popularity_descending`: Popularity Descending
- `time_descending`: Time Descending
- `comment_descending`: Comment Descending
- `collect_descending`: Collect Descending
- noteType (query): Note type filter.

Available Values:
- `ALL`: No Limit
- `VIDEO_NOTE`: Video Note
- `NORMAL_NOTE`: Normal Note
- timeFilter (query): Publish time filter.

Available Values:
- `ALL`: No Limit
- `ONE_DAY`: Within one day
- `ONE_WEEK`: Within one week
- `HALF_YEAR`: Within half a year

Return format: safely handle JSON or text according to the actual Content-Type.

Response Handling & Error Codes:
1. Business results should be determined by the "code" field in the response body (code 0 means success).
2. Timeout Recommendation: Set the request timeout to 120 seconds. If 120 seconds is too long for your use case, use at least 60 seconds, but a small number of requests may time out before receiving a result.
3. Business Code Reference:
   - 0: Success
   - 100: Invalid or Inactive Token
   - 301: Collection Failed. Please Retry.
   - 302: Rate Limit Exceeded
   - 303: Daily Quota Exceeded
   - 400: Invalid Parameters
   - 500: Internal Server Error
   - 600: Permission Denied
   - 601: Insufficient Balance
   - 602: Token Budget Exceeded
4. Code 601 means the shared account balance is insufficient. Code 602 means the current API token's own cumulative budget limit has been reached. Token budget limits do not transfer funds out of the shared account balance.

Please help me write a script in my preferred programming language to call this API and handle the response.
python
import requests

BASE_URL = "https://api.justoneapi.com"  # Provided by OpenAPI servers

url = BASE_URL + "/api/xiaohongshu/search-note/v6?token=YOUR_API_KEY&keyword=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
js
const BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
const url = BASE_URL + "/api/xiaohongshu/search-note/v6?token=YOUR_API_KEY&keyword=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
        final String url = BASE_URL + "/api/xiaohongshu/search-note/v6?token=YOUR_API_KEY&keyword=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
go
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // Provided by OpenAPI servers

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/xiaohongshu/search-note/v6?token=YOUR_API_KEY&keyword=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
php
<?php
$BASE_URL = 'https://api.justoneapi.com'; // Provided by OpenAPI servers
$url = $BASE_URL . '/api/xiaohongshu/search-note/v6?token=YOUR_API_KEY&keyword=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}

Response Fields ​

Key fields in a successful response (code = 0).

Field path Type Description
data object One page of Xiaohongshu note search results.
data.items array Search results for the requested page.
data.items[] object A search result and its attached note, when present.
data.items[].model_type string Result type label.
data.items[].note object Note details attached to a search result.
data.items[].note.id string Xiaohongshu note ID.
data.items[].note.title string Note title.
data.items[].note.desc string Note description.
data.items[].note.type string Note type label, such as normal or video.
data.items[].note.xsec_token string Xiaohongshu token associated with the note.
data.items[].note.video_duration string Video duration text.
data.items[].note.video_preview_type string Video preview type.
data.items[].note.timestamp integer Note publication time as a Unix timestamp in seconds.
data.items[].note.last_update_time integer Last update time as a Unix timestamp in seconds, when positive.
data.items[].note.liked_count integer Number of likes.
data.items[].note.comments_count integer Number of comments.
data.items[].note.collected_count integer Number of saves.
data.items[].note.cover_image_index integer Cover image index.
data.items[].note.extract_text_enabled integer Numeric flag for text extraction.
data.items[].note.liked boolean Whether the note is marked as liked in the response.
data.items[].note.collected boolean Whether the note is marked as saved in the response.
data.items[].note.has_music boolean Whether the note has music.
data.items[].note.user object Author information returned with the note.
data.items[].note.user.userid string Xiaohongshu author ID.
data.items[].note.user.red_id string Author's Xiaohongshu account handle.
data.items[].note.user.nickname string Author's display name.
data.items[].note.user.images string Author's profile image URL.
data.items[].note.user.red_official_verified boolean Whether the author is marked as officially verified.
data.items[].note.user.red_official_verify_type integer Numeric official verification type.
data.items[].note.user.show_red_official_verify_icon boolean Whether the official verification icon is displayed.
data.items[].note.user.followed boolean Whether the author is marked as followed in the response.
data.items[].note.images_list array Images or covers returned with the search result.
data.items[].note.images_list[] object One image or cover.
data.items[].note.images_list[].fileid string Media file identifier.
data.items[].note.images_list[].url string Image URL, when populated.
data.items[].note.images_list[].url_size_large string URL for the large image.
data.items[].note.images_list[].original string Original image URL, when populated.
data.items[].note.images_list[].live_photo_file_id string Live Photo file identifier.
data.items[].note.images_list[].width integer Image width in pixels.
data.items[].note.images_list[].height integer Image height in pixels.
data.items[].note.images_list[].need_load_original_image boolean Whether the original image requires an additional load.
data.items[].note.images_list[].live_photo object Motion content attached to a Live Photo.
data.items[].note.images_list[].live_photo.media object Live Photo motion media.
data.items[].note.images_list[].live_photo.media.video_id integer Media video identifier.
data.items[].note.images_list[].live_photo.media.video object Video metadata.
data.items[].note.images_list[].live_photo.media.video.width integer Video width in pixels.
data.items[].note.images_list[].live_photo.media.video.height integer Video height in pixels.
data.items[].note.images_list[].live_photo.media.video.duration integer Video duration reported by Xiaohongshu.
data.items[].note.images_list[].live_photo.media.video.hdr_type integer Numeric HDR type.
data.items[].note.images_list[].live_photo.media.video.drm_type integer Numeric DRM type.
data.items[].note.images_list[].live_photo.media.video.md5 string MD5 value returned for the video.
data.items[].note.images_list[].live_photo.media.video.stream_types array Numeric stream types available for the video.
data.items[].note.images_list[].live_photo.media.video.stream_types[] integer -
data.items[].note.images_list[].live_photo.media.stream object Available playback variants grouped by codec.
data.items[].note.images_list[].live_photo.media.stream.h264 array H.264 playback variants.
data.items[].note.images_list[].live_photo.media.stream.h264[] object A playback stream for the media.
data.items[].note.images_list[].live_photo.media.stream.h264[].master_url string Primary playback URL.
data.items[].note.images_list[].live_photo.media.stream.h264[].format string Stream container format.
data.items[].note.images_list[].live_photo.media.stream.h264[].quality_type string Video quality label.
data.items[].note.images_list[].live_photo.media.stream.h264[].stream_desc string Stream description.
data.items[].note.images_list[].live_photo.media.stream.h264[].video_codec string Video codec name.
data.items[].note.images_list[].live_photo.media.stream.h264[].audio_codec string Audio codec name.
data.items[].note.images_list[].live_photo.media.stream.h264[].backup_urls array Alternative playback URLs.
data.items[].note.images_list[].live_photo.media.stream.h264[].backup_urls[] string -
data.items[].note.images_list[].live_photo.media.stream.h264[].width integer Video width in pixels.
data.items[].note.images_list[].live_photo.media.stream.h264[].height integer Video height in pixels.
data.items[].note.images_list[].live_photo.media.stream.h264[].fps integer Video frame rate.
data.items[].note.images_list[].live_photo.media.stream.h264[].duration integer Stream duration reported by Xiaohongshu.
data.items[].note.images_list[].live_photo.media.stream.h264[].video_duration integer Video track duration.
data.items[].note.images_list[].live_photo.media.stream.h264[].audio_duration integer Audio track duration.
data.items[].note.images_list[].live_photo.media.stream.h264[].stream_type integer Numeric stream type.
data.items[].note.images_list[].live_photo.media.stream.h264[].default_stream integer Numeric flag for the default stream.
data.items[].note.images_list[].live_photo.media.stream.h264[].audio_channels integer Number of audio channels.
data.items[].note.images_list[].live_photo.media.stream.h264[].video_bitrate integer Video bitrate.
data.items[].note.images_list[].live_photo.media.stream.h264[].audio_bitrate integer Audio bitrate.
data.items[].note.images_list[].live_photo.media.stream.h264[].avg_bitrate integer Average stream bitrate.
data.items[].note.images_list[].live_photo.media.stream.h264[].size integer Stream file size.
data.items[].note.images_list[].live_photo.media.stream.h264[].rotate integer Video rotation value.
data.items[].note.images_list[].live_photo.media.stream.h264[].hdrType integer Numeric HDR type.
data.items[].note.images_list[].live_photo.media.stream.h265 array H.265 playback variants.
data.items[].note.images_list[].live_photo.media.stream.h266 array H.266 playback variants.
data.items[].note.images_list[].live_photo.media.stream.av1 array AV1 playback variants.
data.items[].note.video_info_v2 object Video details returned for a video note.
data.items[].note.video_info_v2.image object Video thumbnail metadata.
data.items[].note.video_info_v2.image.thumbnail string Video thumbnail URL.
data.items[].note.video_info_v2.image.thumbnail_dim string Thumbnail dimension text.
data.items[].note.video_info_v2.image.first_frame string URL for the first video frame.
data.items[].note.video_info_v2.media object Video media and playback metadata.
data.items[].note.video_info_v2.media.video_id integer Media video identifier.
data.items[].note.video_info_v2.media.video object Video metadata.
data.items[].note.video_info_v2.media.video.width integer Video width in pixels.
data.items[].note.video_info_v2.media.video.height integer Video height in pixels.
data.items[].note.video_info_v2.media.video.duration integer Video duration reported by Xiaohongshu.
data.items[].note.video_info_v2.media.video.hdr_type integer Numeric HDR type.
data.items[].note.video_info_v2.media.video.drm_type integer Numeric DRM type.
data.items[].note.video_info_v2.media.video.md5 string MD5 value returned for the video.
data.items[].note.video_info_v2.media.video.stream_types array Numeric stream types available for the video.
data.items[].note.video_info_v2.media.video.stream_types[] integer -
data.items[].note.video_info_v2.media.stream object Available playback variants grouped by codec.
data.items[].note.video_info_v2.media.stream.h264 array H.264 playback variants.
data.items[].note.video_info_v2.media.stream.h264[] object A playback stream for the media.
data.items[].note.video_info_v2.media.stream.h264[].master_url string Primary playback URL.
data.items[].note.video_info_v2.media.stream.h264[].format string Stream container format.
data.items[].note.video_info_v2.media.stream.h264[].quality_type string Video quality label.
data.items[].note.video_info_v2.media.stream.h264[].stream_desc string Stream description.
data.items[].note.video_info_v2.media.stream.h264[].video_codec string Video codec name.
data.items[].note.video_info_v2.media.stream.h264[].audio_codec string Audio codec name.
data.items[].note.video_info_v2.media.stream.h264[].backup_urls array Alternative playback URLs.
data.items[].note.video_info_v2.media.stream.h264[].backup_urls[] string -
data.items[].note.video_info_v2.media.stream.h264[].width integer Video width in pixels.
data.items[].note.video_info_v2.media.stream.h264[].height integer Video height in pixels.
data.items[].note.video_info_v2.media.stream.h264[].fps integer Video frame rate.
data.items[].note.video_info_v2.media.stream.h264[].duration integer Stream duration reported by Xiaohongshu.
data.items[].note.video_info_v2.media.stream.h264[].video_duration integer Video track duration.
data.items[].note.video_info_v2.media.stream.h264[].audio_duration integer Audio track duration.
data.items[].note.video_info_v2.media.stream.h264[].stream_type integer Numeric stream type.
data.items[].note.video_info_v2.media.stream.h264[].default_stream integer Numeric flag for the default stream.
data.items[].note.video_info_v2.media.stream.h264[].audio_channels integer Number of audio channels.
data.items[].note.video_info_v2.media.stream.h264[].video_bitrate integer Video bitrate.
data.items[].note.video_info_v2.media.stream.h264[].audio_bitrate integer Audio bitrate.
data.items[].note.video_info_v2.media.stream.h264[].avg_bitrate integer Average stream bitrate.
data.items[].note.video_info_v2.media.stream.h264[].size integer Stream file size.
data.items[].note.video_info_v2.media.stream.h264[].rotate integer Video rotation value.
data.items[].note.video_info_v2.media.stream.h264[].hdr_type integer Numeric HDR type.
data.items[].note.video_info_v2.media.stream.h265 array H.265 playback variants.
data.items[].note.video_info_v2.media.stream.h265[] object A playback stream for the media.
data.items[].note.video_info_v2.media.stream.h265[].master_url string Primary playback URL.
data.items[].note.video_info_v2.media.stream.h265[].format string Stream container format.
data.items[].note.video_info_v2.media.stream.h265[].quality_type string Video quality label.
data.items[].note.video_info_v2.media.stream.h265[].stream_desc string Stream description.
data.items[].note.video_info_v2.media.stream.h265[].video_codec string Video codec name.
data.items[].note.video_info_v2.media.stream.h265[].audio_codec string Audio codec name.
data.items[].note.video_info_v2.media.stream.h265[].backup_urls array Alternative playback URLs.
data.items[].note.video_info_v2.media.stream.h265[].backup_urls[] string -
data.items[].note.video_info_v2.media.stream.h265[].width integer Video width in pixels.
data.items[].note.video_info_v2.media.stream.h265[].height integer Video height in pixels.
data.items[].note.video_info_v2.media.stream.h265[].fps integer Video frame rate.
data.items[].note.video_info_v2.media.stream.h265[].duration integer Stream duration reported by Xiaohongshu.
data.items[].note.video_info_v2.media.stream.h265[].video_duration integer Video track duration.
data.items[].note.video_info_v2.media.stream.h265[].audio_duration integer Audio track duration.
data.items[].note.video_info_v2.media.stream.h265[].stream_type integer Numeric stream type.
data.items[].note.video_info_v2.media.stream.h265[].default_stream integer Numeric flag for the default stream.
data.items[].note.video_info_v2.media.stream.h265[].audio_channels integer Number of audio channels.
data.items[].note.video_info_v2.media.stream.h265[].video_bitrate integer Video bitrate.
data.items[].note.video_info_v2.media.stream.h265[].audio_bitrate integer Audio bitrate.
data.items[].note.video_info_v2.media.stream.h265[].avg_bitrate integer Average stream bitrate.
data.items[].note.video_info_v2.media.stream.h265[].size integer Stream file size.
data.items[].note.video_info_v2.media.stream.h265[].rotate integer Video rotation value.
data.items[].note.video_info_v2.media.stream.h265[].hdr_type integer Numeric HDR type.
data.items[].note.video_info_v2.media.stream.h266 array H.266 playback variants.
data.items[].note.video_info_v2.media.stream.av1 array AV1 playback variants.
data.items[].note.video_info_v2.consumer object Video playback capability indicators.
data.items[].note.video_info_v2.consumer.can_super_resolution boolean Whether the video is marked as eligible for super-resolution playback.
data.items[].note.geo_info object Location display information.
data.items[].note.geo_info.distance string Distance display text.
data.items[].note.at_user_list array Users mentioned in the note.
data.items[].note.at_user_list[] object One mentioned user.
data.items[].note.at_user_list[].nickname string Display name of the mentioned user.
data.items[].note.at_user_list[].user_id string ID of the mentioned user.
data.items[].note.at_user_list[].user_oid string User OID returned for the mention.
data.items[].note.tag_info object Tag attached to the note.
data.items[].note.tag_info.title string Tag display title.
data.items[].note.tag_info.type string Tag type label.
data.items[].note.corner_tag_info array Corner tags for the note card.
data.items[].note.corner_tag_info[] object One corner tag.
data.items[].note.corner_tag_info[].icon string Icon value returned for display.
data.items[].note.corner_tag_info[].text string Display text.
data.items[].note.corner_tag_info[].text_en string English display text.
data.items[].note.corner_tag_info[].type string Tag type label.
data.items[].note.corner_tag_info[].poi_id string Point-of-interest identifier.
data.items[].note.corner_tag_info[].location integer Numeric display location.
data.items[].note.corner_tag_info[].style integer Numeric display style.
data.items[].note.shared_count integer Number of shares.
data.items[].note.nice_count integer Count of the Xiaohongshu nice reaction.
data.items[].note.niced boolean Whether the note is marked with the Xiaohongshu nice reaction.
data.items[].note.update_time integer Update time as a Unix timestamp in milliseconds.
data.items[].note.abstract_show string Summary text shown for the note.
data.items[].note.result_from string Source label reported for this result.
data.items[].note.note_attributes array Attribute labels returned for the note.
data.items[].note.note_attributes[] string -
data.items[].note.interaction_area object Interaction display metadata.
data.items[].note.interaction_area.status boolean Interaction display status.
data.items[].note.interaction_area.text string Text shown in the interaction area.
data.items[].note.interaction_area.type integer Numeric interaction area type.
data.items[].ads object Advertisement included in the search results.
data.items[].ads.ads_id string Advertisement identifier.
data.items[].ads.ad_tag string Advertisement tag.
data.items[].ads.biz_type string Advertisement business type label.
data.items[].ads.model_type string Advertisement result type label.
data.items[].ads.show_tag boolean Whether the advertisement tag is displayed.
data.items[].ads.note object Note details attached to the advertisement.
data.items[].ads.note.id string Xiaohongshu note ID.
data.items[].ads.note.title string Note title.
data.items[].ads.note.desc string Note description.
data.items[].ads.note.type string Note type label, such as normal or video.
data.items[].ads.note.xsec_token string Xiaohongshu token associated with the note.
data.items[].ads.note.timestamp integer Note publication time as a Unix timestamp in seconds.
data.items[].ads.note.last_update_time integer Last update time as a Unix timestamp in seconds, when positive.
data.items[].ads.note.liked_count integer Number of likes.
data.items[].ads.note.comments_count integer Number of comments.
data.items[].ads.note.collected_count integer Number of saves.
data.items[].ads.note.cover_image_index integer Cover image index.
data.items[].ads.note.liked boolean Whether the note is marked as liked in the response.
data.items[].ads.note.collected boolean Whether the note is marked as saved in the response.
data.items[].ads.note.has_music boolean Whether the note has music.
data.items[].ads.note.user object Author information returned with the note.
data.items[].ads.note.user.userid string Xiaohongshu author ID.
data.items[].ads.note.user.red_id string Author's Xiaohongshu account handle.
data.items[].ads.note.user.nickname string Author's display name.
data.items[].ads.note.user.images string Author's profile image URL.
data.items[].ads.note.user.red_official_verified boolean Whether the author is marked as officially verified.
data.items[].ads.note.user.red_official_verify_type integer Numeric official verification type.
data.items[].ads.note.user.show_red_official_verify_icon boolean Whether the official verification icon is displayed.
data.items[].ads.note.images_list array Images or covers returned with the search result.
data.items[].ads.note.images_list[] object One image or cover.
data.items[].ads.note.images_list[].fileid string Media file identifier.
data.items[].ads.note.images_list[].url string Image URL, when populated.
data.items[].ads.note.images_list[].url_size_large string URL for the large image.
data.items[].ads.note.images_list[].original string Original image URL, when populated.
data.items[].ads.note.images_list[].width integer Image width in pixels.
data.items[].ads.note.images_list[].height integer Image height in pixels.
data.items[].ads.note.images_list[].need_load_original_image boolean Whether the original image requires an additional load.
data.items[].ads.note.video_info_v2 object Video details returned for a video note.
data.items[].ads.note.video_info_v2.image object Video thumbnail metadata.
data.items[].ads.note.video_info_v2.image.thumbnail string Video thumbnail URL.
data.items[].ads.note.video_info_v2.image.thumbnail_dim string Thumbnail dimension text.
data.items[].ads.note.video_info_v2.media object Video media and playback metadata.
data.items[].ads.note.video_info_v2.media.video_id integer Media video identifier.
data.items[].ads.note.video_info_v2.media.video object Video metadata.
data.items[].ads.note.video_info_v2.media.video.width integer Video width in pixels.
data.items[].ads.note.video_info_v2.media.video.height integer Video height in pixels.
data.items[].ads.note.video_info_v2.media.video.duration integer Video duration reported by Xiaohongshu.
data.items[].ads.note.video_info_v2.media.video.hdr_type integer Numeric HDR type.
data.items[].ads.note.video_info_v2.media.video.drm_type integer Numeric DRM type.
data.items[].ads.note.video_info_v2.media.video.md5 string MD5 value returned for the video.
data.items[].ads.note.video_info_v2.media.video.stream_types array Numeric stream types available for the video.
data.items[].ads.note.video_info_v2.media.video.stream_types[] integer -
data.items[].ads.note.video_info_v2.media.stream object Available playback variants grouped by codec.
data.items[].ads.note.video_info_v2.media.stream.h264 array H.264 playback variants.
data.items[].ads.note.video_info_v2.media.stream.h264[] object A playback stream for the media.
data.items[].ads.note.video_info_v2.media.stream.h264[].master_url string Primary playback URL.
data.items[].ads.note.video_info_v2.media.stream.h264[].format string Stream container format.
data.items[].ads.note.video_info_v2.media.stream.h264[].quality_type string Video quality label.
data.items[].ads.note.video_info_v2.media.stream.h264[].stream_desc string Stream description.
data.items[].ads.note.video_info_v2.media.stream.h264[].video_codec string Video codec name.
data.items[].ads.note.video_info_v2.media.stream.h264[].audio_codec string Audio codec name.
data.items[].ads.note.video_info_v2.media.stream.h264[].backup_urls array Alternative playback URLs.
data.items[].ads.note.video_info_v2.media.stream.h264[].backup_urls[] string -
data.items[].ads.note.video_info_v2.media.stream.h264[].width integer Video width in pixels.
data.items[].ads.note.video_info_v2.media.stream.h264[].height integer Video height in pixels.
data.items[].ads.note.video_info_v2.media.stream.h264[].fps integer Video frame rate.
data.items[].ads.note.video_info_v2.media.stream.h264[].duration integer Stream duration reported by Xiaohongshu.
data.items[].ads.note.video_info_v2.media.stream.h264[].video_duration integer Video track duration.
data.items[].ads.note.video_info_v2.media.stream.h264[].audio_duration integer Audio track duration.
data.items[].ads.note.video_info_v2.media.stream.h264[].stream_type integer Numeric stream type.
data.items[].ads.note.video_info_v2.media.stream.h264[].default_stream integer Numeric flag for the default stream.
data.items[].ads.note.video_info_v2.media.stream.h264[].audio_channels integer Number of audio channels.
data.items[].ads.note.video_info_v2.media.stream.h264[].video_bitrate integer Video bitrate.
data.items[].ads.note.video_info_v2.media.stream.h264[].audio_bitrate integer Audio bitrate.
data.items[].ads.note.video_info_v2.media.stream.h264[].avg_bitrate integer Average stream bitrate.
data.items[].ads.note.video_info_v2.media.stream.h264[].size integer Stream file size.
data.items[].ads.note.video_info_v2.media.stream.h264[].rotate integer Video rotation value.
data.items[].ads.note.video_info_v2.media.stream.h264[].hdr_type integer Numeric HDR type.
data.items[].ads.note.video_info_v2.media.stream.h265 array H.265 playback variants.
data.items[].ads.note.video_info_v2.media.stream.h265[] object A playback stream for the media.
data.items[].ads.note.video_info_v2.media.stream.h265[].master_url string Primary playback URL.
data.items[].ads.note.video_info_v2.media.stream.h265[].format string Stream container format.
data.items[].ads.note.video_info_v2.media.stream.h265[].quality_type string Video quality label.
data.items[].ads.note.video_info_v2.media.stream.h265[].stream_desc string Stream description.
data.items[].ads.note.video_info_v2.media.stream.h265[].video_codec string Video codec name.
data.items[].ads.note.video_info_v2.media.stream.h265[].audio_codec string Audio codec name.
data.items[].ads.note.video_info_v2.media.stream.h265[].backup_urls array Alternative playback URLs.
data.items[].ads.note.video_info_v2.media.stream.h265[].backup_urls[] string -
data.items[].ads.note.video_info_v2.media.stream.h265[].width integer Video width in pixels.
data.items[].ads.note.video_info_v2.media.stream.h265[].height integer Video height in pixels.
data.items[].ads.note.video_info_v2.media.stream.h265[].fps integer Video frame rate.
data.items[].ads.note.video_info_v2.media.stream.h265[].duration integer Stream duration reported by Xiaohongshu.
data.items[].ads.note.video_info_v2.media.stream.h265[].video_duration integer Video track duration.
data.items[].ads.note.video_info_v2.media.stream.h265[].audio_duration integer Audio track duration.
data.items[].ads.note.video_info_v2.media.stream.h265[].stream_type integer Numeric stream type.
data.items[].ads.note.video_info_v2.media.stream.h265[].default_stream integer Numeric flag for the default stream.
data.items[].ads.note.video_info_v2.media.stream.h265[].audio_channels integer Number of audio channels.
data.items[].ads.note.video_info_v2.media.stream.h265[].video_bitrate integer Video bitrate.
data.items[].ads.note.video_info_v2.media.stream.h265[].audio_bitrate integer Audio bitrate.
data.items[].ads.note.video_info_v2.media.stream.h265[].avg_bitrate integer Average stream bitrate.
data.items[].ads.note.video_info_v2.media.stream.h265[].size integer Stream file size.
data.items[].ads.note.video_info_v2.media.stream.h265[].rotate integer Video rotation value.
data.items[].ads.note.video_info_v2.media.stream.h265[].hdr_type integer Numeric HDR type.
data.items[].ads.note.video_info_v2.media.stream.h266 array H.266 playback variants.
data.items[].ads.note.video_info_v2.media.stream.av1 array AV1 playback variants.
data.items[].ads.note.video_info_v2.consumer object Video playback capability indicators.
data.items[].ads.note.video_info_v2.consumer.can_super_resolution boolean Whether the video is marked as eligible for super-resolution playback.
data.items[].ads.note.at_user_list array Users mentioned in the note.
data.items[].ads.note.at_user_list[] object One mentioned user.
data.items[].ads.note.at_user_list[].nickname string Display name of the mentioned user.
data.items[].ads.note.at_user_list[].user_id string ID of the mentioned user.
data.items[].ads.note.at_user_list[].user_oid string User OID returned for the mention.
data.items[].ads.note.tag_info object Tag attached to the note.
data.items[].ads.note.tag_info.title string Tag display title.
data.items[].ads.note.tag_info.type string Tag type label.
data.items[].ads.note.corner_tag_info array Corner tags for the note card.
data.items[].ads.note.corner_tag_info[] object One corner tag.
data.items[].ads.note.corner_tag_info[].text string Display text.
data.items[].ads.note.corner_tag_info[].text_en string English display text.
data.items[].ads.note.corner_tag_info[].type string Tag type label.
data.items[].ads.note.corner_tag_info[].location integer Numeric display location.
data.items[].ads.note.shared_count integer Number of shares.
data.items[].ads.note.nice_count integer Count of the Xiaohongshu nice reaction.
data.items[].ads.note.niced boolean Whether the note is marked with the Xiaohongshu nice reaction.
data.items[].ads.note.update_time integer Update time as a Unix timestamp in milliseconds.
data.items[].ads.note.result_from string Source label reported for this result.
data.items[].ads.note.note_attributes array Attribute labels returned for the note.
data.items[].ads.note.note_attributes[] string -
data.items[].ads.note.interaction_area object Interaction display metadata.
data.items[].ads.note.interaction_area.status boolean Interaction display status.
data.items[].ads.note.interaction_area.text string Text shown in the interaction area.
data.items[].ads.note.interaction_area.type integer Numeric interaction area type.
data.search_request_id string Search request identifier reported by Xiaohongshu.
data.service_status string Search service status reported by Xiaohongshu.
data.query_type integer Numeric search query type.
data.is_broad_query boolean Whether Xiaohongshu classifies the query as broad.
data.ai_mode_enable boolean Whether the response indicates that AI search mode is enabled.
data.show_single_col boolean Whether results are marked for single-column display.
data.query_intent object Search intent indicators returned by Xiaohongshu.
data.query_intent.goodsIntent integer Numeric product search intent.
data.query_intent.low_supply_intent boolean Whether the query is marked as having low supply intent.
data.query_intent.search_ask_intent boolean Whether the query is marked as a question.
data.taxonomy1 string Top-level query category returned by Xiaohongshu.

Response Example ​

Loading the response example...