# XTikAPI > Social media data API: one API key reads public posts, comments, accounts, creators and trends from 19 platforms (Douyin, Xiaohongshu, TikTok, WeChat, Bilibili, Weibo, Zhihu, Kuaishou, YouTube, Instagram, X, Reddit and more). 229 endpoints, prepaid per call from $0.002. A failed call is not charged. ## Key facts - Category: social media data API (read-only public data), one key for every platform - Coverage: 19 platforms, 229 endpoints; Chinese platforms (Douyin, Xiaohongshu, WeChat Official Accounts, WeChat Channels, Kuaishou, Bilibili, Weibo, Zhihu, Xingtu, Pugongying) next to TikTok, YouTube, Instagram, X, Reddit, Threads, Telegram, LinkedIn - Price: fixed per call, $0.002 to $0.04; every price is listed at https://xtikapi.com/pricing - Billing: prepaid USD balance; a call is charged when the provider returns HTTP 200 (an empty list included); timeouts and provider errors are free; balance never expires; unused top-up refundable within 14 days - Trial: $0.5 once per verified email, no card - Payment: PayPal checkout, which also takes cards - Auth: `Authorization: Bearer YOUR_API_KEY`; rate limit 10 requests/second per key, 20 per account - Response: { data, meta }; meta carries request_id, unavailable (fields the platform did not send) and billing (charged, amount, balance) - Token savings (measured 2026-11-18): across 147 recorded live responses, raw platform JSON is ~4.71M tokens (18.9 MB) vs ~427k via REST (90.9% fewer) and ~258k via MCP (94.5% fewer; Douyin 97.5%, TikTok 97.1%) - Paging: list responses carry data.has_more and data.next; send data.next back with your parameters for the next page (null = last page) - Safety: X-Max-Price caps the price of one call; Idempotency-Key makes a retry within 24 hours free - Every public page has a Markdown version: add `.md` to its path (home: /index.md) - Last updated: 2026-11-25 ## Contact - Email: support@xtikapi.com - About: https://xtikapi.com/about.md ## Docs - [API quickstart](https://xtikapi.com/docs.md): auth, errors, limits, X-Max-Price, Idempotency-Key - [Social media API pricing](https://xtikapi.com/pricing.md) - [Social media API list](https://xtikapi.com/apis.md) - [Answers](https://xtikapi.com/answers.md) - [MCP server](https://xtikapi.com/mcp): https://xtikapi.com/v1/mcp over Streamable HTTP with OAuth sign-in (ChatGPT, Claude, Claude Code, Codex and Cursor: add the URL, sign in, click Allow) or Authorization: Bearer ; tools find, describe (free), call (paid per call), account. Setup commands and a paste-in install prompt per client - [Integrations](https://xtikapi.com/integrations): step-by-step setup for n8n, Dify, Coze, Feishu, ChatGPT (custom GPT), Claude Code and Cursor - [Changelog](https://xtikapi.com/updates): new endpoints, features and fixes by date - [Daily trending-list archive](https://xtikapi.com/trends): Weibo, Douyin, Zhihu, Bilibili, Kuaishou, Xiaohongshu and TikTok, one snapshot a day by date ## Guides - [How to get Bilibili video comments by BV ID](https://xtikapi.com/guides/bilibili-video-comments.md): Pass the BV ID and page with data.next, which counts the page number up. - [How to list every video from a Douyin account](https://xtikapi.com/guides/douyin-user-videos.md): Pass the account's sec_uid and page with data.next, about 20 videos a page. - [How to get all comments on a Douyin video](https://xtikapi.com/guides/douyin-video-comments.md): Pass the video's aweme_id and page through comments 20 at a time with data.next. - [How to get TikTok video comments with Python](https://xtikapi.com/guides/tiktok-video-comments-python.md): Find a video with one search call, then page through its comments 20 at a time. - [How to get all comments on a Weibo post](https://xtikapi.com/guides/weibo-post-comments.md): Pass the post's numeric ID and page with data.next, about 20 comments a page. Ten pages are 10 calls and $0.02, without a Weibo login or handling error 432. - [How to get a user's posts from X (Twitter) with Python](https://xtikapi.com/guides/x-user-posts-python.md): Pass the username and page with data.next, 20 posts a page. Ten pages are 200 posts for 10 calls and $0.02; on X's own pay-per-use API… - [How to get comments on a Xiaohongshu (RedNote) note](https://xtikapi.com/guides/xiaohongshu-note-comments.md): Pass the note ID and page with data.next. The first page held 10 comments and later pages 15 in our test… - [How to export every note from a Xiaohongshu account](https://xtikapi.com/guides/xiaohongshu-user-notes.md): Pass the user ID and page with data.next, 20 notes a page. Five pages list 100 notes for 5 calls and $0.10; each note comes back with its title, cover… - [How to get YouTube video comments with Python](https://xtikapi.com/guides/youtube-video-comments-python.md): Pass the video ID and page with data.next, 20 comments a page. ## Answers - [Agent Reach Instagram profile and followers return HTTP 400: why?](https://xtikapi.com/answers/agent-reach-instagram-http-400.md): The 400 comes from OpenCLI's Instagram adapter, not from your login. - [Agent Reach Twitter/X channel stopped working: what changed?](https://xtikapi.com/answers/agent-reach-twitter-channel-broken.md): Agent Reach doesn't fetch X itself; it hands the job to another tool, and that tool keeps changing. - [How can an AI agent read WeChat Official Account articles?](https://xtikapi.com/answers/ai-agent-read-wechat-articles.md): A plain page fetch usually fails, because mp.weixin.qq.com blocks non-browser requests. - [How can an AI agent search Zhihu and Douyin?](https://xtikapi.com/answers/ai-agent-search-zhihu-douyin.md): Agent Reach, a popular toolkit for this, doesn't cover them yet. - [Douyin scraper keeps getting CODE 429: what actually works?](https://xtikapi.com/answers/douyin-crawler-code-429.md): 429 is Douyin's rate limit, and the usual home fixes don't move it. - [What does "failed to get user data, get a new ttwid from the web" mean for Douyin?](https://xtikapi.com/answers/douyin-get-new-ttwid.md): It is TikTokDownload's message when Douyin refuses the user-data request, and the ttwid cookie it names was only part of the fix. - [TikTokDownloader Douyin search always returns empty results: why?](https://xtikapi.com/answers/douyin-search-results-empty.md): It is Douyin blocking the search request, not your keyword. In TikTokDownloader issue 600 (November 2025) every search category returned "search results… - [f2 Douyin download fails with Client error '403 Forbidden': how to fix it?](https://xtikapi.com/answers/f2-douyin-403-forbidden.md): It's a new Douyin gateway check, not an expired cookie. In f2 issue 443 (August 2026… - [f2 TikTok user posts return status 200 with an empty response: why?](https://xtikapi.com/answers/f2-tiktok-user-post-empty.md): TikTok answers 200 with no data when the request's tokens don't add up, even if the cookie is valid. - [Instaloader errors (401/429, hashtag 404, get_reels empty, get_comments fail): how do I fix them?](https://xtikapi.com/answers/instaloader-errors-and-fixes.md): Instaloader breaks in four distinct ways as Instagram tightens its web and mobile endpoints: 401/429 session blocks across IPs and cookies… - [All 131 developer answers](https://xtikapi.com/answers.md) ## Comparisons - [vs Apify](https://xtikapi.com/compare/apify-alternative.md): Apify is a general scraping platform: thousands of community-built Actors for any website, run on Apify's compute and priced per result or per compute unit by each Actor's author. XTikAPI is a single API for social platforms with one fixed price per call, one JSON shape across platforms, and Chinese platforms most Actors do not cover. - [vs DataXAPI](https://xtikapi.com/compare/dataxapi-alternative.md): DataXAPI and XTikAPI both read Chinese and global social platforms with one key, prepaid per-call prices, and a hosted MCP server. DataXAPI adds Facebook, Meta and Google ad libraries, Pinterest and video transcripts; XTikAPI starts you with $0.50 of trial balance and adds 10% extra balance on a $100 top-up. - [vs Social Fetch](https://xtikapi.com/compare/socialfetch-alternative.md): Social Fetch has more Western platforms and tooling (TypeScript SDK, monitors with webhooks, a hosted MCP server) and sells credits by pack or monthly plan; XTikAPI adds the Chinese platforms its platform list does not name and prices each call in dollars with no plan. - [vs SocialCrawl](https://xtikapi.com/compare/socialcrawl-alternative.md): SocialCrawl covers far more platforms (75, including review sites and the web) and does not bill empty results; XTikAPI goes deeper on Chinese platforms (WeChat, Xingtu, Pugongying, Douyin trend index) and prices each call in US dollars instead of credit tiers in pounds. - [vs SociaVault](https://xtikapi.com/compare/sociavault-alternative.md): SociaVault sells one-time credit packs from $29 for Western platforms and ad libraries; XTikAPI covers Chinese platforms it does not list, starts with a $10 top-up or any amount from $5, and prices each call in dollars. - [vs TwitterAPI.io](https://xtikapi.com/compare/twitterapi-io-alternative.md): TwitterAPI.io is X-only, priced per returned tweet, with 75 X endpoints including streams and write actions. XTikAPI reads X through the same one key as 19 other platforms, priced per call; choose TwitterAPI.io for deep or real-time X work, XTikAPI when X is one source among several. ## Platforms - [Douyin](https://xtikapi.com/apis/douyin.md): 34 endpoints, $0.002–$0.02 a call; full list https://xtikapi.com/llms-douyin.txt - [Xiaohongshu](https://xtikapi.com/apis/xiaohongshu.md): 16 endpoints, $0.02 a call; full list https://xtikapi.com/llms-xiaohongshu.txt - [TikTok](https://xtikapi.com/apis/tiktok.md): 24 endpoints, $0.002 a call; full list https://xtikapi.com/llms-tiktok.txt - [Kuaishou](https://xtikapi.com/apis/kuaishou.md): 9 endpoints, $0.002–$0.02 a call; full list https://xtikapi.com/llms-kuaishou.txt - [Bilibili](https://xtikapi.com/apis/bilibili.md): 10 endpoints, $0.002 a call; full list https://xtikapi.com/llms-bilibili.txt - [Weibo](https://xtikapi.com/apis/weibo.md): 12 endpoints, $0.002 a call; full list https://xtikapi.com/llms-weibo.txt - [Zhihu](https://xtikapi.com/apis/zhihu.md): 16 endpoints, $0.002 a call; full list https://xtikapi.com/llms-zhihu.txt - [WeChat Official Accounts](https://xtikapi.com/apis/wechat_mp.md): 7 endpoints, $0.02 a call; full list https://xtikapi.com/llms-wechat_mp.txt - [WeChat Channels](https://xtikapi.com/apis/wechat_channels.md): 10 endpoints, $0.02 a call; full list https://xtikapi.com/llms-wechat_channels.txt - [YouTube](https://xtikapi.com/apis/youtube.md): 12 endpoints, $0.002 a call; full list https://xtikapi.com/llms-youtube.txt - [Instagram](https://xtikapi.com/apis/instagram.md): 9 endpoints, $0.002–$0.004 a call; full list https://xtikapi.com/llms-instagram.txt - [X](https://xtikapi.com/apis/x.md): 16 endpoints, $0.002 a call; full list https://xtikapi.com/llms-x.txt - [Reddit](https://xtikapi.com/apis/reddit.md): 11 endpoints, $0.002 a call; full list https://xtikapi.com/llms-reddit.txt - [Threads](https://xtikapi.com/apis/threads.md): 5 endpoints, $0.004 a call; full list https://xtikapi.com/llms-threads.txt - [Xingtu](https://xtikapi.com/apis/xingtu.md): 14 endpoints, $0.002–$0.04 a call; full list https://xtikapi.com/llms-xingtu.txt - [Pugongying](https://xtikapi.com/apis/pugongying.md): 15 endpoints, $0.04 a call; full list https://xtikapi.com/llms-pugongying.txt - [WeChat Search](https://xtikapi.com/apis/wechat.md): 1 endpoints, $0.02 a call; full list https://xtikapi.com/llms-wechat.txt - [Telegram](https://xtikapi.com/apis/telegram.md): 5 endpoints, $0.002 a call; full list https://xtikapi.com/llms-telegram.txt - [LinkedIn](https://xtikapi.com/apis/linkedin.md): 3 endpoints, $0.02 a call; full list https://xtikapi.com/llms-linkedin.txt ## Machine-readable - [Catalog (JSON, no key needed)](https://xtikapi.com/v1/catalog) - [OpenAPI](https://xtikapi.com/openapi.json); per platform, 30 operations at most (for GPT Actions): https://xtikapi.com/openapi/.json, then -2.json - [Prices](https://xtikapi.com/prices.json) - [Full text of every endpoint](https://xtikapi.com/llms-full.txt) - [Agent skill (SKILL.md) for coding agents](https://xtikapi.com/skill.md) - [中文版](https://xtikapi.com/zh/llms.txt)