← Back to Skills Marketplace
aisapay

AIsa Youtube Search

by AIsaPay · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
1825
Downloads
1
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install aisa-youtube-search
Description
YouTube SERP Scout for agents. Search top-ranking videos, channels, and trends for content research and competitor tracking.
README (SKILL.md)

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

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

Competitor Tracking

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

Trend Discovery

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

Topic Analysis

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

Channel Discovery

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

Quick Start

export AISA_API_KEY="your-key"

Core Capabilities

Basic YouTube Search

# 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

# 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

# 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

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

Python Client

# 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:

# 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:

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

3. Keyword Research

Discover what topics are trending:

# 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:

# 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:

# 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

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

{
  "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)

Code Country
us United States
uk United Kingdom
jp Japan
cn China
de Germany
fr France
kr South Korea
in India
br Brazil
au Australia

Language Codes (hl)

Code Language
en English
ja Japanese
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
ko Korean
de German
fr French
es Spanish
pt Portuguese
ru Russian

Pricing

API Cost
YouTube search ~$0.002

Every response includes usage.cost and usage.credits_remaining.


Get Started

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

Full API Reference

See API Reference for complete endpoint documentation.

Usage Guidance
This skill is internally consistent: it will use the AISA_API_KEY you provide to call https://api.aisa.one for YouTube SERP data. Only install it if you trust the AIsa service and are comfortable giving that API key to code that will send requests to api.aisa.one. Review the included scripts/youtube_client.py (it performs only HTTP calls to the AIsa endpoint) before use, and consider using an API key with limited scope or monitoring its usage. If you need higher assurance, contact the AIsa maintainers or verify the package source and release provenance before providing your key.
Capability Analysis
Type: OpenClaw Skill Name: aisa-youtube-search Version: 1.0.0 The skill is designed to interact with the AIsa YouTube API for search functionalities. It securely handles the `AISA_API_KEY` by requiring it as an environment variable, which is then used to authenticate requests to the legitimate `https://api.aisa.one` endpoint. The Python client (`scripts/youtube_client.py`) uses standard libraries and makes HTTP requests only to this specified API. There is no evidence of data exfiltration to unauthorized endpoints, malicious execution, persistence mechanisms, or prompt injection attempts against the agent in any of the analyzed files.
Capability Assessment
Purpose & Capability
Name/description (YouTube SERP Scout) match the declared requirements: curl/python3 and a single AISA_API_KEY used to call api.aisa.one. The primaryEnv is the API key the skill actually uses.
Instruction Scope
SKILL.md instructs only using curl examples and the included python client to query the AIsa YouTube endpoint. It does not ask to read unrelated files, other env vars, or exfiltrate data to unexpected endpoints.
Install Mechanism
No install spec (instruction-only) and included Python client; nothing downloads arbitrary archives or runs third-party installers. Requires existing curl/python3 which is reasonable for the usage shown.
Credentials
Only AISA_API_KEY is required, which aligns with the skill's function of calling the AIsa API. No additional secrets, unrelated credential names, or config paths are requested.
Persistence & Privilege
always is false and the skill does not request persistent system changes or modify other skills' configuration. Normal autonomous invocation is allowed (platform default).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install aisa-youtube-search
  3. After installation, invoke the skill by name or use /aisa-youtube-search
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of OpenClaw YouTube SERP Scout for agents. - Search and analyze top-ranking YouTube videos, channels, and trends for content research and competitor tracking. - Provides country and language filtering, trend discovery, and channel discovery. - Offers a Python client and curl examples for API integration. - Supports pagination and advanced filtering via YouTube filter tokens. - Detailed API documentation, response formats, use cases, and quick start guide included. - Requires Python 3, curl, and AISA API key for operation.
Metadata
Slug aisa-youtube-search
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is AIsa Youtube Search?

YouTube SERP Scout for agents. Search top-ranking videos, channels, and trends for content research and competitor tracking. It is an AI Agent Skill for Claude Code / OpenClaw, with 1825 downloads so far.

How do I install AIsa Youtube Search?

Run "/install aisa-youtube-search" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is AIsa Youtube Search free?

Yes, AIsa Youtube Search is completely free (open-source). You can download, install and use it at no cost.

Which platforms does AIsa Youtube Search support?

AIsa Youtube Search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created AIsa Youtube Search?

It is built and maintained by AIsaPay (@aisapay); the current version is v1.0.0.

💬 Comments