# Find Newest YouTube Videos by Keyword

**Use case:** 

Search YouTube for the latest videos on any topic, sorted by upload date. Get title, channel, views, duration, publish date and URL for trend monitoring.

## Input

```json
{
  "mode": "searchVideos",
  "searchTerms": [
    "ai news"
  ],
  "maxResultsPerQuery": 30,
  "videoSort": "date",
  "includeVideos": false,
  "maxVideosPerChannel": 10,
  "includeVideoStats": false,
  "enrichCreatorContacts": false,
  "country": "US",
  "language": "en",
  "monitorMode": false,
  "monitorStoreName": "youtube-monitor",
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "type": {
    "label": "Type"
  },
  "videoId": {
    "label": "Video ID"
  },
  "title": {
    "label": "Video"
  },
  "channelTitle": {
    "label": "Channel"
  },
  "viewCount": {
    "label": "Views"
  },
  "likeCount": {
    "label": "Likes"
  },
  "commentCount": {
    "label": "Comments"
  },
  "publishedDate": {
    "label": "Published"
  },
  "publishedTimeText": {
    "label": "Published (rel.)"
  },
  "durationFormatted": {
    "label": "Duration"
  },
  "url": {
    "label": "URL"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Scraper — Channels, Videos & Creator Leads](https://apify.com/scrapesage/youtube-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapesage/youtube-scraper) to learn more, explore other use cases, and run it yourself.