Multiple Tweets
GET https://api.twitter.com/labs/2/tweets?ids
This endpoints returns information about the Tweet specified by the requested IDs.
For full details, see the API reference for this endpoint.
Request Params
| Key | Datatype | Required | Description |
| expansions
| null | | Comma-separated list of fields to expand. Expansions enable requests to expand an ID into a full object in the includes response object.
Allowed values: attachments.poll_ids,attachments.media_keys,author_id,geo.place_id,in_reply_to_user_id,referenced_tweets.id
Default values: none |
| tweet.fields
| null | | attachments,author_id,context_annotations,created_at,entities,geo,id,in_reply_to_user_id,lang,non_public_metrics,organic_metrics,possibly_sensitive,promoted_metrics,public_metrics,referenced_tweets,source,text,withheld |
| media.fields
| null | | duration_ms,height,media_key,non_public_metrics,organic_metrics,preview_image_url,promoted_metrics,public_metrics,type,url,width |
| poll.fields
| null | | duration_minutes,end_datetime,id,options,voting_status |
| place.fields
| null | | contained_within,country,country_code,full_name,geo,id,name,place_type |
| user.fields
| null | | created_at,description,entities,id,location,name,pinned_tweet_id,profile_image_url,protected,public_metrics,url,username,verified,withheld |
| ids
| null | | |
HEADERS
| Key | Datatype | Required | Description |
RESPONSES
status: OK
{"data":[{"id":"1138505981460193280","created_at":"2019-06-11T17:59:13.000Z","text":"🎺 da-dada-DAH! We’re introducing the first Twitter Developer Labs endpoints: \n\n✨GET/users and GET/tweets ✨\n\nLabs is now open to all developers to start experimenting today 👉 https://t.co/eNx4Wc3Qwj https://t.co/ucmZrJAYjk","author_id":"2244994945","attachments":{"media_keys":["7_1138489597158199298"]},"entities":{"urls":[{"start":174,"end":197,"url":"https://t.co/eNx4Wc3Qwj","expanded_url":"https://twittercommunity.com/t/twitter-developer-labs-is-open-to-all-developers/126717","display_url":"twittercommunity.com/t/twitter-deve…"},{"start":198,"end":221,"url":"https://t.co/ucmZrJAYjk"}]},"format":"default"}]}