Для ИИ

Объект

Объект PgyNote

One note as PGY shows it: text, pictures, creator, sponsoring brand and figures. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.

ПолеТипИз представленияОписание
idstringcompactID заметки.
urlstring | nullcompactLink to the note, with the access token that makes it open.
typestring | nullcompactФотозаметка или видеозаметка.
titlestring | nullcompactЗаголовок заметки.
textstring | nullstandardТекст заметки. · может обрезаться в compact
published_atstring | nullcompactКогда опубликовано.
imagesstring[] | nullstandardСсылки на изображения по порядку.
creator_idstring | nullcompactID автора в PGY.
creator_namestring | nullcompactИмя автора.
brandstring | nullcompactThe sponsoring brand, in the platform's words; null when it is not a reported sponsored note.
brand_idstring | nullstandardID аккаунта этого бренда в Xiaohongshu; null, если его нет.
metricsPgyNoteMetricscompactПоказатели заметки в PGY.
component_clicksPgyComponentClicks | nullstandardClick-through bands of the components the brand added; null when there are none.
extobjectfullДополнительные поля конкретной платформы. Возвращаются только при view=full. · только при view=full

PgyNoteMetrics

ПолеТипОписание
impressionsinteger | nullПоказы.
viewsinteger | nullПрочтения.
likesinteger | nullЛайки.
favoritesinteger | nullСохранения.
commentsinteger | nullКомментарии.
sharesinteger | nullРепосты.
followsinteger | nullНовые подписчики, которых принесла заметка.

PgyComponentClicks

ПолеТипОписание
comment_areastring | nullClick-through band of the comment-area component: normal (under 2%), high (2-10%) or very_high (over 10%); null when the note has none.
contentstring | nullClick-through band of the in-text component: normal (under 2%), high (2-10%) or very_high (over 10%); null when the note has none.
note_bottomstring | nullClick-through band of the component at the end of the note: normal (under 2%), high (2-10%) or very_high (over 10%); null when the note has none.

Эндпоинты, возвращающие PgyNote

Подключите один раз — и просто спрашивайте.

К каждому новому ключу прилагается $0.20 на пробу. Одна фраза подключает вашего агента.

Начать бесплатно
Подключите ИИ

Вставьте это в своего агента

Прочитай https://okdata.online/agents.md и настрой okdata для меня; мой ключ в переменной окружения OKDATA_API_KEY.

Claude Code, Cursor, Codex и другие агенты, умеющие открывать ссылки, настроятся по ней сами.

MCP-серверhttps://api.okdata.online/mcp