Skip to main content
GET
Get User Tweets
Get a user’s most recent tweets, accepting either userName (@handle) or userId — useful when you have not resolved the handle to an ID yet. Optionally include replies. Cursor-paginated. Returns tweets under data with has_next_page and next_cursor. Use get_twitter_user_tweet_timeline instead when you already have the numeric ID and want the full profile-order timeline with parent-tweet expansion.
First time? Point any MCP client at https://mcp.aisa.one/mcp — Claude Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client opens a browser, you click Allow once, and there is no key to paste. Your agent then reaches every endpoint through a few meta tools: search, list_categories, get_details and batch_quote are free, batch_use is billed per call. Setup per client is in Connect via MCP; the live tool list and what each call costs are on aisa.one/mcp.
Set this endpoint up in your agent →

Request contract

  • Method and path: GET /apis/v1/twitter/user/last_tweets
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/twitter/user/last_tweets
  • count: query; optional
  • cursor: query; optional
  • includeReplies: query; optional
  • userId: query; optional
  • userName: query; optional
  • Runtime facts: 2c7f0e92fe7bc266f2f532478b278a83381f4b2e4885f901fc233de0bd00a698
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based billing; Default request estimate: $0.003 USD (not a fixed price). Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.003
  • Cost contract: response_count
  • Published reference multiplier: 1.0
  • Settlement evidence source: response_body

Authorizations

Authorization
string
header
required

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

Query Parameters

count
string
cursor
string
includeReplies
string
userId
string
userName
string

Response

User tweets

code
integer

Provider status code returned by the AIsa wrapper.

data
object
has_next_page
boolean
msg
string
next_cursor
string | null
status
enum<string>
Available options:
success,
error