Dành cho AI

Đối tượng

Đối tượng 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.

TrườngLoạiTheo viewMô tả
idstringcompactID bài đăng trên nền tảng.
urlstringcompactLink đến bài đăng.
typestringcompactLoại bài đăng.
titlestring | nullcompactTitle, where the platform has one (videos, notes, articles).
textstringcompactCaption, body or description as plain text; articles come as Markdown. · có thể bị cắt bớt ở chế độ compact
langstring | nullstandardMã ngôn ngữ, theo khai báo hoặc tự nhận diện.
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.
authorAccountRefcompactNgười đăng.
metricsSố liệucompactCounts at fetch time; a count the platform hides is null.
imagesstring[] | nullstandardURL ảnh của bài đăng ảnh và ghi chú.
hashtagsstring[] | nullstandardHashtag hoặc chủ đề, không có dấu #.
extobjectfullDữ liệu bổ sung riêng của nền tảng. Chỉ trả về khi view=full. · chỉ khi view=full

AccountRef

TrườngLoạiMô tả
idstringID tài khoản trên nền tảng.
usernamestring | nullHandle, nếu nền tảng có.
namestring | nullTên hiển thị.
avatar_urlstring | nullURL ảnh đại diện.
followersinteger | nullSố người theo dõi tại thời điểm lấy dữ liệu.
verifiedboolean | nullNền tảng có hiển thị huy hiệu xác minh hay không.

Số liệu

TrườngLoạiMô tả
viewsinteger | nullLượt xem hoặc lượt phát.
likesinteger | nullLượt thích.
commentsinteger | nullBình luận.
sharesinteger | nullLượt chia sẻ.
favoritesinteger | nullLượt lưu hoặc yêu thích.
repostsinteger | nullLượt đăng lại, retweet hoặc chuyển tiếp.

Các endpoint trả về Post

Kết nối một lần, sau đó chỉ cần hỏi.

Mỗi khóa mới đi kèm $0.20 để dùng thử. Một câu là kết nối được agent của bạn.

Bắt đầu miễn phí
Kết nối AI của bạn

Dán câu này vào agent của bạn

Đọc https://okdata.online/agents.md và thiết lập okdata cho tôi; khóa của tôi nằm trong biến môi trường OKDATA_API_KEY.

Claude Code, Cursor, Codex và các agent khác có thể mở liên kết sẽ tự thiết lập từ đó.

MCP serverhttps://api.okdata.online/mcp