Documentation
TubeAnalytics Docs
Documentation Reference
TubeAnalytics Documentation
This is the canonical technical index for TubeAnalytics. It connects the public marketing site, the authenticated dashboard, the external REST API, and the machine- readable discovery files used by AI systems and internal tooling.
If you need product context, start here. If you need implementation details, use/developersfor API and agent access.
Technical Index
Product Map
TubeAnalytics is split across public marketing pages, the authenticated dashboard, and a machine-readable developer surface. This map shows where each part lives.
| Area | Primary routes | What lives there |
|---|---|---|
| Public docs | /docs, /developers, /api | Product overview, setup, API access, and discovery links |
| Marketing | /features, /pricing, /compare, /about | Plans, feature summaries, and comparison pages |
| Dashboard | /dashboard/*, /billing, /settings | Analytics, competitors, thumbnails, reports, revenue, and account settings |
| External API | /api/external/v1/* | Authenticated programmatic access to channel, analytics, audience, and competitor data |
| Agent discovery | /openapi.json, /mcp.json, /ai.txt, /ai-pricing.json, /agents.txt | Machine-readable discovery for SDKs, agents, and indexers |
Getting Started
Quick Start
The fastest path to useful data is: create an account, connect a channel, let the initial sync complete, and then open the dashboard or developer surface that matches your use case.
- Sign up at tubeanalytics.net.
- Connect your YouTube channel with Google OAuth.
- Grant the scopes required by the features you plan to use.
- Wait for the first sync, then open the analytics or competitors dashboard.
- If you are building software, review /developers and /openapi.json next.
1. Visit tubeanalytics.net
2. Click Get started
3. Sign in with Google
4. Approve the required permissions
5. Review the first sync on the dashboard
6. Open /developers if you need API keys or agent docsGetting Started
Connecting Your Channel
TubeAnalytics uses Google OAuth 2.0 to connect a channel safely. The platform requests only the scopes it needs to read channel data, pull analytics, and power comments moderation when the feature is enabled.
| Scope | Purpose | Feature |
|---|---|---|
| youtube.readonly | Read channel and video metadata | Dashboard, competitor benchmarking, analytics surfaces |
| yt-analytics.readonly | Access YouTube Analytics data | Channel analytics, video performance, revenue reporting |
| youtube.force-ssl | Read and manage comments securely | Comments Manager |
Getting Started
Dashboard Overview
The dashboard is organized around the questions creators ask first: how the channel is growing, which videos are winning, which competitors matter, and how revenue is changing. The implementation is split across route groups such as `/dashboard/analytics`, `/dashboard/competitors`, `/dashboard/thumbnails`, `/dashboard/reports`, and `/dashboard/settings`.
| Route | What it shows | Why it matters |
|---|---|---|
| /dashboard/analytics | Channel summary, growth, viewer behavior, and traffic sources | This is the default place to answer 'how is the channel doing?' |
| /dashboard/competitors | Tracked competitors, comparison charts, and gap analysis | Makes competitor benchmarking part of the working set, not a side task |
| /dashboard/thumbnails | Thumbnail tests, quick wins, and correlation history | Keeps CTR optimization tied to the same account and channel context |
| /dashboard/reports | PDF reports and schedules | Supports recurring exports and client-facing reporting |
Core Features
Competitor Benchmarking
Competitor benchmarking is the flagship TubeAnalytics workflow. Add competitor channels by URL or search, then compare public metrics such as subscriber count, upload frequency, average views per video, and estimated RPM range. The public compare pages live under `/compare` and the in-app workflow lives under the competitor dashboard.
Charts help you compare growth and pacing, while export options make it easy to share a competitor summary with a teammate or client. The goal is not just to view numbers, but to answer what your next move should be. The public comparison pages are the human summary, while the dashboard and API hold the working data.
| Step | What happens | Output |
|---|---|---|
| Add a competitor | Paste a channel URL or search for a channel | Tracked competitor profile |
| Sync metrics | TubeAnalytics fetches public channel signals | Benchmark data and comparison charts |
| Review the gap | Compare your channel against the competitor | Actionable insight on pace, scale, and format |
| Export | Share the report as CSV or screenshot-ready output | Internal or client-ready artifact |
Core Features
Revenue Tracking
Revenue tracking unifies ad revenue and non-AdSense income into a single view. The dashboard routes under `/dashboard/billing` and `/dashboard/monetization/optimization` show revenue context, while the API surfaces the same concepts under `/api/v1/channels/:channelId/revenue` and `/api/v1/channels/:channelId/cpm-analysis`.
| Source | Ingestion method | Notes |
|---|---|---|
| AdSense | Authenticated analytics pull | Backed by the connected channel and synced automatically |
| Channel memberships | Authenticated analytics pull | Appears in the unified monthly, weekly, or daily chart |
| Super Chats | Authenticated analytics pull | Useful for livestream-heavy channels |
| Merchandise / sponsorships / affiliate | Manual entry | Manual sources are still important, so the dashboard keeps them visible |
Core Features
AI Content Insights
AI Content Insights generates title suggestions, thumbnail feedback, tag recommendations, and a performance prediction score. The connected experience spans the dashboard, `/api/v1/ai/generate-ideas`, the thumbnail tooling, and the machine-readable discovery files used by AI clients.
The output is designed to be actionable. A recommendation should point to a change you can make on the next upload, not just a generalized observation about the channel. Trend detection and competitor analysis feed the same decision layer.
Analytics
Analytics Reference
This section defines the core analytics concepts available across the dashboard and API. Each metric is documented with what it measures and what action it supports.
Channel Analytics
| Metric | Definition | Why it matters |
|---|---|---|
| Subscriber growth | How fast the audience is growing over time | Shows whether the channel is compounding |
| Watch time | Total minutes watched in the selected date range | Signals how much attention the channel is earning |
| CTR | Click-through rate, or impressions that became views | Measures packaging quality |
| Traffic sources | Where views are coming from | Explains which surfaces are driving discovery |
Video Performance
Video Performance is a sortable table of every video with the metrics most creators use to make decisions: views, watch time, CTR, average view duration, estimated revenue, and the AI performance score.
| Column | Meaning | Action |
|---|---|---|
| Title | The video name | Use it to spot packaging patterns |
| Publish date | When the video went live | Compare performance against freshness |
| AI performance score | Model-generated score that predicts relative strength | Use it as a directional signal, not a promise |
Audience Insights
Audience Insights breaks down age and gender, geography, device type, and traffic source. Charts include bar charts and geography views so you can tell not only who watches, but where and on what device they watch from.
Revenue Breakdown
Revenue Breakdown lets you inspect revenue by stream, by video, and by time period. Use it to compare RPM and CPM, spot top earning videos, and understand how much of your monthly income comes from each monetization source.
| Term | Meaning | Interpretation |
|---|---|---|
| RPM | Revenue per 1,000 views after YouTube's share | Shows actual earnings efficiency per view |
| CPM | Revenue per 1,000 impressions before creator share | Shows ad demand and audience value |
| Manual revenue | Sponsorships, merch, and affiliates entered by hand | Keeps non-AdSense income visible in the total |
Integrations
YouTube Data API
TubeAnalytics uses YouTube Data API v3 endpoints to power connected channel workflows. The app reads channel metadata, video lists, search results, comments, and analytics reports on behalf of the signed-in user.
| Endpoint | Purpose | Notes |
|---|---|---|
| channels.list | Channel metadata | Used for connected channel info |
| videos.list | Video metadata | Used in video tables and detail views |
| search.list | Search discovery | Used for finding competitors or content ideas |
| commentThreads | Comments | Used by Comments Manager |
| analytics/reports | Analytics | Used for channel and revenue reporting |
Integrations
Webhook Flows
Webhooks keep the account and billing state in sync. The current implementation uses a Clerk webhook for user lifecycle events and a Creem webhook for checkout and subscription events, with the database as the source of truth.
{
"type": "user.created",
"data": {
"id": "user_123",
"primary_email_address_id": "idn_456",
"email_addresses": [{ "id": "idn_456", "email_address": "creator@example.com" }],
"first_name": "Mia",
"last_name": "Lopez"
}
}{
"type": "checkout.completed",
"customer": { "id": "cust_123" },
"subscription": {
"id": "sub_123",
"current_period_start_date": "2026-05-25T00:00:00Z",
"current_period_end_date": "2026-06-25T00:00:00Z"
},
"metadata": { "userId": "user_123" }
}{
"type": "subscription.paid",
"id": "sub_123",
"last_transaction": {
"id": "txn_123",
"amount": 4900,
"currency": "USD"
}
}{
"type": "subscription.canceled",
"id": "sub_123",
"metadata": { "userId": "user_123" }
}Developer
Discovery & Agents
These are the machine-readable files the codebase keeps current for agent tooling, documentation generators, and integration checks. If you are building with AI clients or verifying the product surface, start here.
| File | Purpose | When to use it |
|---|---|---|
| /openapi.json | OpenAPI 3.1 contract for the external API | Generate clients, validate schemas, or inspect endpoints |
| /mcp.json | Model Context Protocol manifest | Connect agents to the streamable HTTP transport |
| /ai.txt | Discovery and crawler guidance | Tell AI systems what to index, summarize, and avoid |
| /ai-pricing.json | Machine-readable product and pricing manifest | Build checkout-aware assistants and pricing tools |
| /agents.txt | Concise agent index | Quickly discover the main AI-facing surfaces |
| /llms.txt | Public content index for LLM retrieval | Pull the canonical public pages without scraping |
| /pricing.md | Plain-text pricing for AI agents and LLMs | Programmatic plan comparison without JS rendering |
Account & Billing
Plans & Pricing
TubeAnalytics offers three tiers with a 7-day free trial and plan limits backed by the product contract. See the pricing page for full details.
| Plan | Price | Channels | Competitors | API calls/mo |
|---|---|---|---|---|
| Starter | $19/mo | 1 channel | 5 | 1,000 |
| Professional | $49/mo | 3 channels | 10 | 5,000 |
| Enterprise | $149/mo | 5 channels | 20 | 20,000 |
Account & Billing
Subscription Management
Billing is handled through Creem. From the billing area you can update payment details, view invoices, pause a subscription, or cancel it. Cancellation takes effect at the end of the current billing period.
Account & Billing
API Keys
API keys let users access TubeAnalytics programmatically. Create a key from the account settings page, choose a scope, and copy the token once. You can revoke keys at any time.
Authorization: Bearer <token>Account & Billing
Team Access
Professional and Enterprise plans support team members. Invite someone by email, assign a role, and remove access when they no longer need it.
| Role | Permissions |
|---|---|
| Admin | Manage channels, competitors, billing, API keys, and team access |
| Analyst | View analytics, competitors, revenue, scripts, and exports |
| Viewer | Read-only access to dashboards, reports, and docs-linked resources |
Developer
API Reference
The external API is documented in full on the /developers page with authentication, error codes, rate limits, and curl examples.
Base URL: https://tubeanalytics.net/api/external/v1
| Method | Endpoint | Description |
|---|---|---|
| GET | /channels | List connected channels |
| GET | /channels/:channelId | Fetch one connected channel |
| GET | /analytics?channel_id=... | Aggregated channel analytics |
| GET | /videos?channel_id=... | Paginated video list |
| GET | /audience?channel_id=... | Audience demographics |
| GET | /competitors | Tracked competitors |
Developer
Rate Limits
Rate limits depend on plan tier. The signed-in API key path is available on Professional and Enterprise plans, while Starter users do not get external API access. The codebase enforces a sliding-window limit on key-auth requests, and the response headers include `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset`.
| Header | Meaning |
|---|---|
| X-RateLimit-Limit | Maximum requests allowed in the current window |
| X-RateLimit-Remaining | Requests left before you hit the limit |
| X-RateLimit-Reset | Unix timestamp when the window resets |
Developer
SDKs & Libraries
A JavaScript / TypeScript SDK is planned, and a Python SDK is on the roadmap. Until the SDK ships, you can call the REST API directly from fetch or your preferred HTTP client.
const response = await fetch("https://tubeanalytics.net/api/external/v1/channels", {
headers: {
Authorization: "Bearer <token>",
},
});
const data = await response.json();Developer
Changelog
See the full changelog for the complete release history. Recent releases:
| v1.4.0 | May 2026 | Viral Script Generator, advanced AI streaming |
| v1.3.0 | Apr 2026 | Creem payments integration, 7-day trial |
| v1.2.0 | Mar 2026 | Comments Manager, YouTube OAuth v2 |
| v1.1.0 | Feb 2026 | i18n support (6 languages), theme switcher |
| v1.0.0 | Jan 2026 | Initial launch: analytics, competitor benchmarking, revenue tracking |
Support
FAQ
Support
Contact Support
Email support at support@tubeanalytics.net. Response time is within 24 hours on business days.
Send a Message
Support
Community
Join the TubeAnalytics Discord community to compare workflows, share feature requests, and ask other creators how they are using analytics, competitor benchmarking, and AI tools in practice.
Core Features
Comments Manager
Comments Manager gives you one unified inbox for all videos. It uses the YouTube OAuth 2.0 permission set that includes `youtube.force-ssl`, so the platform can view, reply, approve, hold, delete, and flag comments for follow-up.