MindStudio Docs
  • Get Started
    • Overview
    • MindStudio Chrome Extension
    • Quickstart Guide
    • What is an AI Agent?
    • AI Agent Use Cases
  • Free vs. Paid AI Agents
  • Building AI Agents
    • Editor Overview
    • Workflow Generator
    • Writing Prompts
      • Templating
    • AI Models
    • Variables
      • Working with JSON
      • Using Handlebars Templating
    • Dynamic Variables
    • Data Sources
    • Automations
      • Start Block
      • Generate Text Block
      • Generate Image Block
      • Generate Chart Block
      • Generate Asset Block
      • Display Content Block
      • Text to Speech Block
      • Analyze Image Block
      • User Input Block
      • User Context Block
      • Query Data Block
      • Run Function Block
      • Scrape URL Block
      • Extract Text from File Block
      • Post to Slack Block
      • Menu Block
      • Logic Block
      • Checkpoint Block
      • Jump Block
      • Run Workflow Block
      • Terminator Block
    • Integrations
      • Search Bluesky Posts
      • Scrape Facebook Page
      • Scrape Meta Threads Profile
      • Scrape Instagram Comments
      • Scrape Instagram Mentions
      • Scrape Instagram Posts
      • Scrape Instagram Profile
      • Scrape Instagram Reels
      • Create LinkedIn Post
      • Create X Post
      • Search X Posts
      • Search Google
      • Search Google Images
      • Search Google Trends
      • Search Google News
      • Create Google Doc
      • Fetch Google Doc
      • Update Google Doc
      • Create Google Sheet
      • Fetch Google Sheet
      • Update Google Sheet
      • Enrich Company via Domain
      • Find Contact Email for Website
      • Find Email
      • Verify Email
      • Enrich Person via Email
      • Fetch YouTube Captions
      • Fetch YouTube Channel
      • Fetch YouTube Comments
      • Fetch YouTube Video
      • Search YouTube
      • Search YouTube Trends
      • Create Notion Page
      • Update Notion Page
      • Apify
      • Run Scenario
      • Post to Slack
      • HTTP Request
      • Run Node
      • Create Contact
      • Add Note
      • Send Email
      • Send SMS
    • Publishing & Versioning
  • Embedding AI Agents
  • Using Webhooks
  • Workspace Management
    • Workspace Overview
    • Workspace Settings
    • Usage Explorer
    • Billing Settings
    • Account Settings
    • Team Settings & Access Controls
  • Test & Evaluate
    • Testing Suite Overview
    • Evaluations
    • Profiler
    • Debugger
  • Integration Guides
    • Zapier + MindStudio
    • Make.com + MindStudio
    • n8n + MindStudio
  • Developers
    • API Reference
    • NPM Package
    • Custom Workflow Functions
  • Additional Resources
    • Glossary
    • Allowing Access to Mindstudio From Your Network
  • Solutions
    • MindStudio Solutions Partners
    • MindStudio For Developers
    • MindStudio for Enterprises
Powered by GitBook
On this page
  • Configuration
  • Category
  • Country
  • Language
  • Output Variable
  • Sample Output
Export as PDF
  1. Building AI Agents
  2. Integrations

Search YouTube Trends

Search for trends by a specified category in a MindStudio workflow

Last updated 10 days ago

Configuration

Category

Specify the trend category you want to search. The options include:

  • Now (default)

  • Music

  • Gaming

  • Films

Country

Language

Output Variable

Save the returned data as a variable. Example: Trends_Return

Sample Output

{
  "trending": [
    {
      "position": 1,
      "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "title": "Sample Video Title",
      "link": "https://www.youtube.com/watch?v=example",
      "views": 3142370,
      "channel": {
        "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "title": "John Doe Channel",
        "link": "https://www.youtube.com/@example",
        "is_verified": true,
        "thumbnail": "https://example.com/thumbnail.jpg"
      },
      "length": "2:00:11",
      "published_time": "Streamed recently",
      "thumbnail": "https://example.com/video_thumbnail.jpg"
    }
  ],
  "recently_trending": [
    {
      "position": 1,
      "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "title": "Sample Trending Video",
      "link": "https://www.youtube.com/watch?v=example",
      "views": 11472521,
      "channel": {
        "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "title": "John Doe Pictures",
        "link": "https://www.youtube.com/@example",
        "is_verified": true,
        "thumbnail": "https://example.com/channel_thumbnail.jpg"
      },
      "length": "0:28",
      "published_time": "7 days ago",
      "thumbnail": "https://example.com/trending_thumbnail.jpg"
    }
  ],
  "shorts": [
    {
      "position": 1,
      "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "title": "Sample Short Video",
      "link": "https://www.youtube.com/shorts/example",
      "views": 3500000,
      "thumbnail": "https://example.com/shorts_thumbnail.jpg"
    }
  ],
  "featured_artist_videos": [
    {
      "position": 1,
      "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "title": "Sample Artist Video",
      "link": "https://www.youtube.com/watch?v=example",
      "views": 8791803,
      "channel": {
        "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "title": "John Doe Artist",
        "link": "https://www.youtube.com/channel/example",
        "thumbnail": "https://example.com/artist_thumbnail.jpg"
      },
      "length": "3:06",
      "published_time": "1 month ago",
      "thumbnail": "https://example.com/artist_video_thumbnail.jpg"
    }
  ]
}

Select the country of origin you want to use. United States is chosen by default. For the full list of supported countries

Specify the language you want you want use. English is selected by default. For the full list of supported languages

look here.
look here.