Xiaohongshu (RedNote)xiaohongshu.pgy.creators.get

Xiaohongshu PGY creator detail API

A Xiaohongshu creator's PGY profile: followers, likes and saves, median reads and engagements, content and feature tags, and what an image note and a video note cost (in yuan) and whether each is open.

GEThttps://api.okdata.online/v1/xiaohongshu/pgy/creators/get

Price

One call costs $0.04 and returns one creator. 1,000 lookups cost $40.00. Failed calls are not charged.

Parameters

NameTypeDescription
id *requiredstringPGY creator ID (24 hex characters, the same as the Xiaohongshu user ID), from the PGY creator search. e.g. 5dfa1ee20000000001001cb3
viewstringcompactstandardfullHow much of each object comes back. full adds platform-specific fields under ext. default standard
fieldsstringComma-separated fields to keep, to save tokens.

cursor, view and fields work the same on every endpoint: how requests work.

Returned fields

The item is a Creator.

FieldTypeDescription
idstringThe marketplace's creator ID; the other marketplace endpoints take it.
urlstringThe creator's page on the marketplace.
account_idstring | nullThe creator's own account ID on the platform, where the marketplace gives it.
usernamestring | nullHandle on the platform, where given.
namestringDisplay name.
avatar_urlstring | nullAvatar image URL.
locationstring | nullWhere the creator says they are.
genderstring | nullThe creator's gender as the marketplace lists it.
followersinteger | nullFollowers.
categoriesstring[] | nullContent categories in the marketplace’s own words.
engagement_ratenumber | nullInteractions per view of recent posts, 0 to 1 (0.038 is 3.8%).
median_viewsinteger | nullMedian views or reads of recent everyday posts.
median_engagementsinteger | nullMedian interactions (likes, comments, saves, shares) of recent everyday posts.
ratesRate[] | nullPublished rates for sponsored work; null when the marketplace hides them.
extobjectPlatform-specific extras. Only returned with view=full.

Request

cURL
curl -G "https://api.okdata.online/v1/xiaohongshu/pgy/creators/get" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'id=5dfa1ee20000000001001cb3'
Python
import os
import requests

resp = requests.get(
    "https://api.okdata.online/v1/xiaohongshu/pgy/creators/get",
    headers={"Authorization": f"Bearer {os.environ['OKDATA_API_KEY']}"},
    params={"id": "5dfa1ee20000000001001cb3"},
    timeout=60,
)
body = resp.json()
if body["code"] != "ok":
    raise RuntimeError(f"{body['code']}: {body['message']} (charged: {body['charged']})")

row = body["data"]["item"]
print(row["name"], row["followers"], row["engagement_rate"])
print("cost: $" + body["meta"]["billing"]["amount"])
TypeScript
const url = new URL('https://api.okdata.online/v1/xiaohongshu/pgy/creators/get');
url.searchParams.set('id', "5dfa1ee20000000001001cb3");

const res = await fetch(url, {
  headers: {
    Authorization: `Bearer ${process.env.OKDATA_API_KEY}`,
  },
});
const body = await res.json();
if (body.code !== 'ok') throw new Error(`${body.code}: ${body.message}`);

const row = body.data.item;
console.log(row.name, row.followers, row.engagement_rate);
console.log('cost: $' + body.meta.billing.amount);
MCPtools/call
{
  "name": "call",
  "arguments": {
    "endpoint": "xiaohongshu.pgy.creators.get",
    "params": {
      "id": "5dfa1ee20000000001001cb3"
    }
  }
}

Or ask an agent that has the MCP server connectedUse Xiaohongshu PGY creator detail and shortlist ten creators with the best engagement for the money, with their rates.

Response

200 · application/jsonmeta.billing.amount = 0.04
{
  "code": "ok",
  "request_id": "0f6c2a8e-4b1d-4e0a-9a51-3c7d2b9e1f20",
  "data": {
    "item": {
      "id": "5dfa1ee20000000001001cb3",
      "url": "https://pgy.xiaohongshu.com/solar/pre-trade/blogger-detail/5dfa1ee20000000001001cb3",
      "account_id": "5dfa1ee20000000001001cb3",
      "username": "shaka521",
      "name": "山野轻装",
      "avatar_url": "https://cdn.example.com/avatar/creator.jpg",
      "location": "江苏 苏州",
      "gender": "male",
      "followers": 176970,
      "categories": [
        "出行旅游",
        "旅行"
      ],
      "engagement_rate": null,
      "median_views": 198469,
      "median_engagements": 15935,
      "rates": [
        {
          "type": "image_note",
          "name": "图文笔记",
          "price": 16000,
          "currency": "CNY",
          "available": true,
          "settlement": null
        }
      ]
    }
  },
  "warnings": [],
  "meta": {
    "capability": "xiaohongshu.pgy.creators.get",
    "billing": {
      "amount": "0.04",
      "currency": "USD",
      "balance_after": "9.96"
    },
    "unavailable": {},
    "cached": false,
    "replayed": false,
    "fetched_at": "2026-11-11T08:00:00Z"
  }
}

Try it

This sends a real call to https://api.okdata.online and is billed as usual: at most $0.04. Failed calls are free. Your key goes only to that address and is never stored on this site.

Questions

How much does the Xiaohongshu PGY creator detail API cost?

One call costs $0.04 and returns one creator. 1,000 lookups cost $40.00. Failed calls are not charged.

Do I need a Xiaohongshu (RedNote) account, cookies or a QR login?

No. You send only your okdata API key. The data is public data from Xiaohongshu (RedNote); nothing is fetched with your own Xiaohongshu (RedNote) account.

Am I charged when a call fails?

No. Every error response says charged: false, except a timeout, which says charged: null until the outcome is known. Resend with the same Idempotency-Key and you are never charged twice.

What if Xiaohongshu (RedNote) does not show a field?

The field is null, and meta.unavailable names it with the reason: platform (the platform never shows it) or capability (we cannot fetch it yet).

Answers that use this endpoint

All Xiaohongshu (RedNote) endpoints → · Answers