# How to read the IP location of accounts and comments in bulk: 28 endpoints on 8 platforms (2026)

28 endpoints give the IP location, as ext.ip_location in the full view (ask with view=full): accounts or comments on Douyin, Xiaohongshu, WeChat Official Accounts, Channels, Weibo, Zhihu and Kuaishou, and Bilibili videos, as the platform shows it, a province or a country abroad. The table names the endpoint on each platform. The free trial covers up to 333 calls; a failed call is not charged.

Updated 2026-11-11

## Which endpoints have it?

27 are in the table; the other is the backup version of the Channels account profile.

| Platform | Accounts | Posts and comments |
| --- | --- | --- |
| Douyin | `douyin.users.get` | `douyin.videos.comments.list`, `douyin.comments.replies.list` |
| Xiaohongshu | `xiaohongshu.users.get` | `xiaohongshu.notes.get`, `xiaohongshu.videos.get`, `xiaohongshu.notes.comments.list` |
| WeChat Official Accounts | `wechat_mp.accounts.get` | `wechat_mp.articles.get` (where it was posted from), `wechat_mp.articles.comments.list`, `wechat_mp.comments.replies.list` |
| WeChat Channels | `wechat_channels.users.get` | `wechat_channels.videos.comments.list`, `wechat_channels.comments.replies.list` |
| Weibo | — | `weibo.posts.get`, `weibo.posts.search`, `weibo.users.posts.list`, `weibo.posts.comments.list`, `weibo.comments.replies.list` |
| Zhihu | `zhihu.users.get` | `zhihu.answers.comments.list`, `zhihu.comments.replies.list` |
| Kuaishou | `kuaishou.users.get` | `kuaishou.videos.comments.list`, `kuaishou.comments.replies.list` |
| Bilibili | — | `bilibili.videos.get`, `bilibili.videos.trending` |

## How is it written?

As the platform shows it: mostly a province in China, a country abroad. Xiaohongshu gives it in English letters (the app shows Chinese); a Douyin account's has the 「IP属地：」 label taken off. An account that shows none, or a Zhihu comment from before Zhihu showed them, has null. Cities are not shown and cannot be had.

## How do I count them in bulk?

A comments endpoint is one call a page: page through and count by `ext.ip_location`; an account endpoint is one call an account. Douyin comments are $0.0020 a page and Xiaohongshu's $0.0200; a failed call is not charged.

## How do I use it from an AI?

Once connected, say “for this brand topic, take the first 300 comments on each of Douyin, Xiaohongshu and Weibo, count commenters by IP location, and set the three side by side”.

To connect: paste this to your AI assistant: “Read https://onefeedapi.com/agents.md and set up OneFeedAPI here. My API key is dx_…; use it for every OneFeedAPI call.” A client that takes a remote MCP server can be given `https://onefeedapi.com/mcp` with the header `Authorization: Bearer <key>` instead.

## Why OneFeedAPI

- Steady: endpoints were available 99.9% of the last 30 days, on a public status page you can check.
- Fast: a paid call took 2.5 seconds at the median over the last 7 days (counted 2026-11-06).
- Fewer tokens: across 226 endpoints, one recorded real response each, the platform's own JSON comes to 9.2M tokens and what an AI reads through OneFeedAPI's MCP server to 452k, 95% fewer; the JSON of a direct API call is 90% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in `author`, counts in `metrics`, the next page in `page.next_cursor`, so another platform needs no new parser.
- See before you pay: every endpoint's page shows a recorded real response, field by field.
- Spending you control: a failed call is not charged; each key can have a limit, `X-Max-Price` caps one call, and the same `Idempotency-Key` within 24 hours is never charged twice.
- Ready for AI: a remote MCP server listed in the official MCP registry as `com.onefeedapi/mcp`, usable from Claude, Cursor and ChatGPT.
- Free trial of up to 333 calls, no card.

## Endpoints

