Para IA

Objeto

Objeto 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.

CampoTipoDesde viewDescripción
idstringcompactID de la nota.
urlstring | nullcompactLink to the note, with the access token that makes it open.
typestring | nullcompactNota con imágenes o nota de video.
titlestring | nullcompactEl título de la nota.
textstring | nullstandardEl texto de la nota. · puede recortarse en compact
published_atstring | nullcompactCuándo se publicó.
imagesstring[] | nullstandardEnlaces de imágenes en orden.
creator_idstring | nullcompactEl ID de PGY del creador.
creator_namestring | nullcompactEl nombre del creador.
brandstring | nullcompactThe sponsoring brand, in the platform's words; null when it is not a reported sponsored note.
brand_idstring | nullstandardID de la cuenta de Xiaohongshu de esa marca; null si no tiene.
metricsPgyNoteMetricscompactLas cifras de la nota en PGY.
component_clicksPgyComponentClicks | nullstandardClick-through bands of the components the brand added; null when there are none.
extobjetocompletoDatos adicionales propios de la plataforma. Solo se devuelven con view=full. · solo con view=full

PgyNoteMetrics

CampoTipoDescripción
impressionsinteger | nullImpresiones.
viewsinteger | nullLecturas.
likesinteger | nullMe gusta.
favoritesinteger | nullGuardados.
commentsinteger | nullComentarios.
sharesinteger | nullCompartidos.
followsinteger | nullNuevos seguidores que aportó la nota.

PgyComponentClicks

CampoTipoDescripción
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.

Endpoints que devuelven un PgyNote

Conéctate una vez y luego solo pregunta.

Cada clave nueva incluye $0.20 para probar. Una frase conecta tu agente.

Empieza gratis
Conecta tu IA

Pega esto en tu agente

Lee https://okdata.online/agents.md y configura okdata por mí; mi clave está en la variable de entorno OKDATA_API_KEY.

Claude Code, Cursor, Codex y otros agentes que pueden abrir un enlace se configuran solos a partir de él.

Servidor MCPhttps://api.okdata.online/mcp