AI 向け

オブジェクト

Post オブジェクト

A video, note, tweet or article, the same shape on every platform. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.

フィールド種類view から説明
idstringcompactプラットフォーム上の投稿 ID。
urlstringcompact投稿へのリンク。
typestringcompact投稿の種類。
titlestring | nullcompactTitle, where the platform has one (videos, notes, articles).
textstringcompactCaption, body or description as plain text; articles come as Markdown. · compact では省略される場合あり
langstring | nullstandard言語コード(申告値または検出値)。
published_atstring | nullcompactWhen it was published, ISO 8601 in UTC; null only where the platform gives no time (wechat_mp.articles.metrics, wechat_channels.videos.metrics, youtube.channels.videos.list with type=short) or left it out of an answer (youtube.videos.get now and then), then listed in meta.unavailable. Never an empty string.
authorAccountRefcompact投稿者。
metrics指標compactCounts at fetch time; a count the platform hides is null.
imagesstring[] | nullstandard画像投稿・ノートの画像 URL。
hashtagsstring[] | nullstandardハッシュタグまたはトピック(# なし)。
extオブジェクト全体プラットフォーム固有の追加情報。view=full の場合のみ返されます。 · view=full の場合のみ

AccountRef

フィールド種類説明
idstringプラットフォーム上のアカウント ID。
usernamestring | nullハンドル(プラットフォームにある場合)。
namestring | null表示名。
avatar_urlstring | nullアバター画像の URL。
followersinteger | null取得時点のフォロワー数。
verifiedboolean | nullプラットフォームに認証バッジが表示されているかどうか。

指標

フィールド種類説明
viewsinteger | null閲覧数または再生数。
likesinteger | nullいいね数。
commentsinteger | nullコメント数。
sharesinteger | nullシェア数。
favoritesinteger | null保存またはお気に入り。
repostsinteger | nullリポスト、リツイート、転送。

Post を返すエンドポイント

一度つなげば、あとは聞くだけ。

新しいキーには $0.20 の無料クレジットが付きます。AI に1文貼るだけで接続できます。

無料で始める
AI につなぐ

これを AI エージェントに貼り付けてください

https://okdata.online/agents.md を読んで、okdata を設定してください。キーは環境変数 OKDATA_API_KEY に入っています。

Claude Code、Cursor、Codex など、リンクを開ける AI エージェントなら、読んで自分で設定します。

MCP サーバーhttps://api.okdata.online/mcp