# Export a Twitter thread to structured data

**Use case:** 

Turn a thread into clean structured records for saving or re-publishing.

## Input

```json
{
  "usernames": [
    "Nike"
  ],
  "tweetUrls": [],
  "maxTweetsPerUser": 100,
  "concurrency": 5,
  "proxyConfig": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "staleAfterDays": 30
}
```

## Output

```json
{
  "username": {
    "label": "username"
  },
  "text": {
    "label": "text"
  },
  "created_at": {
    "label": "created_at"
  },
  "lang": {
    "label": "lang"
  },
  "is_reply": {
    "label": "is_reply"
  },
  "is_retweet": {
    "label": "is_retweet"
  },
  "url": {
    "label": "url"
  },
  "scrapedAt": {
    "label": "scrapedAt"
  }
}
```

## About this Actor

This example demonstrates how to use [Twitter / X Tweet Scraper - Tweets by Username, URL or ID](https://apify.com/goat255/twitter-tweet-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/goat255/twitter-tweet-scraper) to learn more, explore other use cases, and run it yourself.