---
title: "Post"
description: "Get a Xiaohongshu note: title, text, topics, every image or the video, and its likes, saves, comments and shares."
---

> 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
```

Send parameters as a query string with `GET`, or as a JSON body with `POST`. Both are equivalent.

## Request

```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()
```

## What to Pass

| Pass | Reads | Notes |
|---|---|---|
| `id` | The note | Its id (24 hex characters), or its link (xiaohongshu.com or rednote.com) |

## Parameters

| 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

## Response

Returns [`Post`](/docs/api-reference/sns/response-schema#post) in `data`. A real response, shortened: arrays keep their first entries and long text is cut.

```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…"
      }
    }
  }
}
```

## Errors

| Status | Code | Meaning |
|---|---|---|
| 400 | `INVALID_PARAMS` | A parameter is missing, unknown or out of range. The message names it. |
| 401 | `UNAUTHORIZED` | The `x-api-key` header is missing, or the key is revoked or unknown. |
| 402 | `INSUFFICIENT_CREDITS` | Your credits do not cover this call. Choose a plan or top up in the dashboard. |
| 404 | `NOT_FOUND` | The account, post or group does not exist, or is private, deleted or age-restricted. |
| 429 | `MARKETPLACE_SATURATED` | Too many concurrent calls. Retry after the `Retry-After` seconds. |
| 502 | `UPSTREAM_ERROR` | The platform answered with something unusable. Retry with backoff. |

Every code is listed in [Errors](/docs/errors). Failed calls are not billed.

## Pricing

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

## Notes

- Each image comes with its renditions in `variants`; a video note's `variants` are its mp4 streams, each with backup addresses in `ext.backupUrls`.
- A count Xiaohongshu shows rounded ("1.4万") is left out of `metrics` and kept as the page states it in `ext.metricsText`.
- Topics (`#…[话题]#` in the text) are `entities.hashtags`; Xiaohongshu's own English translation, when it has one, is in `ext.translation`.
