Pour l'IA

Objet

Objet PgyCreatorPost

A note of a PGY creator with its sponsorship 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.

ChampTypeDe viewDescription
idstringcompactID de la note.
titlestring | nullcompactLe titre de la note.
typestring | nullcompactNote image ou note vidéo.
published_atstring | nullcompactPublication day, as 00:00 China time (the platform gives the day only).
cover_urlstring | nullstandardImage de couverture.
is_sponsoredboolean | nullcompactWhether it was made for a brand (see brand).
brandstring | nullcompactThe brand it was made for, in the platform's words; null when not sponsored.
is_promotedboolean | nullcompactWhether paid promotion sent traffic to it (含推广流量); not the same as sponsored.
metricsPgyPostMetricscompactLes chiffres de la note.
extobjetfullDonnées propres à la plateforme. Renvoyées uniquement avec view=full. · uniquement avec view=full

PgyPostMetrics

ChampTypeDescription
viewsinteger | nullLectures.
likesinteger | nullJ'aime.
favoritesinteger | nullEnregistrements.
shop_visitsinteger | nullShop visitors the note brought (cross-domain sponsored notes only; 0 for others).

Endpoints qui renvoient un objet PgyCreatorPost

Connectez-vous une fois, puis demandez simplement.

Chaque nouvelle clé inclut $0.20 pour essayer. Une phrase suffit pour connecter votre agent.

Commencer gratuitement
Connectez votre IA

Collez ceci dans votre agent

Lis https://okdata.online/agents.md et configure okdata pour moi ; ma clé est dans la variable d'environnement OKDATA_API_KEY.

Claude Code, Cursor, Codex et les autres agents capables d'ouvrir un lien se configurent à partir de celui-ci.

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