Xpersona
Y

YouTube API

CLAWHUB · Unverified

Use when YouTube data is needed through MyBrandMetrics: search YouTube videos, get video metadata, inspect channel info, browse playlists, list comments, che...

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1714nww0520qjy3akv321qsjs86bfp7:clawbus-youtube-unified-api
  1. Install using `clawhub skill install s1714nww0520qjy3akv321qsjs86bfp7:clawbus-youtube-unified-api` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/clawbus/clawbus-youtube-unified-api before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-clawbus-clawbus-youtube-unified-api/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

144,263 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: YouTube API
description: >
  Use when YouTube data is needed through MyBrandMetrics: search YouTube
  videos, get video metadata, inspect channel info, browse playlists, list
  comments, check live broadcasts, query YouTube Analytics, and work with
  YouTube Reporting jobs. Covers YouTube Data API v3, YouTube Analytics API v2,
  and YouTube Reporting API v1 after YouTube is connected in MyBrandMetrics.
---

# YouTube API

Search YouTube videos, get YouTube video metadata, inspect channel info, browse
playlists, list comments, check live broadcasts, query YouTube Analytics, and
work with YouTube Reporting jobs through the MyBrandMetrics Discovery API.

Use this skill when YouTube content or YouTube account data is needed after
YouTube is connected in MyBrandMetrics. It covers YouTube Data API v3, YouTube
Analytics API v2, and YouTube Reporting API v1 from one interface.

This skill is for YouTube data, analytics, reporting, and upload-route
workflows. It does not provide YouTube transcripts.

