Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing

GET STARTED

API DirectoryBrowse 10,000+ APIs ready for AI agent integrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI readiness using our scorecardArazzo UIVisualize Arazzo workflows as interactive documentationArazzo EditorBuild and edit multi-step API workflows visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
All ResourcesEverything in one placeBlogLatest articles and insightsTech Talk NewsletterAPIs, AI agents, architecture and strategyWebinarsLive sessions and on-demand recordingsReports & WhitepapersOriginal research on enterprise AI
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
All ResourcesBlogTech Talk NewsletterWebinarsReports & Whitepapers
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

AICPA SOC for Service Organizations logoAICPA SOC for Service Organizations logo

SOC 2® Type 1 report

Audited by Prescient Assurance

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
2 Grattan Court East, Dublin, D02 VX86, Ireland
Switch to light modeSwitch to dark mode
APIs / Analytics / Google / YouTube Analytics API
YouTube Analytics API logo

Google YouTube Analytics API

Browse all Google APIs
39
AI ReadinessNon-Ready (F)39/100
See full scorecard
Official vendor OpenAPI document · agent-readyAnalyticsProduct Analyticsoauth28 EndpointsREST

For Agents

Query YouTube channel and video analytics by metric, dimension, and filter. Manage analytics groups and items for cohort-based reporting. Read-only over OAuth.

Use for: Get views and watch time by day for the last 28 days, Retrieve top traffic sources for a specific video, List demographics for the channel's audience, Create a group of videos for cohort analytics

Not supported: Does not handle video uploads, comment moderation, monetisation configuration, or non-YouTube analytics - use for querying YouTube channel and video performance data only.

The YouTube Analytics API exposes channel and content performance data for the authorised YouTube account. It supports targeted reports - views, watch time, subscribers gained, demographics, traffic sources - driven by metric, dimension, and filter parameters, plus group and groupItem management to roll multiple videos or channels into named cohorts. This is the API for live, ad-hoc analytics queries; bulk historical exports use the separate YouTube Reporting API.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the YouTube Analytics API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the YouTube Analytics API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fgoogleapis.com%2Fyoutube-analytics" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fgoogleapis.com%2Fyoutube-analytics" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with YouTube Analytics API.

Run targeted reports combining metrics like views and estimatedMinutesWatched with dimensions such as day, country, or video

Filter reports by channel, video, group, or geographic region

Create analytics groups to bundle videos or channels for cohort analysis

Add and remove groupItems to maintain cohort membership over time

List existing groups and groupItems for the authorised account

Use Cases

Patterns agents use YouTube Analytics API for, with concrete tasks.

★ Creator dashboard with daily KPIs

Power a creator's internal dashboard with daily views, estimated watch time, and subscribers-gained pulled directly from YouTube Analytics. The reports endpoint accepts metric, dimension, and filter parameters so the dashboard can render channel-level overviews and per-video drill-downs from a single API surface. Refresh frequency is bounded by YouTube's analytics processing latency, typically 24-48 hours.

Call GET /v2/reports with ids=channel==MINE, metrics=views,estimatedMinutesWatched, dimensions=day, startDate and endDate covering the last 28 days, and return the rows.

Cohort analytics with groups

Studios and multi-channel networks group related videos - by show, season, or sponsorship - using the groups and groupItems endpoints, then run reports filtered by group ID. This produces clean cohort metrics without retrofitting tags on every video. The grouping API is the right primitive for any analytics workflow that needs stable cohort definitions over time.

POST /v2/groups to create a group named Q4 Sponsored, add three videos via POST /v2/groupItems, then GET /v2/reports filtered by group=={group_id}.

Audience demographic deep-dive

Marketing teams query demographic dimensions - ageGroup, gender, country - to understand who is watching specific videos before greenlighting follow-up content. The reports endpoint exposes these dimensions alongside engagement metrics in one query. This replaces the manual exports many teams used to copy out of YouTube Studio.

Call GET /v2/reports with metrics=viewerPercentage, dimensions=ageGroup,gender, and a filter on a specific video to get demographic breakdown.

Agent-driven channel reporting through Jentic

An analytics agent can compose multi-step reports - daily views, top videos, audience country mix - through Jentic without engineers writing OAuth and pagination glue. The agent searches Jentic for query youtube channel analytics, loads the reports operation, and executes it with the metrics and dimensions it needs. Tokens stay isolated inside your Jentic One instance.

Through Jentic, run three GET /v2/reports calls covering daily views, top videos by watch time, and country breakdown, then summarise the result in plain English.

Key Endpoints

8 endpoints — the youtube analytics api exposes channel and content performance data for the authorised youtube account.

METHOD

PATH

DESCRIPTION

GET

/v2/reports

Run an analytics report

GET

/v2/groups

List analytics groups

POST

/v2/groups

Create an analytics group

GET

/v2/groupItems

List items in a group

POST

/v2/groupItems

Add an item to a group

DELETE

/v2/groupItems

Remove an item from a group

GET

/v2/reports

Run an analytics report

GET

/v2/groups

List analytics groups

POST

/v2/groups

Create an analytics group

GET

/v2/groupItems

List items in a group

POST

/v2/groupItems

Add an item to a group

DELETE

/v2/groupItems

Remove an item from a group

Jentic AI Readiness Score

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

Y

YouTube Analytics API

- Non-Ready (F)
39/100
73
Foundational Compliance
56
Developer Experience & Jentic Compatibility
17
AI-Readiness & Agent Experience
94
Agent Usability
63
Security
64
AI Discoverability
Powered by JenticScoring Framework 1.0.0 | Scoring Engine 0.4.0
Show dimension breakdown
73

