Skip to main content
POST
/
tweet-info
Tweet Data
curl --request POST \
  --url https://api.sorsa.io/v3/tweet-info \
  --header 'ApiKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tweet_link": "<string>"
}
'
{
  "bookmark_count": 15,
  "conversation_id_str": "1782368585664626774",
  "created_at": "2024-01-15T10:30:00Z",
  "entities": [
    {
      "link": "https://t.co/example",
      "preview": "https://pbs.twimg.com/preview",
      "type": "photo"
    }
  ],
  "full_text": "Hello world",
  "id": "1782368585664626774",
  "in_reply_to_tweet_id": "1782368585664626000",
  "in_reply_to_username": "username",
  "is_quote_status": false,
  "is_replies_limited": false,
  "is_reply": false,
  "lang": "en",
  "likes_count": 200,
  "quote_count": 5,
  "quoted_status": "<unknown>",
  "reply_count": 10,
  "retweet_count": 50,
  "retweeted_status": "<unknown>",
  "user": {
    "bio_urls": [
      "<string>"
    ],
    "can_dm": false,
    "created_at": "2009-06-02T20:12:29Z",
    "description": "Bio text",
    "display_name": "Elon Musk",
    "favourites_count": 1200,
    "followers_count": 100000,
    "followings_count": 500,
    "id": "44196397",
    "location": "Austin, TX",
    "media_count": 300,
    "pinned_tweet_ids": [
      "<string>"
    ],
    "possibly_sensitive": false,
    "profile_background_image_url": "https://pbs.twimg.com/profile_banners/44196397/123",
    "profile_image_url": "https://pbs.twimg.com/profile_images/123/photo.jpg",
    "protected": false,
    "tweets_count": 5000,
    "username": "elonmusk",
    "verified": true
  },
  "view_count": 10000
}

Authorizations

ApiKey
string
header
required

Body

application/json

tweet link required

Full URL of the tweet (e.g. https://x.com/user/status/123) or just the tweet ID.

Response

OK

bookmark_count
integer

Number of times the tweet has been bookmarked.

Example:

15

conversation_id_str
string

ID of the root tweet in the conversation thread.

Example:

"1782368585664626774"

created_at
string

Tweet publication date in ISO 8601 format.

Example:

"2024-01-15T10:30:00Z"

entities
object[]

Media, links, and other embedded entities attached to the tweet.

full_text
string

Full text content of the tweet.

Example:

"Hello world"

id
string

Unique tweet ID.

Example:

"1782368585664626774"

in_reply_to_tweet_id
string

ID of the tweet this tweet is replying to. Null if not a reply.

Example:

"1782368585664626000"

in_reply_to_username
string

Username of the account this tweet is replying to.

Example:

"username"

is_quote_status
boolean

Whether this tweet quotes another tweet.

Example:

false

is_replies_limited
boolean

Whether replies to this tweet are restricted by the author.

Example:

false

is_reply
boolean

Whether this tweet is a reply to another tweet.

Example:

false

lang
string

Detected language code of the tweet (e.g. en, es).

Example:

"en"

likes_count
integer

Number of likes on the tweet.

Example:

200

quote_count
integer

Number of quote tweets.

Example:

5

quoted_status
any

The original tweet being quoted. Present only if is_quote_status is true.

reply_count
integer

Number of replies to the tweet.

Example:

10

retweet_count
integer

Number of retweets.

Example:

50

retweeted_status
any

The original tweet being retweeted. Present only for retweets.

user
object

Author of the tweet.

view_count
integer

Number of views (impressions).

Example:

10000