# SpaceX Launch Clips on X

**Use case:** 

Collect recent public SpaceX video posts for aerospace reporters and social media teams. Results include video files, post URLs, filenames, download links, and author details. Change usernames to scan another profile, or adjust maxPostsPerUser and maxItems to set scan limits.

## Input

```json
{
  "postUrls": [
    "https://x.com/NASA/status/2107095768821576019",
    "2107516524965794217"
  ],
  "usernames": [
    "SpaceX"
  ],
  "maxPostsPerUser": 50,
  "maxItems": 20,
  "mediaTypes": [
    "video"
  ],
  "imageQuality": "orig",
  "videoQuality": "best",
  "downloadAllQualities": false,
  "includePosterImage": false,
  "includeAltText": true,
  "audioOnly": false,
  "audioFormat": "m4a",
  "includeQuotedMedia": true,
  "includeMetadata": true,
  "minLikes": 100,
  "minRetweets": 0,
  "onlyVerifiedAuthors": true,
  "saveToFile": false
}
```

## Output

```json
{
  "tweetUrl": {
    "label": "Post URL",
    "format": "string"
  },
  "uploaderUsername": {
    "label": "Uploader",
    "format": "string"
  },
  "mediaType": {
    "label": "Media type",
    "format": "string"
  },
  "filename": {
    "label": "File name",
    "format": "string"
  },
  "fileSizeBytes": {
    "label": "File size (bytes)",
    "format": "integer"
  },
  "width": {
    "label": "Width",
    "format": "integer"
  },
  "height": {
    "label": "Height",
    "format": "integer"
  },
  "durationSeconds": {
    "label": "Duration (seconds)",
    "format": "number"
  },
  "mediaUrl": {
    "label": "Media URL",
    "format": "string"
  },
  "mediaUrlOriginal": {
    "label": "Original media URL",
    "format": "string"
  },
  "posterImageUrl": {
    "label": "Poster image URL",
    "format": "string"
  },
  "altText": {
    "label": "Alt text",
    "format": "string"
  },
  "downloadUrl": {
    "label": "Download URL",
    "format": "string"
  },
  "downloadStatus": {
    "label": "Download status",
    "format": "string"
  },
  "postedAt": {
    "label": "Posted at",
    "format": "date"
  },
  "contentType": {
    "label": "Content type"
  },
  "mediaId": {
    "label": "Media ID"
  },
  "uploaderName": {
    "label": "Uploader name"
  },
  "uploaderVerified": {
    "label": "Verified"
  },
  "quoteCount": {
    "label": "Quotes",
    "format": "number"
  },
  "quotedTweetUrl": {
    "label": "Quoted post",
    "format": "link"
  },
  "collectedAt": {
    "label": "Data collected at",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Twitter (X) Media Downloader Actor is ready to run with the inputs already set for "SpaceX Launch Clips on X". [Sign up or log in](https://console.apify.com/create-task-from-example/2SJwx7AEOSGrpV71Z) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "SpaceX Launch Clips on X" task

The Twitter (X) Media Downloader Actor will start running based on the input automatically. You can also change all the input fields, like post links or ids, usernames or profile links to scan, and more, to match your specific use case.

### 3. Receive the "SpaceX Launch Clips on X" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as post url, uploader, media type, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "SpaceX Launch Clips on X" task via API](https://apify.com/dataspryva/twitter-x-media-downloader.md).

## FAQ

### How do I collect SpaceX launch clips on X?

The SpaceX launch clips task scans SpaceX’s public media posts and returns media files with post URLs, filenames, download links, and author details.

### What does the SpaceX launch clips task return?

Each result in the SpaceX launch clips task can include a video file, its post URL, filename, file size, dimensions, duration, download link, and uploader details.

### How many SpaceX posts can I scan in one run?

The SpaceX launch clips task checks up to 50 recent media posts and returns at most 20 files per run; it stops when the 20-result cap is reached.

### Can I change which X profile the SpaceX launch clips task scans?

Set the profile handle or link in the SpaceX launch clips task to scan another public profile; the current setting is SpaceX.

### How much does it cost to collect 20 SpaceX launch clips?

The SpaceX launch clips task’s result charge is at most $0.02 on the Free plan for 20 results; the run also incurs an Actor start charge and Apify platform usage.

### Can I export SpaceX launch clip results?

Results from the SpaceX launch clips task can be downloaded as JSON, CSV, Excel, XML, RSS, or an HTML table, or read through the Apify API.

## About this Actor

This example demonstrates how to use [Twitter (X) Media Downloader](https://apify.com/dataspryva/twitter-x-media-downloader.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/dataspryva/twitter-x-media-downloader.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/dataspryva/twitter-x-media-downloader.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
