TubeAnalytics API
Build custom integrations and applications with our powerful API
REST API
Access all your analytics data through our RESTful API. Simple, reliable, and well-documented.
Available on Pro plansWebhooks
Receive real-time notifications when new data is available or when specific events occur.
Available on Pro plansGraphQL API
Query exactly the data you need with our GraphQL API. No over-fetching, no under-fetching.
Coming SoonEnterprise SDKs
Official SDKs for Python, JavaScript, and more. Secure and enterprise-ready.
Coming SoonGetting Started
curl -X GET https://api.tubeanalytics.net/v1/channelsGet a list of all connected channels
curl -X GET https://api.tubeanalytics.net/v1/analytics?channel_id=xxx&range=30dGet analytics for a specific channel
Available Endpoints
/v1/channels/v1/channels/:id/v1/analytics/v1/videos/v1/audience/v1/competitorsAuthentication
All TubeAnalytics API requests must include a valid API key in the Authorizationheader using the Bearer token scheme. API keys are tied to your account and carry your plan's permissions — keep your key secret and never expose it in client-side code or commit it to version control.
To generate or rotate an API key, go to Dashboard → Settings → API Keys. Pro and Agency subscribers can create multiple keys and label them per integration.
curl -X GET https://api.tubeanalytics.net/v1/channels \
-H "Authorization: Bearer YOUR_API_KEY"Authenticated request to list connected channels
Rate Limits
Each API key is subject to a per-hour request limit based on your plan. If you exceed your limit, the API returns a 429 Too Many Requests response with a Retry-After header indicating how many seconds to wait before retrying. We recommend implementing exponential backoff in any production integration.
Error Codes
The TubeAnalytics API uses standard HTTP status codes. All error responses include a JSON body with error.code, error.message, and an optional error.details object for additional context.
400401403404429500What You Can Build
Custom Analytics Dashboards
Pull your channel metrics into your own tools — embed charts in internal portals, client reports, or business intelligence platforms like Metabase or Grafana.
Zapier & Make Automations
Trigger workflows when a video hits a view milestone, a new video is published, or a competitor channel posts. Connect TubeAnalytics data to 5,000+ apps without writing backend code.
Slack Performance Bots
Post daily or weekly performance digests to your team's Slack channel automatically. Stay aligned on channel growth without logging into another dashboard.
Google Sheets & Notion Reports
Sync your analytics data into spreadsheets or Notion databases for custom reporting, goal tracking, or sharing with clients and collaborators.
Get API Access
API access is available on Professional and Enterprise plans. Sign up today to get your API key.