Skip to main content
GET
/
twitter
/
user
/
last_tweets
Get User Last Tweets
curl --request GET \
  --url https://api.aisa.one/apis/v1/twitter/user/last_tweets \
  --header 'Authorization: Bearer <token>'
{
  "tweets": [
    {
      "type": "<string>",
      "id": "<string>",
      "url": "<string>",
      "text": "<string>",
      "source": "<string>",
      "retweetCount": 123,
      "replyCount": 123,
      "likeCount": 123,
      "quoteCount": 123,
      "viewCount": 123,
      "createdAt": "<string>",
      "lang": "<string>",
      "bookmarkCount": 123,
      "isReply": true,
      "inReplyToId": "<string>",
      "conversationId": "<string>",
      "displayTextRange": [
        123
      ],
      "inReplyToUserId": "<string>",
      "inReplyToUsername": "<string>"
    }
  ],
  "has_next_page": true,
  "next_cursor": "<string>",
  "status": "success",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

userId
string

User ID of the user

userName
string

Screen name of the user

cursor
string

Cursor for pagination

includeReplies
boolean
default:false

Include replies in the results

Response

200 - application/json

User tweets

tweets
object[]
has_next_page
boolean
next_cursor
string
status
enum<string>
Available options:
success,
error
message
string