跳转到主要内容
GET
Get User Tweets
获取某个用户最新的推文,接受 userName(@handle)或 userId——当你还没把 handle 解析成 ID 时很有用。可选择包含回复。支持 cursor 分页。 在 data 下返回推文,并带 has_next_page 和 next_cursor。如果你已经有数字 ID,并且需要与个人主页顺序一致、且能展开父推文的完整时间线,请改用 get_twitter_user_tweet_timeline。
第一次用? 把任意 MCP 客户端指向 https://mcp.aisa.one/mcp —— Claude Code、 Codex、Cursor、VS Code 都可以。鉴权走 OAuth:客户端打开浏览器,你点一次 Allow,不需要粘贴任何 key。之后智能体通过几个元工具调用所有端点: search、list_categories、get_details 和 batch_quote 免费,batch_use 按次计费。各客户端的接入步骤见通过 MCP 连接;实时工具列表和 每次调用的价格见 aisa.one/zh-cn/mcp。
在你的 agent 里把这个端点跑起来 →

请求规范

  • 方法与路径: GET /apis/v1/twitter/user/last_tweets
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/twitter/user/last_tweets
  • count: query; 可选
  • cursor: query; 可选
  • includeReplies: query; 可选
  • userId: query; 可选
  • userName: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

按实际计费结果数量收费。 默认请求预估费用:$0.003 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

count
string
cursor
string

分页游标

includeReplies
string

Include replies in the results

Provider reference (supplier schema): {"default":false,"type":"boolean"}.

userId
string

用户的用户 ID

userName
string

用户的显示名称

响应

用户推文

code
integer

AIsa 封装层返回的提供商状态码。

data
object
has_next_page
boolean
msg
string
next_cursor
string | null
status
enum<string>
可用选项:
success,
error