# Twitter Tweet URL Scraper

**Use case:** 

Extract specific Twitter/X tweets from URLs or IDs with text, author, engagement metrics, timestamps, and media metadata.

## Input

```json
{
  "mode": "tweets",
  "usernames": [
    "elonmusk"
  ],
  "tweetUrls": [
    "https://x.com/elonmusk/status/1893749736647471554"
  ],
  "searchTerms": [
    "apify web scraping"
  ],
  "searchMode": "Top",
  "maxResults": 10,
  "twitterCookie": "***"
}
```

## Output

```json
{
  "url": {
    "label": "Url",
    "format": "string"
  },
  "text": {
    "label": "Text",
    "format": "string"
  },
  "authorUsername": {
    "label": "Author Username",
    "format": "string"
  },
  "likeCount": {
    "label": "Like Count",
    "format": "number"
  },
  "retweetCount": {
    "label": "Retweet Count",
    "format": "number"
  },
  "replyCount": {
    "label": "Reply Count",
    "format": "number"
  },
  "viewCount": {
    "label": "View Count",
    "format": "number"
  },
  "quoteCount": {
    "label": "Quote Count",
    "format": "number"
  },
  "bookmarkCount": {
    "label": "Bookmark Count",
    "format": "number"
  },
  "hashtags": {
    "label": "Hashtags",
    "format": "array"
  },
  "mediaType": {
    "label": "Media Type",
    "format": "string"
  },
  "createdAt": {
    "label": "Created At",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Twitter/X Scraper: Tweets, Profiles & Search](https://apify.com/automation-lab/twitter-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/twitter-scraper) to learn more, explore other use cases, and run it yourself.