For AI

How-to guides

26 guides on 14 platforms. Each guide is one job done end to end: the endpoints in the order you call them, the parameters that matter, a request you can paste, and the bill for the worked example. Prices come from the live catalog; a failed call is not charged.

Douyin

  1. Douyin API in Python: videos, profiles and comments (2026)A Python client for public Douyin data: keyword search, video detail, account profile, an account's videos and comments, with paging, retries and the cost of a run.douyin.videos.search → douyin.videos.get → douyin.users.get → douyin.users.videos.list → douyin.videos.comments.listexample: 6 calls, $0.03
  2. How to export Douyin video comments in bulkSearch Douyin by keyword, then pull the comments under each video page by page into one table: the two endpoints, the parameters, Python code and what a run costs.douyin.videos.search → douyin.videos.comments.listexample: 9 calls, $0.036
  3. How to find Douyin Xingtu creators and get their rate cardsSearch Xingtu, Douyin's creator marketplace, by topic with follower and engagement filters, rank creators by price per view, then pull full rate cards: steps, code and cost.douyin.xingtu.creators.search → douyin.xingtu.creators.rates.getexample: 6 calls, $0.204

Xiaohongshu (RedNote)

  1. Xiaohongshu API in Python: notes, profiles and comments (2026)A Python client for public Xiaohongshu (RedNote) data: note search, note detail, creator profile, a creator's notes and comments, with paging, retries and the cost of a run.xiaohongshu.notes.search → xiaohongshu.notes.get → xiaohongshu.users.get → xiaohongshu.users.notes.list → xiaohongshu.notes.comments.listexample: 5 calls, $0.10
  2. How to export Xiaohongshu comments for a keywordSearch Xiaohongshu notes by keyword, keep the ones people discussed most, then page through their comments into one CSV: the two endpoints, parameters, code and cost.xiaohongshu.notes.search → xiaohongshu.notes.comments.listexample: 7 calls, $0.14
  3. How to shortlist Xiaohongshu PGY creators by rate and readsSearch PGY (蒲公英), Xiaohongshu's creator marketplace, by topic with follower, note-type and rate filters, then pull full profiles for a shortlist: steps, fields, code and cost.xiaohongshu.pgy.creators.search → xiaohongshu.pgy.creators.getexample: 6 calls, $0.24
  4. How to search Xiaohongshu notes and export them to CSVSearch Xiaohongshu by keyword with sort and note-type filters, page through the results, fetch full text and every image of the notes you keep, and save one CSV.xiaohongshu.notes.search → xiaohongshu.notes.getexample: 8 calls, $0.16

WeChat Official Accounts

  1. WeChat Official Account API in Python for RAG (2026)A Python client that finds a WeChat Official Account, lists its recent articles and saves each one as a Markdown file with front matter, ready for chunking and embedding.wechat_mp.accounts.search → wechat_mp.accounts.articles.list → wechat_mp.articles.getexample: 14 calls, $0.84
  2. How to get a WeChat Official Account's articles and full textFind a WeChat Official Account by name, page through its article history newest first, then fetch the full text of the articles you need. No QR login; parameters, cost and code.wechat_mp.accounts.search → wechat_mp.accounts.articles.list → wechat_mp.articles.getexample: 9 calls, $0.74

Bilibili

  1. Bilibili API in Python: videos, comments, popular board (2026)Search Bilibili, read views, coins and danmaku counts by BV ID, page through comments and read the popular board from Python, without wbi signing or cookies. Code and cost.bilibili.videos.search → bilibili.videos.get → bilibili.videos.comments.list → bilibili.trends.listexample: 7 calls, $0.014

Weibo

  1. Weibo API in Python: search, profiles and hot search (2026)Search Weibo posts by keyword, look up the accounts behind them by UID and read the hot search board from Python, without OAuth or a cookie. What the open API allows, code and cost.weibo.posts.search → weibo.users.get → weibo.trends.listexample: 9 calls, $0.018

TikTok

  1. TikTok comments in Python for sentiment analysis (2026)Search TikTok by keyword, page through the comments under the top videos and write a clean CSV for sentiment analysis, in Python with requests. Parameters, code and cost.tiktok.videos.search → tiktok.videos.comments.listexample: 11 calls, $0.022
  2. How to get TikTok Creative Center top ads by APISearch TikTok Creative Center Top Ads by keyword, country and time window, then read one brand's ads in TikTok's Ads Library: parameters, code and what a run costs.tiktok.creative_center.ads.search → tiktok.ads.searchexample: 4 calls, $0.012
  3. How to collect TikTok Shop product reviews by keywordSearch TikTok Shop for a product type, read each listing's price, units sold and rating, then page through buyer reviews into a table: the country parameter, Python and cost.tiktok.shop.products.search → tiktok.shop.products.get → tiktok.shop.products.reviews.listexample: 10 calls, $0.022

