TwitterAPI.io MCP 与 API 接入

数据供应商鉴权:api_key27 个按次计费 API$0.000015 / 次起

X (Twitter) 公开数据:用户主页、推文、粉丝、搜索、列表、社区与热门趋势。

直接接入 TwitterAPI.io

独立订阅套餐与分散密钥

  • 单独付费与每月最低消费门槛
  • 明文 API 密钥散落在每台开发机
  • 需要额外维护一套供应商适配代码
在 Duang 上使用 TwitterAPI.io

按次计费($0.000015 起),零月费订阅

  • 一份美元余额调用全部 27 个托管接口
  • 新团队赠 $1 免费额度 · 失败调用收费 $0
  • 也可绑定自有 TwitterAPI.io 密钥 · 密钥永不进大模型
发给 Agent 对话直接发给 Claude Code、OpenClaw、OpenCode、Grok Bot、Antigravity、Hermes 或 Pi

Read https://duang.ai/SKILL.md and use duang to run x.tweet.get.

由 TwitterAPI.io 提供支持的标准化数据接口(5)

可以让智能体这样提问

“Look up the X (Twitter) user NASA: their bio, followers, and verification status.”

## X profile: `@NASA` | Field | Value | |---|---| | **Account** | **NASA** (`@NASA` · ID `11348282`) | | **Verification** | Government (`isBlueVerified: true`) | | **Followers / Following** | **92,235,841** / 115 | | **Tweets / Media** | **74,544** / 28,250 | | **Bio & location** | Making the seemingly impossible, possible. · Pale Blue Dot (`nasa.gov`) | Want me to fetch `@NASA`'s latest tweets or check its recent mentions?

user-info · 记录于 2026-11-17T02:46:49.678Z

“Run an advanced search for the latest tweets mentioning Cloudflare Workers.”

## Latest X posts matching `cloudflare workers` (top 3) | Author | Views | Likes | Summary | |---|---|---|---| | `@o2i_5` | 77 | 0 | Migrated a hobby project from GitHub Pages to Cloudflare Registrar, Pages, and Workers | | `@XiaTianvhrt` | 33 | 1 | Highlights open-source **Cloud Mail** (16k GitHub stars) built on Cloudflare Workers | | `@Duper_VFA` | 21 | 0 | Discusses Cloudflare open-sourcing **Kitesurf**, a browser runtime for AI agents | Want me to filter by language (`lang:en`), minimum likes, or pull replies to any of these posts?

tweet-advanced-search · 记录于 2026-11-17T02:47:04.587Z

全部操作(32)

操作价格
GET api.twitterapi.io/twitter/community/get_tweets_from_all_community

Search tweets across all X Communities, about 20 per page (varies) with cursor pagination.

$0.000015
GET api.twitterapi.io/twitter/community/info

Get community info by community id. Price: 20 credits per call. Note: This API is a bit slow, we are still optimizing it.

$0.000015
GET api.twitterapi.io/twitter/community/members

Get the members of an X Community by community ID, 20 per page with cursor pagination. Each member comes with a full user profile.

自备 Key
GET api.twitterapi.io/twitter/community/moderators

Get the moderators of an X Community by community ID, 20 per page with cursor pagination. Each moderator comes with a full user profile.

自备 Key
GET api.twitterapi.io/twitter/community/tweets

Get tweets posted in an X Community by community ID, newest first, 20 per page with cursor pagination. Includes full author and tweet data.

$0.000015
GET api.twitterapi.io/twitter/list/tweets

get tweets by list id.Each page returns up to 20 tweets. Use cursor for pagination. Order by tweet time desc

$0.000015
GET api.twitterapi.io/twitter/list/tweets_timeline

Get the tweet timeline of an X List by list ID: recent tweets from all list members, with cursor pagination through older tweets.

$0.000015
GET api.twitterapi.io/twitter/list/members

Get the members of an X List by list ID, 20 per page with cursor pagination. Each member comes with a full user profile.

自备 Key
GET api.twitterapi.io/twitter/list/followers

Get the followers of an X List by list ID, 20 per page with cursor pagination. Each follower comes with a full user profile.

自备 Key
GET api.twitterapi.io/twitter/spaces/detail

Get details of an X Space by space ID: title, state, creator, participants, stats, and created and scheduled start times.

$0.000015
GET api.twitterapi.io/twitter/trends

Get trending topics on X for a location by WOEID (worldwide, a country or a city), with an optional count of how many trends to return.

