YouTube API docs

YouTube API: Profile — Video metrics by user identifier

Retrieve aggregate Profile metrics from YouTube without calculating them from a full object collection.

Use “Video metrics by user identifier” for dashboards, scoring, and recurring reports that need a compact metric snapshot.

Method GET
Entity Profile
Versions 1
What this endpoint does

What you can build with this API method

Review the result and common workflows first, then move to parameters and a working request example.

What this endpoint helps with

The response provides a ready-to-use Profile summary with key counters and metrics in the selected API format.

When to use it

Use “Video metrics by user identifier” for dashboards, scoring, and recurring reports that need a compact metric snapshot.

Common use cases

Product dashboards

Show core YouTube metrics without loading and processing an entire collection.

Trend monitoring

Store periodic snapshots and compare metric changes over time.

Object scoring

Use aggregate metrics as inputs for internal rankings and rules.

Available versions

Response version

Both versions solve the same job and accept the same parameters. Use the switch to compare the response structure and choose the version your client expects.

Response version V2

Switch versions on this page to compare response structures while keeping the same documentation URL.

V1 Not available

What stays the same

Authentication, required parameters, and the request shape stay the same across V1 and V2. In practice, you choose the version when you build the endpoint path and when you parse the response.

What changes between versions

The main difference is the response envelope. Use V2 for new integrations and keep V1 only when you need compatibility with an existing client contract.

How to use it

How to call the method

Use the same API key header and the same query parameters for both versions. This documentation shows the shared parameter set first, then version-specific endpoint paths and code snippets.

Input parameters

Shared parameters
Parameter Required Type Example Description
user_identifier Yes str value YouTube channel handle, username, or channel identifier. Example: mkbhd.

Version-specific request path

V2

Choose a version when you copy the exact endpoint path, example URL, and code snippet. The parameter list above stays the same.

GET /api/v2/youtube.com/profile/videos-metrics-by-user-identifier

Normalized format

Code examples

curl --request GET \
  --url "https://www.scrapestorm.net/api/v2/youtube.com/profile/videos-metrics-by-user-identifier" \
  --header "X-API-Key: 00000000-0000-4000-8000-000000000000" \
  --get --data-urlencode 'user_identifier=value'
Response example

Live response by version

The preview keeps key fields and the first collection items so you can scan the response shape quickly. Switching versions changes the JSON format.

Response example

V2 response JSON

Verified example

This compact JSON example comes from the latest successful verification run for V2.

