✓ Verified 💻 Development ✓ Enhanced Data

Aisa Youtube Skill

YouTube SERP Scout for agents.

Rating
4.5 (31 reviews)
Downloads
559 downloads
Version
1.0.0

Overview

YouTube SERP Scout for agents.

Complete Documentation

View Source →

OpenClaw YouTube 📺

YouTube SERP Scout for autonomous agents. Powered by AIsa.

One API key. Rank discovery. Content research. Competitor tracking.

🔥 What Can You Do?

Content Research

text
"Find top-ranking videos about 'AI agents tutorial' to see what's working"

Competitor Tracking

text
"Search for videos from competitor channels about 'machine learning'"

Trend Discovery

text
"What are the top YouTube videos about 'GPT-5' right now?"

Topic Analysis

text
"Find popular videos on 'autonomous driving' to understand audience interest"

Channel Discovery

text
"Search for channels creating content about 'crypto trading'"

Quick Start

bash
export AISA_API_KEY="your-key"


Core Capabilities

Basic YouTube Search

bash
# Search for videos
curl "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=AI+agents+tutorial" \
  -H "Authorization: Bearer $AISA_API_KEY"

Search with Country Filter

bash
# Search in specific country (US)
curl "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=machine+learning&gl=us" \
  -H "Authorization: Bearer $AISA_API_KEY"

# Search in Japan
curl "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=AI&gl=jp&hl=ja" \
  -H "Authorization: Bearer $AISA_API_KEY"

Search with Language Filter

bash
# Search with interface language
curl "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=python+tutorial&hl=en" \
  -H "Authorization: Bearer $AISA_API_KEY"

# Chinese interface
curl "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=编程教程&hl=zh-CN&gl=cn" \
  -H "Authorization: Bearer $AISA_API_KEY"

Pagination with Filter Token

bash
# Use sp parameter for pagination or advanced filters
curl "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=AI&sp=<filter_token>" \
  -H "Authorization: Bearer $AISA_API_KEY"


Python Client

bash
# Basic search
python3 {baseDir}/scripts/youtube_client.py search --query "AI agents tutorial"

# Search with country
python3 {baseDir}/scripts/youtube_client.py search --query "machine learning" --country us

# Search with language
python3 {baseDir}/scripts/youtube_client.py search --query "python tutorial" --lang en

# Full options
python3 {baseDir}/scripts/youtube_client.py search --query "GPT-5 news" --country us --lang en

# Competitor research
python3 {baseDir}/scripts/youtube_client.py search --query "OpenAI tutorial"

# Trend discovery
python3 {baseDir}/scripts/youtube_client.py search --query "AI trends 2025"


Use Cases

1. Content Gap Analysis

Find what content is ranking well to identify gaps in your strategy:

python
# Search for top videos in your niche
results = client.search("AI automation tutorial")
# Analyze titles, views, and channels to find opportunities

2. Competitor Monitoring

Track what competitors are publishing:

python
# Search for competitor brand + topic
results = client.search("OpenAI GPT tutorial")
# Monitor ranking changes over time

3. Keyword Research

Discover what topics are trending:

python
# Search broad topics to see what's popular
results = client.search("artificial intelligence 2025")
# Extract common keywords from top-ranking titles

4. Audience Research

Understand what your target audience watches:

python
# Search in specific regions
results = client.search("coding tutorial", country="jp", lang="ja")
# Analyze regional content preferences

5. SEO Analysis

Analyze how videos rank for specific keywords:

python
# Track ranking positions for target keywords
keywords = ["AI tutorial", "machine learning basics", "Python AI"]
for kw in keywords:
    results = client.search(kw)
    # Record top 10 videos and their channels


API Endpoint Reference

EndpointMethodDescription
/youtube/searchGETSearch YouTube SERP

Request Parameters

ParameterTypeRequiredDescription
enginestringYesMust be youtube
qstringYesSearch query
glstringNoCountry code (e.g., us, jp, uk, cn)
hlstringNoInterface language (e.g., en, ja, zh-CN)
spstringNoYouTube filter token for pagination/filters

Response Format

