直接购买
推荐每 1,000 次调用价格
US$0.09 → US$0.065
Standard 到 Scale 档
付款方式
预付余额,加密货币或银行卡
免费试用
注册即得 US$0.10 额度
速率限制
首次充值后每秒 30 次请求,最高 3,000
适合
任何用量下都想要最低价
推特/X 数据 API · 按调用付费
通过普通 HTTPS 请求搜索推文、获取用户资料和粉丝列表。先充值余额,再按调用次数扣费。无需 X 开发者账号。
动画:数据包从 TwittrAPI 的 # 标志中流出,变成 API 的 JSON 响应
GET /user/2244994945/tweets?format=simple · 200 OK · 610 ms (响应时间中位数(过去 24 小时)— 实时数据来自 /status)
基于真实 API 调用测量,每分钟更新。实时状态(英文) →
接口
所有读取接口按类别分组。每个接口在 API 参考文档(英文)中都有单独页面,列出参数、限制和示例。
在请求头里带上密钥,返回 JSON。直连账号使用 X-API-KEY 请求头,RapidAPI 使用它自己的两个请求头,接口路径相同。
GET /user/by/username/XDevelopers?format=simple
X-API-KEY: ••••••••
{
"data": {
"id": "2244994945",
"username": "XDevelopers",
"name": "Developers",
"description": "The voice of the X Dev team and your official source for updates, news, and events, related to the X API.",
"location": "127.0.0.1",
"url": "https://docs.x.com/",
"createdAt": "2013-12-14T04:35:55Z",
"avatarUrl": "https://pbs.twimg.com/profile_images/1683501992314798080/xl1POYLw.jpg",
"bannerUrl": "https://pbs.twimg.com/profile_banners/2244994945/1690213128",
"verified": true,
"verifiedType": "Business",
"protected": false,
"counts": {
"followers": 698074,
"following": 770,
"tweets": 4376,
"likes": 2758,
"media": 832,
"listed": 2977
},
"pinnedTweetIds": [
"2019881223666233717"
],
"isAutomated": falseGET /tweet/2019881223666233717?format=simple
X-API-KEY: ••••••••
{
"data": [
{
"id": "2019881223666233717",
"url": "https://x.com/XDevelopers/status/2019881223666233717",
"text": "Officially launching X API Pay-Per-Use\n\nThe core of X developers are indie builders, early stage products, startups, and hobbyists\n\nIt’s time to open up our X API ecosystem and instill a new wave of next generation X apps\n\nWe’re so back. http://developer.x.com",
"createdAt": "2026-02-06T21:09:45Z",
"lang": "en",
"author": {
"id": "2244994945",
"username": "XDevelopers",
"name": "Developers",
"description": "The voice of the X Dev team and your official source for updates, news, and events, related to the X API.",
"location": "127.0.0.1",
"url": "https://docs.x.com/",
"createdAt": "2013-12-14T04:35:55Z",
"avatarUrl": "https://pbs.twimg.com/profile_images/1683501992314798080/xl1POYLw.jpg",
"bannerUrl": "https://pbs.twimg.com/profile_banners/2244994945/1690213128",
"verified": true,
"verifiedType": "Business",
"protected": false,
"counts": {
"followers": 698057,
"following": 770,
"tweets": 4376,
"likes": 2758,GET /search?searchItem=openai&category=Latest&format=simple
X-API-KEY: ••••••••
{
"data": [
{
"id": "2000000000000000001",
"url": "https://x.com/example_user_1/status/2000000000000000001",
"text": "Example text.",
"createdAt": "2026-10-10T20:13:36Z",
"lang": "en",
"author": {
"id": "1000000000000000001",
"username": "example_user_1",
"name": "Example User 1",
"description": "Example",
"location": "Example",
"url": null,
"createdAt": "2026-08-24T10:29:06Z",
"avatarUrl": "https://pbs.twimg.com/profile_images/1000000000000000000/example.jpg",
"bannerUrl": "https://pbs.twimg.com/profile_banners/1000000000000000000/1700000000",
"verified": false,
"verifiedType": null,
"protected": false,
"counts": {
"followers": 1290,
"following": 1091,
"tweets": 2136,
"likes": 2972,GET /lists/tweets?listId=84839422&format=simple
X-API-KEY: ••••••••
{
"data": [
{
"id": "2000000000000000001",
"url": "https://x.com/example_user_1/status/2000000000000000001",
"text": "Example text.",
"createdAt": "2026-10-10T15:36:16Z",
"lang": "en",
"author": {
"id": "1000000000000000001",
"username": "example_user_1",
"name": "Example User 1",
"description": "Example",
"location": "",
"url": null,
"createdAt": "2011-05-17T17:54:29Z",
"avatarUrl": "https://pbs.twimg.com/profile_images/1000000000000000000/example.jpg",
"bannerUrl": "https://pbs.twimg.com/profile_banners/1000000000000000000/1700000000",
"verified": true,
"verifiedType": "Business",
"protected": false,
"counts": {
"followers": 13830347,
"following": 2351,
"tweets": 33558,
"likes": 30446,GET /communities/1762494276565426592?format=simple
X-API-KEY: ••••••••
{
"data": {
"id": "1762494276565426592",
"name": "AI — Rumors & Insights",
"description": "Discuss the state of AI from industry insiders and anons 🕵️♂️",
"createdAt": "2024-02-27T15:05:55Z",
"memberCount": 30718,
"moderatorCount": 0,
"joinPolicy": "Open",
"nsfw": false,
"topic": "Artificial Intelligence",
"bannerUrl": "https://pbs.twimg.com/community_banner_img/2006436936446029824/n1OK-QV1?format=jpg&name=orig",
"creator": null,
"rules": [
{
"id": "1985766359352164786",
"name": "Make relevant and useful posts 🙂",
"description": "Post useful, relevant, informative AI insights"
},
{
"id": "1984441743522079061",
"name": "Make sure content is High Quality 📈",
"description": "Post high quality, original content"
},
{
"id": "1984442424438010066",GET /jobs/search/engineer?format=simple
X-API-KEY: ••••••••
{
"data": [
{
"id": "1933623118666571776",
"title": "Electrical Engineer Intern, Robotics and Surgery Engineering",
"location": "South San Francisco, California, United States",
"url": "https://boards.greenhouse.io/neuralink/jobs/6607398003?gh_jid=6607398003",
"description": null,
"company": {
"id": "1750340242106884201",
"name": "Example User 1",
"logoUrl": "https://pbs.twimg.com/misc_img/1832099493933662208/AsbLJnCG?format=jpg&name=orig&cat=41"
},
"postedBy": {
"id": "1000000000000000001",
"username": "example_user_1"
}
},
{
"id": "2108354584003616768",
"title": "Rapid Prototyping Technician",
"location": "Austin, Texas, United States; South San Francisco, California, United States",
"url": "https://boards.greenhouse.io/neuralink/jobs/8017328003?gh_jid=8017328003",
"description": null,
"company": {
"id": "1750340242106884201",GET /misc/emojis?format=simple
X-API-KEY: ••••••••
{
"data": [
{
"hashtag": "13周年大カーン謝祭",
"starting_timestamp_ms": 1783857600000,
"ending_timestamp_ms": 1791817140000,
"asset_url": "https://abs.twimg.com/hashflags/BF-16276_Hashmoji_monst_mmix_13rdAnniv/BF-16276_Hashmoji_monst_mmix_13rdAnniv.png",
"is_hashfetti_enabled": false
},
{
"hashtag": "2030年までの目標",
"starting_timestamp_ms": 1791644400000,
"ending_timestamp_ms": 1799593140000,
"asset_url": "https://abs.twimg.com/hashflags/BF-16606_Zoff_INFO_BrandedLikes_Hashmoji_after_v2/BF-16606_Zoff_INFO_BrandedLikes_Hashmoji_after_v2.png",
"is_hashfetti_enabled": false
},
{
"hashtag": "90分間逃げろ",
"starting_timestamp_ms": 1791126000000,
"ending_timestamp_ms": 1799154000000,
"asset_url": "https://abs.twimg.com/hashflags/BF-16650_Sony_Pictures_Resident_Evil_2026_Hashmoji_v2/BF-16650_Sony_Pictures_Resident_Evil_2026_Hashmoji_v2.png",
"is_hashfetti_enabled": false
},
{
"hashtag": "AION2",
"starting_timestamp_ms": 1790935200000,集成
官方 SDK、面向 AI 智能体的 MCP 服务器,以及自动化工具的节点。全部开源。它们发出的每次调用都按一次 API 调用计费。
监控
过去 12 小时的真实推文,主要来自粉丝 2 万以上的账号,延迟后逐条回放。此预览并非实时;监控会关注你选择的任意规模账号,并按所选等级在 1、5 或 60 秒内把每条新推文 POST 到你的 Webhook。
所选话题过去 12 小时真实推文的延迟回放,最新的在最上面。每条推文显示发布时间和作者的粉丝数。
这是免费预览,推文会延迟显示,并非实时。实时推送需要订阅监控套餐。
价格
任意金额充值后每 1,000 次调用 US$0.09;单次充值 US$100 后 30 天内 US$0.075;30 天内累计充值 US$500 时 US$0.065。余额永不过期。返回 400、408、409 或 5xx 错误的调用会退款。
StandardUS$0.09 每 1,000 次调用
任意充值金额
US$90/ 月
你的档位
VolumeUS$0.075 每 1,000 次调用
单次充值 US$100 及以上后的 30 天内
US$75/ 月
ScaleUS$0.065 每 1,000 次调用
最近 30 天累计充值达到 US$500 及以上期间
US$65/ 月
仅为估算:档位按每月充值等于用量计算。余额永不过期。
每 1,000 次调用价格
US$0.09 → US$0.065
Standard 到 Scale 档
付款方式
预付余额,加密货币或银行卡
免费试用
注册即得 US$0.10 额度
速率限制
首次充值后每秒 30 次请求,最高 3,000
适合
任何用量下都想要最低价
每 1,000 次调用价格
US$0.095
最大套餐(MEGA)
付款方式
月度订阅,由 RapidAPI 收费
免费试用
BASIC 套餐,每月 300 次请求
速率限制
取决于你的 RapidAPI 套餐
适合
已通过 RapidAPI 付费的团队
每 1,000 次调用价格
US$0.105
最大套餐(每月 US$105)
付款方式
月度订阅,由 JojAPI 收费
免费试用
Free 套餐,每月 300 次请求
速率限制
最高每秒 35 次请求,取决于套餐
适合
已在 JojAPI 购买 API 的团队
加密货币无附加费。Tron 链上的 USDT:最低 US$50,每笔充值收取 US$3 网络费,从到账金额中扣除。
对比
一项常见任务,按各服务商公布的价格计算。
常见问题
一个获取推特/X 公开数据的 REST API:推文、用户资料、粉丝、搜索、社群、列表和趋势。由我们自己运营,与 X Corp. 无关联。
不需要。密钥由我们(直连账号)或 RapidAPI、JojAPI 发放,你无需在 console.x.com 注册。
直连账号每 1,000 次调用 US$0.09;单次充值 US$100 及以上后 30 天内为 US$0.075;最近 30 天累计充值达到 US$500 时为 US$0.065。一次调用就是一次 HTTP 请求。查询用户资料返回一个用户,搜索或时间线调用返回一页结果。
部分会。返回 400、408、409 或 5xx 错误的调用会立即退款(响应头 X-Refunded: true),429 不扣费。404 和 422 会扣费,因为请求已被处理。
不会。未用完的余额一直保留在账号里。
可以。直连账号注册即送 US$0.10 额度,按 Standard 价格约可调用 1,100 次。RapidAPI 有免费的 BASIC 套餐,每月 300 次请求。
不能。只能获取公开数据,受保护账号和私信都无法访问。
加密货币(Polygon 链上的 USDT 或 USDC、Tron 链上的 USDT 或 Litecoin)支付无附加费,是最便宜的付款方式。也可用银行卡一次性充值,最低 US$20(收取 9% 银行卡手续费)。Tron 链上的 USDT:最低 US$50,每笔充值收取 US$3 网络费,从到账金额中扣除。企业客户可申请自动充值,以及带增值税号的发票(反向征收)。在 RapidAPI 和 JojAPI 上则向平台付款。
需要代表用户发帖,或需要与 X 直接签约时。如果只是读取公开数据,我们便宜得多。X 每读取一条帖子收费 US$0.005,即每 1,000 条 US$5.00。
发邮件至 support@twittrapi.com。