Upload videos to YouTube
with a single API call
The OKVIR Uploader SDK provides a powerful, type-safe interface for uploading videos to YouTube. OAuth2 authentication, resumable uploads, and real-time progress tracking built-in.
Built for developers
Everything you need to integrate YouTube uploads into your application
OAuth2 Authentication
Secure Google OAuth2 flow with automatic token refresh and encrypted credential storage.
Resumable Uploads
Upload files up to 256GB with automatic retry and resume on network failures.
Real-time Progress
WebSocket-based progress tracking for live upload status in your UI.
Type-safe SDK
Full TypeScript support with auto-generated types from OpenAPI spec.
Upload History
Track all uploads with filtering, pagination, and detailed status information.
Rate Limiting
Built-in rate limiting to prevent API abuse and ensure fair usage.
Get started in minutes
Install the SDK and upload your first video
// Install: npm install @ouploader/sdk
import { OKVIR Uploader } from '@ouploader/sdk';
const client = new OKVIR Uploader({
baseUrl: 'https://api.uploader.example.com',
accessToken: 'your-access-token'
});
// Upload a video
const upload = await client.uploads.create({
title: 'My Awesome Video',
description: 'Video description here',
privacyStatus: 'private',
file: videoFile,
onProgress: (progress) => {
console.log(`Upload: ${progress.percentage}%`);
}
});
console.log('Video ID:', upload.youtubeVideoId);
REST API Endpoints
Complete API reference for all available endpoints
Ready to start building?
Explore the full API documentation with interactive examples
Open API Documentation