- [Douyin video comments](https://onefeedapi.com/apis/douyin/videos/comments/list/) ($0.0020 / a call): Get a page of comments on a Douyin video: text, commenter, likes, reply count, time posted.
- [Douyin user profile](https://onefeedapi.com/apis/douyin/users/get/) ($0.0020 / a call): Get a Douyin user's profile by account ID or profile link: name, handle, bio, follower, following and post counts, total likes, verification; in the full view also what the badge says, whether it is an organisation's or shop's (blue V), whether the profile has a product showcase, whether the account may sell live, and whether it is live now, with the room's ID.
- [Xiaohongshu note comments](https://onefeedapi.com/apis/xiaohongshu/notes/comments/list/) ($0.0200 / a call): Get a page of top-level comments on a Xiaohongshu note by ID or link, newest first or hottest first: text, commenter, likes, reply count, time posted.
- [Xiaohongshu user profile](https://onefeedapi.com/apis/xiaohongshu/users/get/) ($0.0200 / a call): Get a Xiaohongshu account by user ID or profile link: name, handle, bio, follower, following and note counts, verification, and the gender and region its profile shows.
- [WeChat Official Account article detail](https://onefeedapi.com/apis/wechat_mp/articles/get/) ($0.0200 / a call): Get one WeChat Official Account article by its link: title, text, time published, the account's name and IDs. It also says whether it was the lead article or one below, its format, cover, digest, byline, "read the original" link and the IP location it was posted from.
- [WeChat Official Account article comments](https://onefeedapi.com/apis/wechat_mp/articles/comments/list/) ($0.0200 / a call): Get a page of the featured comments on a WeChat Official Account article by its link: text, commenter, likes, reply count, time posted, IP location, whether it is pinned.
- [WeChat Channels account profile](https://onefeedapi.com/apis/wechat_channels/users/get/) ($0.0200 / a call): Get a WeChat Channels account by its ID: name, signature, avatar, IP location, number of videos.
- [WeChat Channels video comments](https://onefeedapi.com/apis/wechat_channels/videos/comments/list/) ($0.0200 / a call): Get a page of top-level comments on a WeChat Channels video by its ID: text, commenter, likes, time posted, IP location.
- [Weibo post comments](https://onefeedapi.com/apis/weibo/posts/comments/list/) ($0.0020 / a call): Get a page of comments on a Weibo post by post ID: text, commenter, likes, reply count, time posted, IP location.
- [Weibo realtime search](https://onefeedapi.com/apis/weibo/posts/search/) ($0.0020 / a call): Get a page of Weibo posts for search terms, newest first: text (a long post is cut short here), author and follower count, likes, comments, reposts, video plays, pictures, topics.
- [Zhihu user profile](https://onefeedapi.com/apis/zhihu/users/get/) ($0.0020 / a call): Get a Zhihu user's profile by the handle in its address: name, headline, follower count, answer and article counts. It also says whether the user is verified or an organisation, and the IP location.
- [Zhihu answer comments](https://onefeedapi.com/apis/zhihu/answers/comments/list/) ($0.0020 / a call): Get a page of comments on a Zhihu answer: text, commenter, likes, reply count, time posted, IP location.
- [Kuaishou user profile](https://onefeedapi.com/apis/kuaishou/users/get/) ($0.0200 / a call): Get a Kuaishou user's profile by user ID: name, handle, bio, follower, following and post counts, total likes, verification; in the full view also what the badge says, the IP location, gender, and whether the profile has a Kuaishou store.
- [Kuaishou video comments](https://onefeedapi.com/apis/kuaishou/videos/comments/list/) ($0.0020 / a call): Get a page of top-level comments on a Kuaishou video: text, commenter, likes, time posted, IP location.
- [Bilibili video detail](https://onefeedapi.com/apis/bilibili/videos/get/) ($0.0020 / a call): Get one Bilibili video by BV number or link: title, description, uploader, views, likes, coins, saves, danmaku count, length, tags, section, IP location, and the cid that subtitles and danmaku are asked for by.

## More about Douyin

- [Douyin API](https://onefeedapi.com/apis/douyin/)
- [Xiaohongshu (RedNote) API](https://onefeedapi.com/apis/xiaohongshu/)
- [WeChat Official Accounts API](https://onefeedapi.com/apis/wechat_mp/)
- [WeChat Channels API](https://onefeedapi.com/apis/wechat_channels/)
- [Weibo API](https://onefeedapi.com/apis/weibo/)
- [Zhihu API](https://onefeedapi.com/apis/zhihu/)
- [Kuaishou API](https://onefeedapi.com/apis/kuaishou/)
- [Bilibili API](https://onefeedapi.com/apis/bilibili/)
- [How do I export Douyin data?](https://onefeedapi.com/answers/export-douyin-data/)
- [What is sec_uid on Douyin, and how is it different from uid and the Douyin ID?](https://onefeedapi.com/answers/douyin-sec-uid/)
- [What are aweme_id and modal_id on Douyin, and what is a v.douyin.com link?](https://onefeedapi.com/answers/douyin-aweme-id-modal-id/)
- [Is the Douyin search index a number of searches?](https://onefeedapi.com/answers/douyin-search-index-vs-search-count/)
- [What is the Douyin keyword index (Ocean Engine)?](https://onefeedapi.com/answers/what-is-douyin-keyword-index-ocean-engine/)
- [What is Douyin Xingtu?](https://onefeedapi.com/answers/what-is-douyin-xingtu/)
- [Can Douyin's open platform read other people's videos and comments? (2026)](https://onefeedapi.com/answers/douyin-open-platform-api/)
- [How do I check a keyword's heat on Douyin and Xiaohongshu before advertising? (2026)](https://onefeedapi.com/answers/douyin-xiaohongshu-keyword-heat/)
- [How do I export all of a Douyin creator's video data? (2026)](https://onefeedapi.com/answers/export-douyin-creator-videos/)
- [How do I export Douyin comments in bulk to find what users want? (2026)](https://onefeedapi.com/answers/export-douyin-comments-user-needs/)
- [How do I find Douyin videos that took off from small accounts, and can I pull them in bulk? (2026)](https://onefeedapi.com/answers/douyin-low-fan-viral-videos/)
- [What are a_bogus and X-Bogus on Douyin? (2026)](https://onefeedapi.com/answers/douyin-a-bogus-x-bogus/)
- [What is msToken on Douyin? (2026)](https://onefeedapi.com/answers/douyin-mstoken/)
- [Which Douyin API should I use for search, accounts and comments? (2026)](https://onefeedapi.com/answers/which-douyin-api-to-use/)
- [How do I pull Douyin's hot-topic data by program? (2026)](https://onefeedapi.com/answers/douyin-hot-topics-by-program/)
- [How do I use AI to audit and review an account? (2026)](https://onefeedapi.com/answers/ai-account-audit-and-review/)
- [How do I filter Xingtu creators in bulk and see their rates? (2026)](https://onefeedapi.com/answers/douyin-xingtu-creators-bulk-filter/)
- [What is ttwid on Douyin? (2026)](https://onefeedapi.com/answers/douyin-ttwid/)
- [What are verifyFp and s_v_web_id on Douyin? (2026)](https://onefeedapi.com/answers/douyin-verifyfp-s-v-web-id/)
- [How do I convert a Douyin sec_uid to a uid, and back? (2026)](https://onefeedapi.com/answers/douyin-sec-uid-to-uid/)
- [Douyin API for developers: third-party Douyin data APIs and what they return (2026)](https://onefeedapi.com/answers/douyin-third-party-data-apis/)
- [Douyin MCP server for Claude and Cursor (2026)](https://onefeedapi.com/answers/douyin-mcp/)
- [Creator (KOL) data from Douyin and Xiaohongshu: profiles, posts and rates (2026)](https://onefeedapi.com/answers/douyin-xiaohongshu-creator-data/)
- [Chinese social media marketing data tools: official tools and APIs (2026)](https://onefeedapi.com/answers/chinese-social-media-marketing-data-tools/)
- [Which social media data API is best for AI agents? Count the tokens a response takes (2026)](https://onefeedapi.com/answers/social-media-api-for-ai-agents/)
- [Social media API responses fill the AI's context and burn tokens: what to do](https://onefeedapi.com/answers/api-response-too-many-tokens/)
- [Douyin, WeChat and Xiaohongshu data in Claude Code and Codex (2026)](https://onefeedapi.com/answers/claude-code-codex-china-social-data/)
- [How many tokens does a social media API response take in an AI? Every endpoint measured (2026)](https://onefeedapi.com/answers/social-media-api-token-benchmark/)
- [Douyin API for AI agents and LLMs: fewer tokens, called from Claude and Cursor (2026)](https://onefeedapi.com/answers/douyin-api-for-ai-agents/)
- [Douyin video download URL: getting a video's play address by API (2026)](https://onefeedapi.com/answers/douyin-video-play-url-api/)
- [Douyin and Xiaohongshu search box suggestions (autocomplete) by API, in bulk (2026)](https://onefeedapi.com/answers/douyin-xiaohongshu-search-suggestions-api/)
- [Douyin video completion rate and plays: Xingtu's video report by API (2026)](https://onefeedapi.com/answers/douyin-video-completion-rate/)
- [Every figure on a Douyin Xingtu creator page: can an API get it? Field by field (2026)](https://onefeedapi.com/answers/douyin-xingtu-creator-page-fields/)
- [Xingtu integrated and custom video rates: the difference, and getting them by API (2026)](https://onefeedapi.com/answers/douyin-xingtu-integrated-vs-custom-rate/)
- [Finding Xingtu creators by CPM: the Douyin creators that cost least a thousand views (2026)](https://onefeedapi.com/answers/douyin-xingtu-find-creators-by-cpm/)
- [From a Douyin video link to its creator's Xingtu ID and rates (2026)](https://onefeedapi.com/answers/douyin-video-to-xingtu-creator/)
- [Does a Douyin account have a shop showcase, sell live, or carry a business badge? (2026)](https://onefeedapi.com/answers/douyin-account-showcase-live-selling/)
- [Who searches a word on Douyin? Keyword audience by age, gender, region and TGI (2026)](https://onefeedapi.com/answers/douyin-keyword-audience/)
- [Where are a Douyin video's commenters? Exporting and counting comment IP locations (2026)](https://onefeedapi.com/answers/douyin-comment-ip-location-stats/)
- [How to get Douyin's trending background music every day: the Douyin music chart API (2026)](https://onefeedapi.com/answers/douyin-trending-bgm/)
- [What does a Douyin creator with 1 million followers charge on Xingtu? Checking rates by follower band (2026)](https://onefeedapi.com/answers/douyin-xingtu-rates-by-followers/)
- [Does Douyin Xingtu have an API? What the official one reads, and how to read any creator (2026)](https://onefeedapi.com/answers/douyin-xingtu-api/)
- [Can DeepSeek get Douyin, Xiaohongshu and WeChat data? Two ways to have it call the endpoints (2026)](https://onefeedapi.com/answers/deepseek-social-media-data/)
- [Can Doubao get Douyin, Xiaohongshu and WeChat data? Add a custom plugin in its desktop app (2026)](https://onefeedapi.com/answers/doubao-social-media-data/)
- [Is there an API that gets a video's file address? Douyin, Xiaohongshu and WeChat Channels (2026)](https://onefeedapi.com/answers/video-file-url-api-china/)
- [How do I collect Douyin data? The creator center, the open platform, scrapers and data APIs (2026)](https://onefeedapi.com/answers/how-to-collect-douyin-data/)
- [How to get Douyin keyword trends in bulk](https://onefeedapi.com/guides/douyin-keyword-trends/)
- [How to export Douyin video comments in bulk](https://onefeedapi.com/guides/douyin-video-comments/)
- [How to look up a Douyin creator's Xingtu rate card](https://onefeedapi.com/guides/douyin-xingtu-creator-rates/)
- [Does Douyin have an API? Get videos and comments with Python (2026)](https://onefeedapi.com/guides/douyin-api-python/)
- [SocialCrawl alternative for Douyin, Xiaohongshu and WeChat data](https://onefeedapi.com/compare/socialcrawl-alternative/)
- [How to choose a social media data API: failed-call charges, MCP and Chinese platforms](https://onefeedapi.com/compare/social-media-data-apis/)

---

Catalog revision dc959672dd18e2d0. [HTML version](https://onefeedapi.com/answers/ip-location-by-platform/)