{
  "success": true,
  "status": "ok",
  "search_context": {
    "user_identifier": "mkbhd"
  },
  "data": {
    "channel": {
      "url": "http://www.youtube.com/@mkbhd",
      "created_at": "2008-03-21",
      "channel_id": "UCBJycsmduvYEL83R_U4JriQ",
      "username": "mkbhd",
      "display_name": "Marques Brownlee",
      "rss_url": "https://www.youtube.com/feeds/videos.xml?channel_id=UCBJycsmduvYEL83R_U4JriQ",
      "verified": true,
      "is_family_safe": true,
      "description": "MKBHD: Quality Tech Videos | YouTuber | Geek | Consumer Electronics | Tech Head | Internet Personality!\n\[email protected]\n\nNYC",
      "keywords": [
        "MKBHD",
        "MarquesBrownlee",
        {
          "_more_items": 1
        }
      ],
      "emails": [
        "[email protected]"
      ],
      "country": "United States",
      "subscriber_count": 21100000,
      "video_count": 1836,
      "view_count": 5486122843,
      "external_links": [
        {
          "url": "http://twitter.com/MKBHD",
          "label": "Twitter",
          "link_type": "twitter"
        },
        {
          "url": "http://instagram.com/MKBHD",
          "label": "Instagram",
          "link_type": "instagram"
        },
        {
          "_more_items": 3
        }
      ],
      "featured_video": {
        "author": {
          "url": "http://www.youtube.com/@mkbhd",
          "channel_id": "UCBJycsmduvYEL83R_U4JriQ",
          "username": "mkbhd",
          "display_name": "Marques Brownlee",
          "verified": true,
          "badges": null,
          "avatar_url": "https://example.com/image.jpg",
          "avatar_urls": "https://example.com/image.jpg"
        },
        "url": "https://www.youtube.com/watch?v=_oRgdlJUD18",
        "video_id": "_oRgdlJUD18",
        "title": "iOS 27 Hands-On: Top 5 New Features!",
        "snippet": "First look at iOS 27 - coming soon to an iPhone near you. It's about time.\n\nMKBHD Merch: http://shop.MKBHD.com\n\nPlaylist of MKBHD Intro music: https://goo.gl/B3AWV5\n\n~\nhttp://tw…",
        "published_time": "5 days ago",
        "duration_seconds": 900,
        "duration_text": "15:00",
        "view_count": 4658820
      },
      "badges": null,
      "avatar_url": "https://example.com/image.jpg",
      "avatar_urls": "https://example.com/image.jpg",
      "banner_url": "https://yt3.googleusercontent.com/zi_48HwHU4s0Hnb6tZuvRzTfCPHrLEnrtIMDLzMauDEyDmURh9JZ4wrNd3lKr7m9uVnT4YjYKw=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
      "banner_images": [
        {
          "url": "https://yt3.googleusercontent.com/zi_48HwHU4s0Hnb6tZuvRzTfCPHrLEnrtIMDLzMauDEyDmURh9JZ4wrNd3lKr7m9uVnT4YjYKw=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
          "width": 1060,
          "height": 175
        },
        {
          "url": "https://yt3.googleusercontent.com/zi_48HwHU4s0Hnb6tZuvRzTfCPHrLEnrtIMDLzMauDEyDmURh9JZ4wrNd3lKr7m9uVnT4YjYKw=w1138-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
          "width": 1138,
          "height": 188
        },
        {
          "_more_items": 4
        }
      ]
    },
    "analytics": {
      "all_posts": {
        "analyzed_posts_count": 12,
        "last_post_date": "2026-07-13T00:00:00+00:00",
        "total_engagement": 1119328,
        "avg_engagement_rate_per_post": 0.442073,
        "peak_engagement_rate_per_post": 0.673678,
        "avg_weighted_engagement_score": 97769.0,
        "total_engagement_rate": 5.304872,
        "median_engagement_per_post": 93886.0,
        "max_engagement_per_post": 142146,
        "avg_caption_length": 289,
        "avg_posts_per_week": 1,
        "avg_posts_per_month": 5,
        "posts_count_last_7_days": 1,
        "posts_count_last_30_days": 6,
        "total_likes": 1065428,
        "total_comments": 53900,
        "total_views": 36096779,
        "avg_likes_per_post": 88786,
        "avg_comments_per_post": 4492,
        "avg_views_per_post": 3008065,
        "avg_views_per_video": 3008065,
        "total_like_rate": 5.049422,
        "total_comment_rate": 0.25545,
        "total_view_rate": 171.074782,
        "_more_fields": "5 more fields"
      },
      "sponsored_posts": {
        "analyzed_posts_count": 0,
        "total_engagement": 0,
        "avg_engagement_rate_per_post": 0.0,
        "peak_engagement_rate_per_post": 0.0,
        "avg_weighted_engagement_score": 0.0,
        "total_engagement_rate": 0.0,
        "median_engagement_per_post": 0.0,
        "max_engagement_per_post": 0,
        "avg_caption_length": 0,
        "avg_posts_per_week": 0,
        "avg_posts_per_month": 0,
        "posts_count_last_7_days": 0,
        "posts_count_last_30_days": 0,
        "total_likes": 0,
        "total_comments": 0,
        "total_views": 0,
        "avg_likes_per_post": 0,
        "avg_comments_per_post": 0,
        "avg_views_per_post": 0,
        "avg_views_per_video": 0,
        "total_like_rate": 0.0,
        "total_comment_rate": 0.0,
        "total_view_rate": 0.0,
        "like_comment_ratio": 0.0
      },
      "organic_posts": {
        "analyzed_posts_count": 12,
        "last_post_date": "2026-07-13T00:00:00+00:00",
        "total_engagement": 1119328,
        "avg_engagement_rate_per_post": 0.442073,
        "peak_engagement_rate_per_post": 0.673678,
        "avg_weighted_engagement_score": 97769.0,
        "total_engagement_rate": 5.304872,
        "median_engagement_per_post": 93886.0,
        "max_engagement_per_post": 142146,
        "avg_caption_length": 289,
        "avg_posts_per_week": 1,
        "avg_posts_per_month": 5,
        "posts_count_last_7_days": 1,
        "posts_count_last_30_days": 6,
        "total_likes": 1065428,
        "total_comments": 53900,
        "total_views": 36096779,
        "avg_likes_per_post": 88786,
        "avg_comments_per_post": 4492,
        "avg_views_per_post": 3008065,
        "avg_views_per_video": 3008065,
        "total_like_rate": 5.049422,
        "total_comment_rate": 0.25545,
        "total_view_rate": 171.074782,
        "_more_fields": "5 more fields"
      },
      "segment_comparison": {
        "sponsored_content_share": 0.0,
        "organic_content_share": 100.0,
        "organic_vs_sponsored_engagement_rate_gap": 0.4421,
        "sponsored_to_organic_avg_engagement_ratio": 0.0
      }
    },
    "feed": {
      "count": 12,
      "items": [
        {
          "author": {
            "url": "https://www.youtube.com/@mkbhd",
            "channel_id": "UCBJycsmduvYEL83R_U4JriQ",
            "username": "mkbhd",
            "display_name": "Marques Brownlee",
            "verified": true,
            "subscriber_count": 21100000,
            "avatar_url": "https://example.com/image.jpg",
            "avatar_urls": "https://example.com/image.jpg"
          },
          "url": "https://www.youtube.com/watch?v=_oRgdlJUD18",
          "created_at": "2026-07-13",
          "video_id": "_oRgdlJUD18",
          "title": "iOS 27 Hands-On: Top 5 New Features!",
          "description": "First look at iOS 27 - coming soon to an iPhone near you. It's about time.\n\nMKBHD Merch: http://shop.MKBHD.com\n\nPlaylist of MKBHD Intro music: https://goo.gl/B3AWV5\n\n~\n  / mkbhd…",
          "external_links": [
            {
              "url": "http://shop.MKBHD.com",
              "link_type": "shop"
            },
            {
              "url": "https://goo.gl/B3AWV5",
              "link_type": "website"
            }
          ],
          "view_count": 4658820,
          "like_count": 128627,
          "comment_count": 6900,
          "ai_summary": "Marques Brownlee explores the latest beta version of iOS 27, highlighting key updates including enhanced generative AI tools for photos, improved system management features, and…",
          "is_sponsored": false,
          "sponsored_detection_source": null,
          "sponsored_detection_confidence": null
        },
        {
          "author": {
            "url": "https://www.youtube.com/@mkbhd",
            "channel_id": "UCBJycsmduvYEL83R_U4JriQ",
            "username": "mkbhd",
            "display_name": "Marques Brownlee",
            "verified": true,
            "subscriber_count": 21100000,
            "avatar_url": "https://example.com/image.jpg",
            "avatar_urls": "https://example.com/image.jpg"
          },
          "url": "https://www.youtube.com/watch?v=eWKY0OnPByg",
          "created_at": "2026-07-08",
          "video_id": "eWKY0OnPByg",
          "title": "Apple Lost the AI Race",
          "description": "Apple lost the AI race. Actually, Apple won the AI race. Wait.\n\nThat shirt: http://shop.MKBHD.com\n\nPlaylist of MKBHD Intro music: https://goo.gl/B3AWV5\n\n~\n  / mkbhd  \n  / mkbhd…",
          "external_links": [
            {
              "url": "http://shop.MKBHD.com",
              "link_type": "shop"
            },
            {
              "url": "https://goo.gl/B3AWV5",
              "link_type": "website"
            }
          ],
          "view_count": 2067866,
          "like_count": 90214,
          "comment_count": 6200,
          "ai_summary": "Marques Brownlee examines Apple's strategic position in the current artificial intelligence landscape. The discussion explores whether the company is lagging behind industry riv…",
          "is_sponsored": false,
          "sponsored_detection_source": null,
          "sponsored_detection_confidence": null
        },
        {
          "_more_items": 10
        }
      ]
    }
  }
}
What to do next

Continue the evaluation

Use this documentation as the first decision point, then move into pricing, platform coverage, and integration rules before you connect the endpoint for recurring use.

Open the YouTube platform page

Compare adjacent entities, API method groups, and related docs before implementation.

Open platform page

Compare API method pricing

Check where this API method sits inside the public price table before you scale usage.

View pricing

Review integration rules

Use the starter docs to confirm authentication, versioning, retries, and mock vs live behavior.

Open docs
FAQ

Questions teams ask before implementation

Use these answers to decide whether this API method fits your workflow, versioning choice, and rollout plan.

What data does this YouTube API method return?

The method performs “Video metrics by user identifier” for Profile. The compact response example below shows the exact field structure.

Should I choose V1 or V2?

Choose V2 for new integrations because it provides a normalized structure. Use V1 only for compatibility with clients that already consume the platform-native format.

What do I need for the first request?

Create an API key, send it in the request header, and provide the required parameters from the table. The code samples already contain the correct path and request structure.