---
title: "Post"
description: "샤오홍슈 노트를 가져옵니다. 제목, 본문, 토픽, 모든 이미지 또는 영상, 좋아요·수집·댓글·공유 수."
---

> Every apinoa docs page as markdown: https://apinoa.com/llms.txt (all in one file: https://apinoa.com/llms-full.txt; this API family in one file: https://apinoa.com/docs/social/llms.txt)

```http
GET | POST /v1/xiaohongshu/post
```

파라미터는 `GET`의 쿼리 문자열로도, `POST`의 JSON 본문으로도 보낼 수 있습니다. 둘은 같습니다.

## 요청

```bash tab="cURL"
curl "https://gateway.apinoa.com/v1/xiaohongshu/post?id=68fd5956000000000302ff52" \
  -H "x-api-key: $APINOA_API_KEY"
```

```js tab="JavaScript"
const params = new URLSearchParams({"id":  "68fd5956000000000302ff52"});
const res = await fetch(`https://gateway.apinoa.com/v1/xiaohongshu/post?${params}`, {
  headers: { "x-api-key": process.env.APINOA_API_KEY },
});
const { success, data, error } = await res.json();
```

```python tab="Python"
import os

import requests

res = requests.get(
    "https://gateway.apinoa.com/v1/xiaohongshu/post",
    params={"id": "68fd5956000000000302ff52"},
    headers={"x-api-key": os.environ["APINOA_API_KEY"]},
)
body = res.json()
```

## 넘길 값

| 넘기는 값 | 읽는 것 | 비고 |
|---|---|---|
| `id` | 노트 | id(16진수 24자), 또는 링크(xiaohongshu.com 또는 rednote.com) |

## 파라미터

| Parameter | Type | Required | Notes |
|---|---|---|---|
| `id` | string |  | The note's id (24 hex characters), or its link. |

The same parameters, and every response type, are in the OpenAPI document: https://apinoa.com/openapi.json

## 응답

`data`에 [`Post`](/docs/api-reference/sns/response-schema#post)를 돌려줍니다. 실제 응답을 줄인 것입니다. 배열은 앞쪽 항목만 남기고 긴 텍스트는 잘랐습니다.

```json
{
  "success": true,
  "data": {
    "platform": "xiaohongshu",
    "id": "68fd5956000000000302ff52",
    "url": "https://www.xiaohongshu.com/explore/68fd5956000000000302ff52",
    "author": {
      "platform": "xiaohongshu",
      "id": "59edb804e8ac2b09b85fad67",
      "displayName": "尖叫番茄",
      "url": "https://www.xiaohongshu.com/user/profile/59edb804e8ac2b09b85fad67",
      "avatarUrl": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo30n6beaha5a0049uqt2s09bb7…",
      "ext": {
        "xsecToken": "ABGGEbmpgPKViEfJZJYzWhh68w70zALirbXCO7U5O7t98="
      }
    },
    "title": "狎欧亭疑似偶遇爱豆",
    "text": "关键是立马发现我在拍照（超绝镜头感！）两个人都戴上了帽子！\n为我的偷拍道歉🙇实在是太帅了 头太小了 实在是太帅了\n\t\n#偶遇[话题]# #首尔病[话题]#…",
    "createdAt": "2025-10-25T23:12:22.000Z",
    "lang": "zh-CN",
    "media": [
      {
        "type": "image",
        "url": "http://sns-web-i10.rednotecdn.com/202611270748/b09012f51348a3b9839a5dadd46563…",
        "width": 2356,
        "height": 3142,
        "thumbnailUrl": "http://sns-web-i10.rednotecdn.com/202611270748/f306a4e03d957250c852ef331b563a…",
        "variants": [
          {
            "url": "http://sns-web-i10.rednotecdn.com/202611270748/f306a4e03d957250c852ef331b563a…",
            "quality": "WB_PRV"
          },
          {
            "url": "http://sns-web-i10.rednotecdn.com/202611270748/b09012f51348a3b9839a5dadd46563…",
            "quality": "WB_DFT"
          }
        ],
        "ext": {
          "fileId": "1040g2sg31o2ngr1vg69g49uqt2s09bb7o90g3e0",
          "livePhoto": true
        }
      },
      {
        "type": "image",
        "url": "http://sns-web-i10.rednotecdn.com/202611270748/0cc3e73ca52caf2f03fd2b4b2539a8…",
        "width": 2210,
        "height": 2945,
        "thumbnailUrl": "http://sns-web-i10.rednotecdn.com/202611270748/3c1d0c5efdfe122590cf15606d2a57…",
        "variants": [
          {
            "url": "http://sns-web-i10.rednotecdn.com/202611270748/3c1d0c5efdfe122590cf15606d2a57…",
            "quality": "WB_PRV"
          },
          {
            "url": "http://sns-web-i10.rednotecdn.com/202611270748/0cc3e73ca52caf2f03fd2b4b2539a8…",
            "quality": "WB_DFT"
          }
        ],
        "ext": {
          "fileId": "1040g2sg31o2ngr1vg69049uqt2s09bb70ef0geg",
          "livePhoto": true
        }
      }
    ],
    "metrics": {
      "saves": 3170,
      "comments": 2576
    },
    "entities": {
      "hashtags": [
        "偶遇",
        "首尔病"
      ]
    },
    "ext": {
      "type": "normal",
      "lastUpdateTime": "2025-10-26T03:15:08.000Z",
      "topicIds": [
        "5c2f65620000000009021101",
        "64f096e50000000014039021"
      ],
      "metricsText": {
        "likes": "33.2K",
        "shares": "12.3K"
      },
      "translation": {
        "title": "Think I might've spotted an idol in Apgujeong?!",
        "text": "The best part is they noticed me taking pics instantly (that camera sense tho…"
      }
    }
  }
}
```

## 에러

| 상태 | 코드 | 의미 |
|---|---|---|
| 400 | `INVALID_PARAMS` | 파라미터가 없거나, 알 수 없거나, 범위를 벗어났습니다. 메시지에 이름이 나옵니다. |
| 401 | `UNAUTHORIZED` | `x-api-key` 헤더가 없거나, 폐기되었거나 알 수 없는 키입니다. |
| 402 | `INSUFFICIENT_CREDITS` | 크레딧이 이 호출 비용에 모자랍니다. 대시보드에서 플랜을 고르거나 충전하세요. |
| 404 | `NOT_FOUND` | 계정·게시물·그룹이 없거나, 비공개·삭제·연령 제한 상태입니다. |
| 429 | `MARKETPLACE_SATURATED` | 동시 호출이 너무 많습니다. `Retry-After` 초만큼 기다린 뒤 다시 시도하세요. |
| 502 | `UPSTREAM_ERROR` | 플랫폼이 쓸 수 없는 응답을 보냈습니다. 간격을 두고 다시 시도하세요. |

모든 코드는 [Errors](/docs/errors)에 있습니다. 실패한 호출은 과금되지 않습니다.

## 가격

**Price** 1 credit per call. [Plans and credits](https://apinoa.com/en/pricing).

## 참고

- 각 이미지는 크기별 버전을 `variants`에 담습니다. 영상 노트의 `variants`는 mp4 스트림이며, 각각 `ext.backupUrls`에 백업 주소가 있습니다.
- 샤오홍슈가 반올림해 보여주는 수("1.4万")는 `metrics`에서 빼고, 페이지에 적힌 그대로 `ext.metricsText`에 담습니다.
- 토픽(본문의 `#…[话题]#`)은 `entities.hashtags`에 있습니다. 샤오홍슈가 제공하는 영어 번역이 있으면 `ext.translation`에 있습니다.
