# Build a Twitter Data Pipeline for Research

**Use case:** 

Scrape public tweets: text, likes, retweets, replies, date and media, ready for entity extraction and Postgres. Build a Twitter/X research data pipeline from an

## Input

```json
{
  "usernames": [
    "nasa"
  ],
  "maxTweetsPerUser": 10
}
```

## Output

```json
{
  "username": {
    "label": "Username",
    "format": "text"
  },
  "tweet_text": {
    "label": "Tweet",
    "format": "text"
  },
  "likes": {
    "label": "Likes",
    "format": "text"
  },
  "retweets": {
    "label": "Retweets",
    "format": "text"
  },
  "replies": {
    "label": "Replies",
    "format": "text"
  },
  "posted_date": {
    "label": "Posted Date",
    "format": "text"
  },
  "media_type": {
    "label": "Media Type",
    "format": "text"
  },
  "tweet_url": {
    "label": "URL",
    "format": "link"
  }
}
```

## About this Actor

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