Website: [https://www.clawbus.com/](https://www.clawbus.com/)  
MyBrandMetrics API: [https://mybrandmetrics.com/](https://mybrandmetrics.com/)

## Core Capabilities

| Capability | Details |
| --- | --- |
| YouTube API access | Work with YouTube Data API v3, YouTube Analytics API v2, and YouTube Reporting API v1 from one skill. |
| YouTube search results | Search YouTube videos, channels, playlists, and live content with query, channel, date, region, and result filters. |
| Video metadata | Get YouTube video title, description, thumbnails, publish date, duration, status, and statistics. |
| Channel info | Get YouTube channel details, subscriptions, playlists, playlist items, and related resources. |
| Comments and discussions | List YouTube comment threads and related comment data for videos or channels. |
| Live broadcasts | List and inspect YouTube live broadcasts and related live resources. |
| Upload routes | Use YouTube video upload routes, including multipart and resumable upload patterns. |
| YouTube Analytics | Query YouTube Analytics reports for connected channels, videos, and creator content. |
| YouTube Reporting | List YouTube Reporting API report types, create reporting jobs, and inspect generated reporting resources. |
| Endpoint references | Use generated service references and a compact catalog for endpoint lookup. |

## Setup Flow

1. Open [https://mybrandmetrics.com/](https://mybrandmetrics.com/) and sign in
   with Google.
2. In MyBrandMetrics, open **Data sources**.
3. Connect YouTube as a data source.
4. Wait until the MyBrandMetrics YouTube connection is ready.
5. In [https://mybrandmetrics.com/](https://mybrandmetrics.com/), get the
   MyBrandMetrics API key.
6. Install the `clawbus-youtube-unified-api` skill.
7. Start a YouTube search, channel lookup, playlist workflow, analytics query,
   reporting job, or upload workflow with natural-language instructions or
   direct Discovery API requests.

## Authentication

Use the MyBr

_meta.json

{
  "ownerId": "kn713zgmx26jep6vrh0kbmmkw986a4xc",
  "slug": "clawbus-youtube-unified-api",
  "version": "1.2.4",
  "publishedAt": 1779263297373
}

references/catalog.json

{
  "sources": {
    "youtube": "https://youtube.googleapis.com/$discovery/rest?version=v3",
    "youtubeAnalytics": "https://youtubeanalytics.googleapis.com/$discovery/rest?version=v2",
    "youtubeReporting": "https://youtubereporting.googleapis.com/$discovery/rest?version=v1"
  },
  "services": {
    "youtube": {
      "title": "YouTube Data API v3",
      "mybrandmetrics_base_url": "https://api.mybrandmetrics.com",
      "reference": "references/services/youtube-data-v3.md",
      "method_count": 83,
      "schema_count": 199
    },
    "youtubeAnalytics": {
      "title": "YouTube Analytics API v2",
      "mybrandmetrics_base_url": "https://api.mybrandmetrics.com",
      "reference": "references/services/youtube-analytics-v2.md",
      "method_count": 8,
      "schema_count": 12
    },
    "youtubeReporting": {
      "title": "YouTube Reporting API v1",
      "mybrandmetrics_base_url": "https://api.mybrandmetrics.com",
      "reference": "references/services/youtube-reporting-v1.md",
      "method_count": 8,
      "schema_count": 18
    }
  },
  "method_count": 99,
  "methods": [
    {
      "service": "youtube",
      "id": "youtube.abuseReports.insert",
      "resource": "abuseReports",
      "name": "insert",
      "http_method": "POST",
      "path": "youtube/v3/abuseReports",
      "mybrandmetrics_path": "/discovery/youtube/abuseReports",
      "flat_path": "youtube/v3/abuseReports",
      "required_parameters": [
        "part"
      ],
      "parameters": {
        "part": {
          "location": "query",
          "required": true,
          "type": "string",
          "repeated": true,
          "enum": null
        }
      },
      "request_schema": "AbuseReport",
      "response_schema": "AbuseReport",
      "oauth_scopes": [
        "https://www.googleapis.com/auth/youtube",
        "https://www.googleapis.com/auth/youtube.force-ssl"
      ],
      "has_media_upload": false,
      "mybrandmetrics_upload_path": null,
      "supports_media_download": false,
      "curl": "curl -sS -X POST \"${MYBRANDMETRICS_API_BASE_URL:-https://api.mybrandmetrics.com}/discovery/youtube/abuseReports\" \\\n  -H \"X-API-Key: $MYBRANDMETRICS_API_KEY\" \\\n  -H \"Accept: application/json\" \\\n  --json \"@body.json\" \\\n  --url-query \"part=snippet\"",
      "upload_curl": null
    },
    {
      "service": "youtube",
      "id": "youtube.activities.list",
      "resource": "activities",
      "name": "list",
      "http_method": "GET",
      "path": "youtube/v3/activities",
      "mybrandmetrics_path": "/discovery/youtube/activities",
      "flat_path": "youtube/v3/activities",
      "required_parameters": [
        "part"
      ],
      "parameters": {
        "channelId": {
          "location": "query",
          "required": false,
          "type": "string",
          "repeated": false,
          "enum": null
        },
        "home": {
          "location": "qu

references/curl.md

# Curl Usage

## Authentication

Use a MyBrandMetrics API key in the `X-API-Key` header.

```bash
export MYBRANDMETRICS_API_KEY="YOUR_API_KEY"
export MYBRANDMETRICS_API_BASE_URL="https://api.mybrandmetrics.com"
```

Simple example:

```bash
curl -H "X-API-Key: YOUR_API_KEY" "https://api.mybrandmetrics.com/discovery/youtube/channels?part=snippet,contentDetails,statistics&mine=true"
```

Environment variable example:

```bash
curl -H "X-API-Key: $MYBRANDMETRICS_API_KEY" "${MYBRANDMETRICS_API_BASE_URL:-https://api.mybrandmetrics.com}/discovery/youtube/channels?part=snippet,contentDetails,statistics&mine=true"
```

## Discovery API

Route shape:

```text
/discovery/{service}/{path}
```

Supported service names:

- `youtube`
- `youtubeAnalytics`
- `youtubeReporting`

## Query Parameters

Prefer `--url-query` for query strings. It appends parameters to the URL
without changing the request body, so it works for GET, POST, PATCH, PUT, and
DELETE.

```bash
curl -sS "${MYBRANDMETRICS_API_BASE_URL:-https://api.mybrandmetrics.com}/discovery/youtube/channels" \
  -H "X-API-Key: $MYBRANDMETRICS_API_KEY" \
  --url-query "part=snippet,statistics" \
  --url-query "mine=true"
```

The method references list each parameter's location. Path parameters appear
inside the URL path. Query parameters should be passed with `--url-query`.

## JSON Bodies

For methods with a request schema, place the JSON request body in `body.json`
and call:

```bash
curl -sS -X POST "${MYBRANDMETRICS_API_BASE_URL:-https://api.mybrandmetrics.com}/discovery/youtube/playlists" \
  -H "X-API-Key: $MYBRANDMETRICS_API_KEY" \
  --json "@body.json" \
  --url-query "part=snippet,status"
```

If the local curl version does not support `--json`, use:

```bash
-H "Content-Type: application/json" --data-binary "@body.json"
```

## Uploads

Methods with media upload support include upload examples in the service
references. Set:

```bash
export MEDIA_FILE="video.mp4"
export MIME_TYPE="video/mp4"
```

For multipart uploads, use `-F` and explicitly define the metadata content
type. For resumable uploads, include upload content headers and then upload
bytes to the resumable upload session URL when the API returns one.

## Downloads

Methods marked as supporting media download may require `alt=media`. Save
binary output with `-o`.

## Error Handling

Use `-fS` when scripts should fail on non-2xx responses, or capture both body
and status:

```bash
curl -sS -w "\n%{http_code}\n" -o response.json "${MYBRANDMETRICS_API_BASE_URL:-https://api.mybrandmetrics.com}/discovery/youtube/channels"
```

Errors generally return a JSON object with an `error` field. If the connected
YouTube account needs more access, ask the user to reconnect YouTube in
MyBrandMetrics.

references/index.md

# YouTube Unified API References

This reference set is generated from YouTube discovery documents and adapted for
curl-based calls through the MyBrandMetrics Discovery API.

## Load Order

1. Read `curl.md` for MyBrandMetrics API key authentication, request
   construction, uploads, downloads, and error handling.
2. Read `mybrandmetrics-api.md` when selecting a connected YouTube account or
   building Discovery API routes.
3. Read the relevant service file under `services/` for endpoint-specific
   parameters and curl examples.
4. Use `catalog.json` for programmatic lookup or tool schema generation.

## Coverage

- YouTube Data API v3
- YouTube Analytics API v2
- YouTube Reporting API v1
- 99 generated methods
- Upload and download patterns where supported

Raw discovery snapshots are not included in this published package.

Sponsored

Ads related to YouTube API and adjacent AI workflows.