$0.000015
GET api.twitterapi.io/twitter/tweets

Get full data for one or more X tweets by tweet ID: text, author, media, metrics, quoted and retweeted tweets, in one request.

$0.000015
GET api.twitterapi.io/twitter/article

Get the full content of an X Article (long-form post) by the tweet ID that shares it, including title and body. 100 credits per article.

$0.000015
GET api.twitterapi.io/twitter/tweet/replies

Get replies to an X tweet by tweet ID, newest first, up to 20 per page with cursor pagination. Ads and non-tweet items are filtered out.

$0.000015
GET api.twitterapi.io/twitter/tweet/replies/v2

Get tweet replies by tweet id (V2).

$0.000015
GET api.twitterapi.io/twitter/tweet/thread_context

Get the full thread around a tweet: the tweets it replies to and the replies below it, with pagination. Page size is set by X and varies.

$0.000015
GET api.twitterapi.io/twitter/tweet/quotes

get tweet quotes by tweet id.Each page returns up to 20 quotes. Use cursor for pagination. Order by quote time desc

$0.000015
GET api.twitterapi.io/twitter/tweet/retweeters

get tweet retweeters by tweet id.Each page returns about 20 retweeters. Use cursor for pagination. Order by retweet time desc

自备 Key
GET api.twitterapi.io/twitter/tweet/advanced_search

Advanced search for tweets.Each page returns up to 20 replies(Sometimes less than 20,because we will filter out ads or other not tweets).

$0.000015
GET api.twitterapi.io/twitter/user/info

Get an X user's profile by username: followers, following, bio, verification, pinned tweet and more.

$0.000015
GET api.twitterapi.io/twitter/user_about

Get the About section of an X profile by username: account country, how it was created, username change history and verification details.

$0.000015
GET api.twitterapi.io/twitter/user/search

Search X users by keyword and get matching accounts with full profiles: username, name, bio, followers and verification, with pagination.

$0.000015
GET api.twitterapi.io/twitter/user/batch_info_by_ids

Get X user profiles for many user IDs in one request. 1 credit per user when 100 or more users are returned, 18 credits per user below 100.

$0.000015
GET api.twitterapi.io/twitter/user/last_tweets

Get an X user's latest tweets by username, newest first, up to 20 per page.

$0.000015
GET api.twitterapi.io/twitter/user/tweet_timeline

Get an X user's tweet timeline by user ID, in the same order as their profile in the X app, up to 20 tweets per page with cursor pagination.

$0.000015
GET api.twitterapi.io/twitter/user/mentions

get tweet mentions by user screen name.Each page returns up to 20 mentions. Use cursor for pagination. Order by mention time desc

$0.000015
GET api.twitterapi.io/twitter/user/followers

Get an X user's followers with full profiles, newest first, up to 200 per page with cursor pagination. From $0.01 per 1,000 followers.

$0.000015
GET api.twitterapi.io/twitter/user/followers_ids

Get an X user's follower IDs in bulk, up to 5,000 per call with cursor pagination. IDs only, no profiles. From $4.50 per million IDs.

$0.000015
GET api.twitterapi.io/twitter/user/verifiedFollowers

Get an X user's verified followers, newest first, 20 per page with cursor pagination. 3 credits per follower ($0.03 per 1,000).

$0.000015
GET api.twitterapi.io/twitter/user/followings

Get the accounts an X user follows, with full profiles, most recent first, up to 200 per page with cursor pagination. From $0.01 per 1,000.

$0.000015
GET api.twitterapi.io/twitter/user/check_follow_relationship

Check if the user is following/followed by the target user. Price: 100 credits ($0.001 per call).

$0.000015
GET api.twitterapi.io/twitter/user/subscriptions

Get User Subscriptions

$0.000015

常见问题

如何在 Claude Code 或 Cursor 中接入 TwitterAPI.io?

通过 Duang 远程 MCP 网关(https://api.duang.ai/mcp)一键连接,即可让 AI Agent 调用 TwitterAPI.io 全部 32 个操作,无需本地维护 MCP 插件或明文密钥。

调用 TwitterAPI.io 的数据接口如何计费?

支持按次精确美元计费(新团队赠 $1 免费额度,上游失败调用收费 $0),也可在团队金库绑定自有 TwitterAPI.io 密钥。

我的 TwitterAPI.io 密钥会暴露给大模型吗?

不会。密钥仅在 Duang 服务端出站请求时解密注入,本地配置文件与大模型上下文中均不包含明文密钥。

相关数据供应商