X (Twitter)

  1. How to search X (Twitter) posts by keyword and export themCollect X (Twitter) posts for a keyword or advanced-search query, page by page, then re-read single posts by ID: parameters, operators, Python code and what a run costs.x.posts.search → x.posts.getexample: 8 calls, $0.0109
  2. How to record X (Twitter) trends for several countries every dayA daily job that reads the X (Twitter) trends board for ten countries and stores each snapshot in SQLite: the parameter, the code, the queries and what it costs.x.trends.listexample: 10 calls, $0.09

YouTube

  1. How to export YouTube comments for every video on a topicSearch YouTube by keyword, then page through the comments under each video into one CSV: the two endpoints, the sort options, Python code, the official quota and cost.youtube.videos.search → youtube.videos.comments.listexample: 9 calls, $0.02
  2. How to get YouTube video transcripts from a keyword searchSearch YouTube by keyword, pick the videos worth reading and fetch their transcripts with timestamps: lang, segments vs text, captionless videos, Python code and cost.youtube.videos.search → youtube.videos.transcript.getexample: 6 calls, $0.024

Meta Ad Library

  1. How to search the Meta Ad Library and follow an advertiserSearch Facebook and Instagram ads in the Meta Ad Library by keyword, list one advertiser's ads, then re-check single ads: country, status, media and sort, code and cost.meta.ads.search → meta.advertisers.ads.list → meta.ads.getexample: 7 calls, $0.028

Google Ads Transparency

  1. How to list a brand's ads in the Google Ads Transparency CenterFind a brand's advertiser ID in the Google Ads Transparency Center, then page through its Search, YouTube and Display ads: id vs domain, format and country filters, code and cost.google.advertisers.search → google.advertisers.ads.listexample: 5 calls, $0.02

Instagram

  1. Instagram API in Python: profiles, posts and comments (2026)What Instagram's official API covers, and a Python script that reads any public account's profile, posts, comments and reel transcripts with requests: parameters, paging and cost.instagram.users.get → instagram.users.posts.list → instagram.posts.comments.list → instagram.posts.transcript.getexample: 8 calls, $0.032

Reddit

  1. How to search Reddit posts by keyword and collect their commentsSearch Reddit posts by keyword, sort and time period, then read the comment threads under the busiest posts into one CSV: parameters, reply structure, Python code and cost.reddit.posts.search → reddit.posts.comments.listexample: 8 calls, $0.02

Kuaishou

  1. Kuaishou API in Python: videos, accounts and comments (2026)Read public Kuaishou data from Python with requests: video search with filters, video detail, an account's videos, comments and replies. The 3x… IDs, paging, full code and cost.kuaishou.videos.search → kuaishou.videos.get → kuaishou.users.videos.list → kuaishou.videos.comments.list → kuaishou.comments.replies.listexample: 5 calls, $0.046

WeChat Channels

  1. WeChat Channels API in Python: videos and comments (2026)Read public WeChat Channels data from Python with requests: video search, video detail, account search, account videos and comments, with no QR login. IDs, paging, code and cost.wechat_channels.videos.search → wechat_channels.videos.get → wechat_channels.users.search → wechat_channels.users.videos.list → wechat_channels.videos.comments.listexample: 6 calls, $0.11
  2. How to get every video a WeChat Channels account has postedFind a WeChat Channels account by name, read its profile, then page through its videos with likes, comments, shares and saves: the account ID, the parameters, Python and cost.wechat_channels.users.search → wechat_channels.users.get → wechat_channels.users.videos.listexample: 6 calls, $0.12
  3. How to export WeChat Channels video comments and repliesSearch WeChat Channels by keyword, turn the search IDs into video IDs, then pull comments and the replies under them into one table: steps, parameters, Python and cost.wechat_channels.videos.search → wechat_channels.videos.get → wechat_channels.videos.comments.list → wechat_channels.comments.replies.listexample: 14 calls, $0.24

Connect once, then just ask.

Every new key comes with $0.10 to try it. One sentence connects your agent.

Start free
Connect your AI

Paste this into your agent

Read https://okdata.online/agents.md and set up okdata for me; my key is in the OKDATA_API_KEY environment variable.

Claude Code, Cursor, Codex and other agents that can open a link set themselves up from it.

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