# Scrape YouTube Trending Videos

**Use case:** 

Use our YouTube Trend Scraper to extract top trending videos, views, and channel data. Track viral content instantly to boost your own video strategy.

## Input

```json
{
  "keyword": "gym fitness",
  "maxResults": 20,
  "countryCode": "US",
  "sortBy": "relevance"
}
```

## Output

```json
{
  "videoId": {
    "label": "Video ID",
    "format": "text"
  },
  "trendRating": {
    "label": "Trend Score",
    "format": "number"
  },
  "creatorUtilityFlag": {
    "label": "Utility",
    "format": "text"
  },
  "engagementQuality": {
    "label": "Engagement",
    "format": "text"
  },
  "platform": {
    "label": "Format",
    "format": "text"
  },
  "title": {
    "label": "Video Title",
    "format": "text"
  },
  "description": {
    "label": "Description",
    "format": "text"
  },
  "playCount": {
    "label": "Views",
    "format": "number"
  },
  "playCountFormatted": {
    "label": "Views (Display)",
    "format": "text"
  },
  "likeCount": {
    "label": "Likes",
    "format": "number"
  },
  "commentCount": {
    "label": "Comments",
    "format": "number"
  },
  "authorMeta": {
    "label": "Creator Data",
    "format": "json"
  },
  "publishedAt": {
    "label": "Date (ISO)",
    "format": "text"
  },
  "thumbnailUrl": {
    "label": "Thumbnail",
    "format": "text"
  },
  "url": {
    "label": "Video Link",
    "format": "text"
  }
}
```

## About this Actor

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