Xiaohongshu (RedNote) Get PGY note detail API
Get Xiaohongshu (RedNote / 小红书) Get PGY note detail via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Compare 2 implementations (JustOneAPI and TikHub), pass parameters such as noteId, and retrieve structured data including business status code, content, name, title, and returned agent name value for content research and account lookup, and integration reference.
- Selected price
- $0.023077 / callPublished pricing
- Sellers / APIs
- 2 / 2
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Xiaohongshu (RedNote) Get PGY note detail API
Prepare your request, then continue with your agent.
Selected price
$0.023077 / call
- Provider
- API
- Pricing
On this page
Overview
Xiaohongshu (RedNote) Creator Marketplace (Pugongying) Note Details (V1) API
Retrieve Xiaohongshu Pugongying details for a known note ID. Provide noteId in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | query: noteId |
| Selected implementation | justoneapi · Xiaohongshu Creator Marketplace (Pugongying) Note Details API (V1) |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Content research and account lookup: Keep source records connected to their content and account identifiers.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
code |
Business status code |
data.content |
Content |
data.name |
Name |
data.title |
Title |
data.agentName |
Returned agent name value (nullable in the reference) |
data.atUserList |
Returned at user list value (nullable in the reference) |
data.cmtNum |
Returned cmt num field |
data.compClickData |
Returned comp click data value (nullable in the reference) |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the supported inputs and set any required query value shown in the template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu-pgy/api/solar/note/noteId/detail/v1?noteId=%3CREPLACE_NOTEID%3E' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
Current Xiaohongshu Creator Marketplace (Pugongying) Note Details API (V1) · GET · View API reference | $0.023077 / call | 0 | —successP50— | |
| Get PGY note detail · POST · View API reference | $0.02 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.023077
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.
Total $2.3077
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu-pgy/api/solar/note/noteId/detail/v1- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
noteId | URL query parametersquery | string | Yes | Note's unique ID. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
codeintegerdataobjectagentNamenullatUserListnullcmtNumintegercompClickDatanullcontentstringcontentItemListnullcreateTimestringfavNumintegerfeatureTagsnullfollowCntintegergoodCaseCollectbooleanheadPhotostringimagesListobject[]fileIdstringheightintegerimageExtraInfonulllatitudenulllongitudenulloriginalstringstickernulltraceIdstringurlstringwidthinteger
impNumintegerlikeNumintegernamestringnoteIdstringnoteLinkstringreadNumintegerrecommendedKeywordsnullredIdnullreportBrandNamenullreportBrandUserIdnullshareNumintegertimeobjectcreateTimeintegerupdateTimeintegeruserUpdateTimeinteger
titlestringtypeintegeruserIdstringuserInfoobjectadvertiserIdnullavatarstringclickMidNumintegercontentTagsobject[]taxonomy1Tagstringtaxonomy2Tagsstring[]
cooperTypeintegercurrentLevelintegerfansNumintegerfeatureTagsnullgenderstringinterMidNumintegerisCollectbooleankolTypeintegerlocationstringmEngagementNumintegermengagementNumintegernickNamestringoperateStateintegerpersonalTagsnullpictureInCartnullpicturePriceintegerpictureStateintegerpriceStateintegeruserIdstringuserTypeintegervideoInCartnullvideoPriceintegervideoStateinteger
videoInfoobjectchaptersnullfirstFramenullgifKeystringgifUrlstringhasFragmentsbooleanidstringmetaobjectdurationintegerheightintegervideoIdstringwidthinteger
originVideoKeystringredGifInfonullthumbnailstringvideoKeystringvideoKeyListunknown[]videoUrlstringvolumeinteger
messagenullrecordTimenull
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Historical response; independent request temp
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
noteId- Note's unique ID.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/justoneapi/api/xiaohongshu-pgy/api/solar/note/noteId/detail/v1?noteId=%3CREPLACE_NOTEID%3E' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "code": 0, "data": { "agentName": null, "atUserList": null, "cmtNum": 0, "compClickData": null, "content": "拍狙击手的时候张艺谋说了这句话让曹操觉得皮特别冷心特别暖 #电影狙击手[话题]# #曹操来了[话题]# #明星[话题]#", "contentItemList": null, "createTime": "2024-02-05 18:10", "favNum": 0, "featureTags": null, "followCnt": 0, "goodCaseCollect": false, "headPhoto": "https://sns-avatar-qc.xhscdn.com/avatar/1000g2jo2pdfsn8cjs0005og61q6413qlmn6hsa0?imageView2/2/w/120/format/jpg", "imagesList": [ { "fileId": "spectrum/1040g0k030ups4ufllg005og61q6413qltc9ngeo", "height": 1920, "imageExtraInfo": null, "latitude": null, "longitude": null, "original": "http://ci.xiaohongshu.com/spectrum/1040g0k030ups4ufllg005og61q6413qltc9ngeo", "sticker": null, "traceId": "spectrum/1040g0k030ups4ufllg005og61q6413qltc9ngeo", "url": "http://ci.xiaohongshu.com/spectrum/1040g0k030ups4ufllg005og61q6413qltc9ngeo?imageView2/2/w/1080/format/jpg", "width": 1080 } ], "impNum": 0, "likeNum": 0, "name": "曹操来了", "noteId": "65c0b3fc000000002c037a49", "noteLink": "https://www.xiaohongshu.com/explore/65c0b3fc000000002c037a49?xsec_token=MB7JKMiQnDS1LrAOD9PdYyNuif9i4BRXjby6dPYGAoxWs=&xsec_source=pc_pgy", "readNum": 0, "recommendedKeywords": null, "redId": null, "reportBrandName": null, "reportBrandUserId": null, "shareNum": 0, "time": { "createTime": 1707127804000, "updateTime": 1707142186000, "userUpdateTime": 1707127804000 }, "title": "", "type": 2, "userId": "62060e8c0000000010008f55", "userInfo": { "advertiserId": null, "avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1000g2jo2pdfsn8cjs0005og61q6413qlmn6hsa0?imageView2/2/w/120/format/jpg", "clickMidNum": 66176, "contentTags": [ { "taxonomy1Tag": "汽车", "taxonomy2Tags": [ "汽车其他" ] } ], "cooperType": 1, "currentLevel": 2, "fansNum": 601682, "featureTags": null, "gender": "男", "interMidNum": 2071, "isCollect": false, "kolType": 0, "location": "北京", "mEngagementNum": 2573, "mengagementNum": 2573, "nickName": "曹操来了", "operateState": 1, "personalTags": null, "pictureInCart": null, "picturePrice": 0, "pictureState": 0, "priceState": 1, "userId": "62060e8c0000000010008f55", "userType": 2, "videoInCart": null, "videoPrice": 200000, "videoState": 1 }, "videoInfo": { "chapters": null, "firstFrame": null, "gifKey": "", "gifUrl": "", "hasFragments": false, "id": "112137331", "meta": { "duration": 23, "height": 1920, "videoId": "136727240850690026", "width": 1080 }, "originVideoKey": "spectrum/1040g0jg30ups4uac5i005og61q6413ql180l93g", "redGifInfo": null, "thumbnail": "110/0/01e5c0b37e064fea0010000000018d78bf1fd7_0.webp", "videoKey": "stream/110/258/01e5c0b37e064fea010376038d78bf83b6_258.mp4", "videoKeyList": [], "videoUrl": "http://v.xiaohongshu.com/stream/110/258/01e5c0b37e064fea010376038d78bf83b6_258.mp4?sign=e3c5284ff893d9d13111707298a634f5&t=6adcd600", "volume": 0 } }, "message": null, "recordTime": null }