Foundational Compliance

Base layer of spec validity and structural soundness.

Grade: A-Signals: 4
91%

Lint Results

Aggregated quality score from linter diagnostics, weighted by severity.

100%

Resolution Completeness

Percentage of `$ref` references that resolve successfully.

0%

Specification Validity

Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).

100%

Structural Integrity

Structural correctness score based on schema issues using logarithmic dampening.

56

Developer Experience & Jentic Compatibility

Clarity, completeness, and ingestion readiness for developers and tooling.

Grade: CSignals: 4
0%

Example Density

How richly the API is illustrated with examples.

100%

Example Validity

Percentage of examples that conform to their schemas.

25%

Response Coverage

Percentage of operations with complete response definitions (success, client error, server error).

100%

Tooling Readiness

Health of API ingestion, bundling, and resolution within Jentic pipelines.

17

AI-Readiness & Agent Experience

Semantic breadth, depth, and agent comprehension for AI systems.

Grade: FSignals: 4
67%

Description Coverage

Coverage of descriptions across API elements.

0%

Error Standardization

Coverage of RFC 9457 Problem Details for error responses.

0%

OperationId Quality

Coverage, uniqueness, and casing consistency of operationIds for AI inference.

0%

Summary Coverage

Coverage of summaries across operations/tags/info.

94

Agent Usability

Functional utility, complexity comfort, and AI orchestration readiness.

Grade: A+Signals: 1
94%

Complexity Comfort

Agent comfort level based on API operational and structural complexity.

63

Security

Trust, risk posture, and security compliance.

Grade: B-Signals: 1
62%

Authentication Strength

Average quality of security schemes based on authentication method strength (weakest link for OAuth2).

64

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: BSignals: 1
64%

Descriptive Richness

Clarity and depth of descriptions across API elements.

View full reportHow the score is calculatedMore about the dimensions

Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

Score your own APIScoring CLI agent skill
npx @jentic/api-scorecard-cli score <openapi-url>

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Wiring the YouTube Analytics API by hand means setting up OAuth 2.0 with the channel owner's refresh token, refreshing access tokens, and matching report queries against the youtubeanalytics.googleapis.com host. Through Jentic you install once, import the YouTube Analytics API from the API Directory, store the OAuth credential once, and your agent calls it.

Permission scoping

The YouTube Analytics API carries its metrics and dimensions in the request query and body, so you limit the agent to the operations it needs, such as querying reports or listing groups. You choose the operations it may call, so deleting group items is not included unless you add it.

Credential isolation

Your YouTube Analytics OAuth credential is stored once, encrypted, by your own Jentic One instance and injected at execution time. Its refresh token never enters the agent's prompt, logs, or context.

Intent-based discovery

Agents search Jentic by intent such as 'get channel views over time' or 'list audience demographics', and Jentic returns the reports operation with its metric and dimension parameters so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Complementary

YouTube Reporting API

→

Bulk CSV exports of historical analytics for warehousing

Pair YouTube Analytics (real-time queries) with YouTube Reporting (bulk historical) for full coverage.

Complementary

YouTube Data API

→

Channel and video metadata, search, and content management

Use YouTube Data to enumerate videos, then YouTube Analytics to score them.

Alternative

Cloud Monitoring API

→

General-purpose metrics and dashboards for non-YouTube data

Use Cloud Monitoring for infrastructure metrics. Use YouTube Analytics for content performance.

FAQs

Specific to using YouTube Analytics API through Jentic.

What authentication does the YouTube Analytics API use?

OAuth 2.0 (Oauth2 and Oauth2c schemes) with the youtube.readonly or yt-analytics.readonly scopes for read access. Reports are scoped to the authorised channel. Through Jentic the OAuth credentials are stored encrypted and short-lived access tokens are minted at execution time.

What is the difference between this API and YouTube Reporting?

YouTube Analytics is for ad-hoc, parameterised queries that return JSON in real time (with the standard analytics processing lag). YouTube Reporting is for scheduled bulk CSV exports of historical data and is better for warehousing. Many teams use both: Analytics for dashboards, Reporting for backfill.

What are the rate limits for the YouTube Analytics API?

Per-project quotas are managed in the Cloud Console under APIs and Services. The published default is in the order of tens of thousands of queries per day per project, which is enough for most dashboards. Heavy fan-out workloads should request a quota increase or batch queries by dimension.

How do I run a report through Jentic?

Search Jentic for query youtube analytics, load the schema for GET /v2/reports, and execute it with ids, metrics, dimensions, startDate, and endDate. Group filters and sort orders are exposed as additional query parameters.

Can I group videos or channels for cohort reporting?

Yes. POST /v2/groups creates a group, POST /v2/groupItems adds a video or channel, and DELETE /v2/groupItems removes one. Reports can then be filtered with group=={group_id} to scope metrics to that cohort.

Can I limit what my agent is allowed to do with the YouTube Analytics API?

Yes. Because you run Jentic One yourself, your own rules decide which YouTube Analytics operations the agent may call, so you can allow read-only work like querying reports (GET /v2/reports) and listing groups (GET /v2/groups) while withholding everything else. Write operations such as creating a group (POST /v2/groups), adding a group item (POST /v2/groupItems), or deleting a group item (DELETE /v2/groupItems) are only available if you explicitly add them. The OAuth credential is held by your own instance and injected at execution time, so the agent acts only within the scopes and operations you grant.

GET STARTED

Start building with YouTube Analytics API

Explore with Jentic One
View OpenAPI Document