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.

CampoTipoDa viewDescrição
idstringcompactID da nota.
urlstring | nullcompactLink to the note, with the access token that makes it open.
typestring | nullcompactNota com imagem ou nota em vídeo.
titlestring | nullcompactO título da nota.
textstring | nullstandardO texto da nota. · pode ser cortado em compact
published_atstring | nullcompactQuando foi publicado.
imagesstring[] | nullstandardLinks das imagens, em ordem.
creator_idstring | nullcompactO ID do criador no PGY.
creator_namestring | nullcompactO nome do criador.
brandstring | nullcompactThe sponsoring brand, in the platform's words; null when it is not a reported sponsored note.
brand_idstring | nullstandardID da conta dessa marca no Xiaohongshu; null quando não houver.
metricsPgyNoteMetricscompactOs números da nota no PGY.
component_clicksPgyComponentClicks | nullstandardClick-through bands of the components the brand added; null when there are none.
extobjetocompletoExtras específicos da plataforma. Retornados apenas com view=full. · apenas com view=full

PgyNoteMetrics

CampoTipoDescrição
impressionsinteger | nullImpressões.
viewsinteger | nullLeituras.
likesinteger | nullCurtidas.
favoritesinteger | nullSalvamentos.
commentsinteger | nullComentários.
sharesinteger | nullCompartilhamentos.
followsinteger | nullNovos seguidores trazidos pela nota.

PgyComponentClicks

CampoTipoDescrição
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 retornam PgyNote

Conecte uma vez e é só perguntar.

Toda chave nova vem com $0.20 para testar. Uma frase conecta seu agente.

Comece grátis
Conecte sua IA

Cole isto no seu agente

Leia https://okdata.online/agents.md e configure okdata para mim; minha chave está na variável de ambiente OKDATA_API_KEY.

Claude Code, Cursor, Codex e outros agentes que conseguem abrir um link se configuram sozinhos a partir dele.

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