json
{
  "search_metadata": {
    "id": "search_id",
    "status": "Success",
    "created_at": "2025-01-15T12:00:00Z",
    "request_time_taken": 1.23,
    "total_time_taken": 1.45
  },
  "search_results": [
    {
      "video_id": "abc123xyz",
      "title": "Complete AI Agents Tutorial 2025",
      "link": "https://www.youtube.com/watch?v=abc123xyz",
      "channel_name": "AI Academy",
      "channel_link": "https://www.youtube.com/@aiacademy",
      "description": "Learn how to build AI agents from scratch...",
      "views": "125K views",
      "published_date": "2 weeks ago",
      "duration": "45:30",
      "thumbnail": "https://i.ytimg.com/vi/abc123xyz/hqdefault.jpg"
    }
  ]
}


Country Codes (gl)

CodeCountry
usUnited States
ukUnited Kingdom
jpJapan
cnChina
deGermany
frFrance
krSouth Korea
inIndia
brBrazil
auAustralia

Language Codes (hl)

CodeLanguage
enEnglish
jaJapanese
zh-CNChinese (Simplified)
zh-TWChinese (Traditional)
koKorean
deGerman
frFrench
esSpanish
ptPortuguese
ruRussian

Pricing

APICost
YouTube search~$0.002
Every response includes usage.cost and usage.credits_remaining.


Get Started

  • Sign up at aisa.one
  • Get your API key
  • Add credits (pay-as-you-go)
  • Set environment variable: export AISA_API_KEY="your-key"

Full API Reference

See API Reference for complete endpoint documentation.

Installation

Terminal bash

openclaw install aisa-youtube-skill
    
Copied!

💻Code Examples

export AISA_API_KEY="your-key"

export-aisaapikeyyour-key.txt
---

## Core Capabilities

### Basic YouTube Search

-H "Authorization: Bearer $AISA_API_KEY"

--h-authorization-bearer-aisaapikey.txt
---

## Python Client

python3 {baseDir}/scripts/youtube_client.py search --query "AI trends 2025"

python3-basedirscriptsyoutubeclientpy-search---query-ai-trends-2025.txt
---

## Use Cases

### 1. Content Gap Analysis

Find what content is ranking well to identify gaps in your strategy:

# Analyze titles, views, and channels to find opportunities

-analyze-titles-views-and-channels-to-find-opportunities.txt
### 2. Competitor Monitoring

Track what competitors are publishing:

# Monitor ranking changes over time

-monitor-ranking-changes-over-time.txt
### 3. Keyword Research

Discover what topics are trending:

# Extract common keywords from top-ranking titles

-extract-common-keywords-from-top-ranking-titles.txt
### 4. Audience Research

Understand what your target audience watches:

# Analyze regional content preferences

-analyze-regional-content-preferences.txt
### 5. SEO Analysis

Analyze how videos rank for specific keywords:

# Record top 10 videos and their channels

--record-top-10-videos-and-their-channels.txt
---

## API Endpoint Reference

| Endpoint | Method | Description |
|----------|--------|-------------|
| `/youtube/search` | GET | Search YouTube SERP |

## Request Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| engine | string | Yes | Must be `youtube` |
| q | string | Yes | Search query |
| gl | string | No | Country code (e.g., `us`, `jp`, `uk`, `cn`) |
| hl | string | No | Interface language (e.g., `en`, `ja`, `zh-CN`) |
| sp | string | No | YouTube filter token for pagination/filters |

## Response Format
example.sh
# Search for videos
curl "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=AI+agents+tutorial" \
  -H "Authorization: Bearer $AISA_API_KEY"
example.sh
# Search in specific country (US)
curl "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=machine+learning&gl=us" \
  -H "Authorization: Bearer $AISA_API_KEY"

# Search in Japan
curl "https://api.aisa.one/apis/v1/youtube/search?engine=youtube&q=AI&gl=jp&hl=ja" \
  -H "Authorization: Bearer $AISA_API_KEY"

Tags

#coding_agents-and-ides

Quick Info

Category Development
Model Claude 3.5
Complexity Multi-Agent
Author bowen-dotcom
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install aisa-youtube-skill