The YouTube Data API, unified
Manage YouTube comments and publish videos through one API.
- Free tier, no credit card
- Instant API key
- MCP server included

Comments

@maya.r2h ago
Do these come in black?
@ledge.skate1m ago
Yes, black with a gum sole, sizes 36 to 46.

@jin.k5h ago
Skated mine all weekend, the grip is unreal.
/v1/inbox/comments/{postId}200 OKCapabilities: What you can build on YouTube
Every capability is one endpoint, the same one you call on every other platform.The screens show where each call lands.
Publishing
Upload and publish videos with title, description, tags, category, scheduling, and visibility controls.
- POST
/v1/posts

White lows, back in every size
3.4K viewsOct 6, 2026
Ledge Skate & Shoe
1.2KNew white lows just landed. In store Saturday, all sizes.
- POST
Comments
Read, reply to, hide, and delete comments on your YouTube videos.
- GET
/v1/inbox/comments/{postId} - POST
/v1/inbox/comments/{postId}
- read
- reply
- hide
- delete
- GET
On every platform
Agent-ready
Every YouTube capability is a typed tool on the SocialAPI.ai MCP server.
- social_api_list_post_comments
- social_api_validate_post
One API key
The key that calls YouTube calls all 13 platforms.
Authorization: Bearer sapi_key_…Predictable errors
The same status codes everywhere, whatever the platform behind them.
- 401expired token
- 429rate limited
- 501not on this platform
Call the YouTube API
List comments on a YouTube video
Fetch the comments on one of your videos using the unified inbox endpoint. The same JSON schema you already use for Instagram, Facebook, and TikTok.
curl -s "https://api.social-api.ai/v1/inbox/comments/<post-id>?account_id=<account-id>" \
-H "Authorization: Bearer <your-api-key>" | jq
# Response
{
"data": [
{
"id": "sapi_cmt_eW91dHViZTpVZ3h...",
"platform": "youtube",
"author_username": "TechReviewer",
"author_profile_url": "...",
"text": "Great tutorial! Can you do a follow-up on advanced topics?",
"like_count": 45,
"reply_count": 3,
"created_at": "2026-04-01T10:15:00Z"
}
],
"pagination": { "has_more": true, "next_cursor": "<cursor>" }
}In depth: How the YouTube API works on SocialAPI.ai
Read, reply to, and moderate comments on your YouTube channel, and publish videos with full metadata control. SocialAPI.ai handles the YouTube Data API quotas, the resumable upload protocol, and Google OAuth token refresh so you can ship features instead of plumbing.
Comment management
Read all comments across your videos, reply to viewers, hide inappropriate comments for review, and delete them permanently. YouTube comments flow through the same unified inbox endpoints you already use for every other platform.
Video publishing with full metadata
Upload videos through the unified publishing endpoint with full control over title, description, tags, category, language, visibility, scheduled publish time, and subscriber notification. SocialAPI.ai handles YouTube's resumable upload protocol and processing status tracking.
Post updates and lifecycle
Update video metadata (title, description, tags, privacy) after publishing, or delete videos entirely. The video file itself cannot be replaced (a YouTube platform limit), but everything else is editable through a stable REST interface.
Managed OAuth and quotas
Connect your YouTube channel through SocialAPI.ai's managed Google OAuth flow. SocialAPI.ai stores encrypted refresh tokens, refreshes access tokens automatically, and surfaces YouTube Data API quota errors as standard 429 responses so your integration can back off gracefully.
Simple, honest pricing.
Reading comments, DMs, and mentions is free and unlimited on every plan. Paid plans start at $29/mo with unlimited posts and interactions. The free tier needs no credit card.
Frequently asked questions
What developers ask before they ship YouTube.
Can I upload YouTube Shorts through SocialAPI.ai?
Yes. Shorts are published through the same /v1/posts endpoint as regular videos. As long as the source media meets YouTube's Shorts requirements (vertical aspect ratio, under 60 seconds), YouTube classifies it as a Short automatically.
Do I need my own Google Cloud project?
No. SocialAPI.ai operates a managed Google Cloud OAuth app with YouTube Data API access. Your users connect their YouTube channel through the standard OAuth flow without any setup on your side.
How does SocialAPI.ai handle YouTube API quotas?
Every YouTube Data API call costs quota units. SocialAPI.ai batches reads where possible and returns HTTP 429 with a clear error code when YouTube's quota is exhausted. You can detect the error and back off, or contact us to discuss a quota extension request with Google.
Can I schedule a YouTube video to publish later?
Yes. Set the visibility to private and pass a publish_at RFC 3339 timestamp inside platform_data.youtube. YouTube will flip the video to public at the scheduled time automatically.
Is YouTube available on the free tier?
Yes. YouTube is included in every SocialAPI.ai plan, including the free tier. Reads are free; uploads and comment replies count against your monthly post and interaction limits.
Every other platform, one API: Every other platform, one API
Same key, same shapes, same webhook.
Ready to unify your social interactions?
Free tier available. No credit card required. Ships with the MCP server.