Skip to content

Get Tweet - API Reference

GET https://api.socialdata.tools/twitter/tweets/{id}

Headers

Authorization string required

Authorization Bearer header containing your SocialData API key

Example: Bearer YOUR_API_KEY

Path Parameters

id integer required

The numerical id of the target tweet

Example: 1729591119699124560

Code Examples

Terminal window
curl "https://api.socialdata.tools/twitter/tweets/1729591119699124560" \
-H "Authorization: Bearer API_KEY" \
-H "Accept: application/json"

Example Responses

{
"tweet_created_at": "2022-07-19T06:35:54+00:00",
"id": 1549281861687451648,
"id_str": "1549281861687451648",
"text": null,
"full_text": "100 tips I learned growing an iOS app to ~$5M in sales in 3 yrs, going through YC 1.5 times, and co-founding @Superwall 👇",
"source": "<a href=\"https:\/\/getchirrapp.com\" rel=\"nofollow\">chirr.app<\/a>",
"truncated": false,
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": null,
"in_reply_to_user_id_str": null,
"in_reply_to_screen_name": null,
"user": {
"id": 15118774,
"id_str": "15118774",
"name": "Jake Mor",
"screen_name": "jakemor",
"location": "New York, USA",
"url": "http:\/\/superwall.com",
"description": "CEO @Superwall — build & test paywalls without shipping updates. Past: Founder @FitnessAI_ (acquired). YC W20 & S21",
"protected": false,
"verified": true,
"followers_count": 5423,
"friends_count": 556,
"listed_count": 95,
"favourites_count": 1161,
"statuses_count": 1683,
"created_at": "2008-06-14T18:37:41+00:00",
"profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/15118774\/1636564314",
"profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1167559170540875777\/nRn7p8em_normal.jpg",
"can_dm": true
},
"quoted_status_id": null,
"quoted_status_id_str": null,
"is_quote_status": false,
"quoted_status": null,
"retweeted_status": null,
"quote_count": 73,
"reply_count": 105,
"retweet_count": 492,
"favorite_count": 9419,
"views_count": null,
"bookmark_count": 4614,
"lang": "en",
"entities": {
"user_mentions": [
{
"id_str": "1427520876325613571",
"name": "Superwall",
"screen_name": "Superwall",
"indices": [
109,
119
]
}
],
"urls": [],
"hashtags": [],
"symbols": []
},
"is_pinned": false
}

Response Codes

  • 200 OK - request succeeded
  • 402 Payment Required - not enough credits to perform this request
  • 404 Not Found - requested tweet does not exist
  • 422 Unprocessable Content - validation failed (e.g. one of the required parameters was not provided)
  • 500 Internal Error - API internal error, typically means that SocialData API failed to obtain the requested information and you should try again later

Useful Resources