# Get hooks and caption ideas from NASA YouTube Shorts

**Use case:** 

Get the opening hook, caption idea and hashtags for a channel's Shorts. Use it to study what hooks work in a niche or to repurpose a transcript. Each row also has the full transcript.

## Input

```json
{
  "shortsUrls": [
    "https://www.youtube.com/@NASA"
  ],
  "maxShortsPerChannel": 5,
  "searchMatch": "all",
  "maxScan": 40,
  "languages": [
    "en"
  ],
  "hashtags": [],
  "includeStats": true,
  "maxItems": 5,
  "onlyNew": false,
  "monitorId": "default",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "residentialFallback": true,
  "datasetMaxItems": 1000
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "text"
  },
  "channelName": {
    "label": "Channel name",
    "format": "text"
  },
  "viewCount": {
    "label": "Views",
    "format": "number"
  },
  "likeCount": {
    "label": "Likes",
    "format": "number"
  },
  "commentCount": {
    "label": "Comments",
    "format": "number"
  },
  "publishedAt": {
    "label": "Published (date)",
    "format": "text"
  },
  "language": {
    "label": "Language",
    "format": "text"
  },
  "isAutoGenerated": {
    "label": "Is auto generated",
    "format": "boolean"
  },
  "wordCount": {
    "label": "Word count",
    "format": "number"
  },
  "durationSeconds": {
    "label": "Duration seconds",
    "format": "number"
  },
  "hook": {
    "label": "Hook",
    "format": "text"
  },
  "suggestedCaption": {
    "label": "Suggested caption",
    "format": "text"
  },
  "text": {
    "label": "Text",
    "format": "text"
  },
  "url": {
    "label": "URL",
    "format": "link"
  }
}
```

## How it works

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

The YouTube Shorts Transcript Scraper - SRT, VTT, Hooks, Bulk Actor is ready to run with the inputs already set for "Get hooks and caption ideas from NASA YouTube Shorts". [Sign up or log in](https://console.apify.com/create-task-from-example/EQk9xtqWpugWae1t6) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Get hooks and caption ideas from NASA YouTube Shorts" task

The YouTube Shorts Transcript Scraper - SRT, VTT, Hooks, Bulk Actor will start running based on the input automatically. You can also change all the input fields, like shorts or channels, max shorts per channel, and more, to match your specific use case.

### 3. Receive the "Get hooks and caption ideas from NASA YouTube Shorts" 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 title, channel name, views, 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 "Get hooks and caption ideas from NASA YouTube Shorts" task via API](https://apify.com/martin10291/youtube-shorts-captions.md).

## FAQ

### How much does a run cost?

You pay per result: $0.0025 per result on the Free plan (about $2.50 per 1,000). Paid Apify plans get lower tiered prices.

### What can I change in the input?

Edit shortsUrls, maxShortsPerChannel and languages.

### Can I run it on a schedule?

Yes. Add this task to an Apify Schedule (for example daily) and read the dataset after each run. This task has no only-new switch, so each run returns the full result for your input.

## About this Actor

This example demonstrates how to use [YouTube Shorts Transcript Scraper - SRT, VTT, Hooks, Bulk](https://apify.com/martin10291/youtube-shorts-captions.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/martin10291/youtube-shorts-captions.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/martin10291/youtube-shorts-captions.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`).
