샤오홍슈(RedNote) 게시물 검색 API (V6)
API 상태
정상 사용 가능 일부 사용 가능 대부분 사용 불가 데이터 없음
API 상태를 불러오는 중…
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.
요청 파라미터
| 이름 | 위치 | 유형 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|---|
token |
query | string |
예 | - | 이 API 서비스의 액세스 토큰입니다. |
keyword |
query | string |
예 | - | 검색 키워드입니다. |
page |
query | integer |
아니요 | 1 |
페이지 번호입니다. 1부터 시작합니다. |
sortType |
query | string |
아니요 | 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 |
아니요 | ALL |
노트 유형 필터입니다. 사용 가능한 값 - ALL: 제한 없음- VIDEO_NOTE: 동영상 노트- NORMAL_NOTE: 일반 노트 |
timeFilter |
query | string |
아니요 | ALL |
게시 시각 필터입니다. 사용 가능한 값 - ALL: 제한 없음- ONE_DAY: 하루 이내- ONE_WEEK: 일주일 이내- HALF_YEAR: 반년 이내 |
코드 예제
bash
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/xiaohongshu/search-note/v6?token=YOUR_API_KEY&keyword=VALUE'
text
JustOneAPI의 "게시물 검색 (V6)" API를 사용하고 싶습니다.
기본 URL: https://api.justoneapi.com.
API 경로: /api/xiaohongshu/search-note/v6?token=YOUR_API_KEY&keyword=VALUE
API 주소: BASE_URL + /api/xiaohongshu/search-note/v6?token=YOUR_API_KEY&keyword=VALUE
HTTP 메서드: GET
인증: URL에 "token" 쿼리 파라미터를 추가하세요.
OpenAPI 정의: https://docs.justoneapi.com/openapi/xiaohongshu-rednote/note-search-v6-ko.json
요청 파라미터:
- token (query): 이 API 서비스의 액세스 토큰입니다. (필수)
- keyword (query): 검색 키워드입니다. (필수)
- page (query): 페이지 번호입니다. 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): 노트 유형 필터입니다.
사용 가능한 값
- `ALL`: 제한 없음
- `VIDEO_NOTE`: 동영상 노트
- `NORMAL_NOTE`: 일반 노트
- timeFilter (query): 게시 시각 필터입니다.
사용 가능한 값
- `ALL`: 제한 없음
- `ONE_DAY`: 하루 이내
- `ONE_WEEK`: 일주일 이내
- `HALF_YEAR`: 반년 이내
응답 형식: 실제 Content-Type에 따라 JSON 또는 텍스트를 안전하게 처리하세요.
응답 처리 및 오류 코드
1. 응답 본문의 "code" 필드에서 처리 결과를 확인하세요. 0은 성공을 뜻합니다.
2. 권장 요청 제한 시간은 120초입니다. 120초가 너무 길다면 최소 60초로 설정하세요. 일부 요청은 응답을 받기 전에 시간 초과될 수 있습니다.
3. API 결과 코드
- 0: 성공
- 100: 유효하지 않거나 비활성화된 토큰
- 301: 데이터 수집에 실패했습니다. 다시 시도해 주세요.
- 302: 호출 빈도 제한 초과
- 303: 일일 호출 한도 초과
- 400: 잘못된 파라미터
- 500: 서버 내부 오류
- 600: 호출 권한 없음
- 601: 계정 잔액 부족
- 602: API 토큰의 누적 예산 한도 초과
4. 601은 공유 계정 잔액이 부족하다는 뜻입니다. 602는 현재 API 토큰의 누적 예산 한도에 도달했다는 뜻입니다. 토큰 예산을 설정해도 공유 계정 잔액은 별도로 배정되지 않습니다.
제가 사용하는 프로그래밍 언어로 이 API를 호출하고 응답을 처리하는 스크립트를 작성해 주세요.
python
import requests
BASE_URL = "https://api.justoneapi.com" # OpenAPI 서버 설정에서 제공
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"; // OpenAPI 서버 설정에서 제공
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"; // OpenAPI 서버 설정에서 제공
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" // OpenAPI 서버 설정에서 제공
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'; // OpenAPI 서버 설정에서 제공
$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;
}
응답 필드
성공 응답(code = 0)의 주요 필드입니다.
| 필드 경로 | 유형 | 설명 |
|---|---|---|
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 |
소호쉬 메모 ID. |
data.items[].note.title |
string |
제목에 대한 설명. |
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 |
요청된 페이지에 대한 메모 게시 시간, 유닉스 타임스탬프로 표시. |
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 |
노트와 함께 반환된 작가 정보. |
data.items[].note.user.userid |
string |
Xiaohongshu author ID. |
data.items[].note.user.red_id |
string |
작가의 Xiaohongshu 계정 핸들. |
data.items[].note.user.nickname |
string |
작가의 표시 이름. |
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 |
이미지 너비(픽셀). |
data.items[].note.images_list[].height |
integer |
이미지 높이(픽셀). |
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 |
비디오 너비, 픽셀 단위. |
data.items[].note.images_list[].live_photo.media.video.height |
integer |
비디오 높이, 픽셀 단위. |
data.items[].note.images_list[].live_photo.media.video.duration |
integer |
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 |
비디오 너비, 픽셀 단위. |
data.items[].note.images_list[].live_photo.media.stream.h264[].height |
integer |
비디오 높이, 픽셀 단위. |
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 |
비디오 썸네일 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 |
비디오 너비, 픽셀 단위. |
data.items[].note.video_info_v2.media.video.height |
integer |
비디오 높이, 픽셀 단위. |
data.items[].note.video_info_v2.media.video.duration |
integer |
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 |
비디오 너비, 픽셀 단위. |
data.items[].note.video_info_v2.media.stream.h264[].height |
integer |
비디오 높이, 픽셀 단위. |
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 |
비디오 너비, 픽셀 단위. |
data.items[].note.video_info_v2.media.stream.h265[].height |
integer |
비디오 높이, 픽셀 단위. |
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 |
태그 유형 라벨입니다. |
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 |
태그 유형 라벨입니다. |
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 |
소호쉬 메모 ID. |
data.items[].ads.note.title |
string |
제목에 대한 설명. |
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 |
요청된 페이지에 대한 메모 게시 시간, 유닉스 타임스탬프로 표시. |
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 |
노트와 함께 반환된 작가 정보. |
data.items[].ads.note.user.userid |
string |
Xiaohongshu author ID. |
data.items[].ads.note.user.red_id |
string |
작가의 Xiaohongshu 계정 핸들. |
data.items[].ads.note.user.nickname |
string |
작가의 표시 이름. |
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 |
이미지 너비(픽셀). |
data.items[].ads.note.images_list[].height |
integer |
이미지 높이(픽셀). |
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 |
비디오 썸네일 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 |
비디오 너비, 픽셀 단위. |
data.items[].ads.note.video_info_v2.media.video.height |
integer |
비디오 높이, 픽셀 단위. |
data.items[].ads.note.video_info_v2.media.video.duration |
integer |
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 |
비디오 너비, 픽셀 단위. |
data.items[].ads.note.video_info_v2.media.stream.h264[].height |
integer |
비디오 높이, 픽셀 단위. |
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 |
비디오 너비, 픽셀 단위. |
data.items[].ads.note.video_info_v2.media.stream.h265[].height |
integer |
비디오 높이, 픽셀 단위. |
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 |
태그 유형 라벨입니다. |
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 |
태그 유형 라벨입니다. |
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. |
응답 예시
응답 예시를 불러오는 중…