واجهة برمجة قنوات YouTube

تحليلات متقدمة للقنوات: معلومات، فيديوهات، قوائم تشغيل، إحصائيات وتدقيق.

ماذا يمكنك أن تفعل؟
إحصائيات القناة الفورية

المشتركون والمشاهدات والمزيد في طلب واحد.

جلب أحدث التحميلات

استرجع المعرّفات والعناوين وتواريخ النشر.

تدقيق بنقرة واحدة

متوسط المدة، أفضل وقت للرفع، أبرز الفيديوهات...

جرب مباشرة
99.9 % وقت التشغيل
1935ms الاستجابة
20 req/s
0.005 الأرصدة / الطلب

Channel Info


POST https://api.yeb.to/v1/youtube/channel/info
المعاملالنوعمطلوبالوصف
api_key string نعم Your API key
channel string نعم Channel ID (UC…) or vanity URL

مثال

curl -X POST https://api.yeb.to/v1/youtube/channel/info \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "channel": "UC_x5XG1OV2P6uZZ5FSM9Ttw"
}'

مثال الاستجابة

{
  "id":              "UC_x5XG1OV2P6uZZ5FSM9Ttw",
  "title":           "Google Developers",
  "description":     "The Google Developers channel provides ...",
  "keywords":        "Google, Android, Chrome, Firebase",
  "topicCats":       ["Science and technology", "Computer programming"],
  "topicCatsRaw": [
    "https://en.wikipedia.org/wiki/Science_and_technology",
    "https://en.wikipedia.org/wiki/Computer_programming"
  ],
  "country":         "US"
}
{"error":"Missing \"channel\" parameter","code":400}

رموز الاستجابة

الرمزالوصف
200 Successتمت معالجة الطلب بنجاح.
400 Bad Requestفشل التحقق من المدخلات.
401 Unauthorizedمفتاح API مفقود أو خاطئ.
403 Forbiddenالمفتاح غير نشط أو غير مسموح.
429 Rate Limitطلبات كثيرة جدًا.
500 Server Errorفشل غير متوقع.

Info

youtube/channel/info 0.0050 credits

Parameters

API Key
body · string · required
Channel
body · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Latest Videos


POST https://api.yeb.to/v1/youtube/channel/videos
المعاملالنوعمطلوبالوصف
api_key string نعم Your API key
channel string نعم Channel ID (UC…) or vanity URL
limit int اختياري Max items (1-50, default 50)
order string اختياري Sort by: date (default) · relevance · rating · viewCount · title · videoCount
period string اختياري Quick date filter: today | week | month | year
after RFC 3339 اختياري Custom publishedAfter (e.g. 2025-01-01T00:00:00Z) – overrides period
before RFC 3339 اختياري Custom publishedBefore (same format as after)

مثال

curl -X POST https://api.yeb.to/v1/youtube/channel/videos \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "channel": "GoogleDevelopers",
  "limit":   25,
  "order":   "viewCount",
  "period":  "month"
}'

مثال الاستجابة

[
  {"id":"dQw4w9WgXcQ","title":"Rick Astley – …"},
  {"id":"kJQP7kiw5Fk","title":"Despacito"}
]
{"error":"Missing \"channel\" parameter","code":400}

رموز الاستجابة

الرمزالوصف
200 Successتمت معالجة الطلب بنجاح.
400 Bad Requestفشل التحقق من المدخلات.
401 Unauthorizedمفتاح API مفقود أو خاطئ.
403 Forbiddenالمفتاح غير نشط أو غير مسموح.
429 Rate Limitطلبات كثيرة جدًا.
500 Server Errorفشل غير متوقع.

Videos

youtube/channel/videos 0.0090 credits

Parameters

API Key
body · string · required
Channel
body · string · required
Limit
body · string
Order
body · string
Period
body · string
Published After
body · string
Published Before
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Playlists


POST https://api.yeb.to/v1/youtube/channel/playlists
المعاملالنوعمطلوبالوصف
api_key string نعم Your API key
channel string نعم Channel ID or vanity
limit int اختياري Max playlists (1-50, default 50)
order string اختياري Sort by: date (default), videos, title
after string اختياري Only playlists published after this date (YYYY-MM-DD or RFC-3339)
before string اختياري Only playlists published before this date (YYYY-MM-DD or RFC-3339)

مثال

curl -X POST https://api.yeb.to/v1/youtube/channel/playlists \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "channel": "GoogleDevelopers",
  "order"  : "videos",
  "after"  : "2023-01-01",
  "limit"  : 25
}'

مثال الاستجابة

{
  "playlists": [
    {
      "id"          : "PL590L5WQmH8fJ54Foh3L5jT8vIojl7FeN",
      "title"       : "Google I/O 2025 – full sessions",
      "description" : "",
      "video_count" : 27,
      "published_at": "2025-05-14T12:03:44Z"
    },
    {
      "id"          : "PL590L5WQmH8f7u7b1ZOM8I3W-hd2_XxT4",
      "title"       : "Android Basics",
      "description" : "Intro series for new Android devs",
      "video_count" : 18,
      "published_at": "2024-11-08T09:20:11Z"
    }
  ]
}
{"error":"Invalid \"after\" or \"before\" date","code":422}

رموز الاستجابة

الرمزالوصف
200 Successتمت معالجة الطلب بنجاح.
400 Bad Requestفشل التحقق من المدخلات.
401 Unauthorizedمفتاح API مفقود أو خاطئ.
403 Forbiddenالمفتاح غير نشط أو غير مسموح.
429 Rate Limitطلبات كثيرة جدًا.
500 Server Errorفشل غير متوقع.

Playlists

youtube/channel/playlists 0.0090 credits

Parameters

API Key
body · string · required
Channel
body · string · required
Limit
body · string
Order
body · string
Published After
body · string
Published Before
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Find Channel ID


POST https://api.yeb.to/v1/youtube/channel/find-id
المعاملالنوعمطلوبالوصف
api_key string نعم Your API key
query string نعم Vanity URL (handle) or channel name

مثال

curl -X POST https://api.yeb.to/v1/youtube/channel/find-id \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "query": "@GoogleDevelopers"
}'

مثال الاستجابة

{"channel_id":"UC_x5XG1OV2P6uZZ5FSM9Ttw"}
{"error":"Not found","code":404}

رموز الاستجابة

الرمزالوصف
200 Successتمت معالجة الطلب بنجاح.
400 Bad Requestفشل التحقق من المدخلات.
401 Unauthorizedمفتاح API مفقود أو خاطئ.
403 Forbiddenالمفتاح غير نشط أو غير مسموح.
429 Rate Limitطلبات كثيرة جدًا.
500 Server Errorفشل غير متوقع.

Find ID

youtube/channel/find-id 0.0010 credits

Parameters

API Key
body · string · required
Query
body · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Channel Thumbnail


POST https://api.yeb.to/v1/youtube/channel/thumbnail
المعاملالنوعمطلوبالوصف
api_key string نعم Your API key
channel string نعم Channel ID or vanity

مثال

curl -X POST https://api.yeb.to/v1/youtube/channel/thumbnail \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "channel": "GoogleDevelopers"
}'

مثال الاستجابة

{"url":"https://yt3.ggpht.com/ytc/AAUvwng…=s800-c-k-c0xffffffff-no-rj"}
{"error":"Missing \"channel\"","code":400}

رموز الاستجابة

الرمزالوصف
200 Successتمت معالجة الطلب بنجاح.
400 Bad Requestفشل التحقق من المدخلات.
401 Unauthorizedمفتاح API مفقود أو خاطئ.
403 Forbiddenالمفتاح غير نشط أو غير مسموح.
429 Rate Limitطلبات كثيرة جدًا.
500 Server Errorفشل غير متوقع.

Thumbnail

youtube/channel/thumbnail 0.0010 credits

Parameters

API Key
body · string · required
Channel
body · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Region Restrictions


POST https://api.yeb.to/v1/youtube/channel/region-restrictions
المعاملالنوعمطلوبالوصف
api_key string نعم Your API key
channel string نعم Channel ID or vanity

مثال

curl -X POST https://api.yeb.to/v1/youtube/channel/region-restrictions \
  -H "Content-Type: application/json" \
  -d '{"api_key":"YOUR_KEY","channel":"GoogleDevelopers"}'

مثال الاستجابة

{"madeForKids":false}
{"error":"Missing \"channel\"","code":400}

رموز الاستجابة

الرمزالوصف
200 Successتمت معالجة الطلب بنجاح.
400 Bad Requestفشل التحقق من المدخلات.
401 Unauthorizedمفتاح API مفقود أو خاطئ.
403 Forbiddenالمفتاح غير نشط أو غير مسموح.
429 Rate Limitطلبات كثيرة جدًا.
500 Server Errorفشل غير متوقع.

Region restrictions

youtube/channel/region-restrictions 0.0030 credits

Parameters

API Key
body · string · required
Channel
body · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Channel Settings


POST https://api.yeb.to/v1/youtube/channel/settings
المعاملالنوعمطلوبالوصف
api_key string نعم Your API key
channel string نعم Channel ID or vanity

مثال

curl -X POST https://api.yeb.to/v1/youtube/channel/settings \
  -H "Content-Type: application/json" \
  -d '{"api_key":"YOUR_KEY","channel":"GoogleDevelopers"}'

مثال الاستجابة

{
  "defaultLang": "en",
  "country": "US",
  "showRelatedChannels": true,
  "featuredChannels": ["UCVHFbqXqoYvEWM1Ddxl0QDg"]
}
{"error":"Missing \"channel\"","code":400}

رموز الاستجابة

الرمزالوصف
200 Successتمت معالجة الطلب بنجاح.
400 Bad Requestفشل التحقق من المدخلات.
401 Unauthorizedمفتاح API مفقود أو خاطئ.
403 Forbiddenالمفتاح غير نشط أو غير مسموح.
429 Rate Limitطلبات كثيرة جدًا.
500 Server Errorفشل غير متوقع.

Settings

youtube/channel/settings 0.0050 credits

Parameters

API Key
body · string · required
Channel
body · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Statistics


POST https://api.yeb.to/v1/youtube/channel/statistics
المعاملالنوعمطلوبالوصف
api_key string نعم Your API key
channel string نعم Channel ID or vanity

مثال

curl -X POST https://api.yeb.to/v1/youtube/channel/statistics \
  -H "Content-Type: application/json" \
  -d '{"api_key":"YOUR_KEY","channel":"GoogleDevelopers"}'

مثال الاستجابة

{
  "subscribers": 2500000,
  "views": 150000000,
  "videos": 320,
  "hiddenSubs": false
}
{"error":"Missing \"channel\"","code":400}

رموز الاستجابة

الرمزالوصف
200 Successتمت معالجة الطلب بنجاح.
400 Bad Requestفشل التحقق من المدخلات.
401 Unauthorizedمفتاح API مفقود أو خاطئ.
403 Forbiddenالمفتاح غير نشط أو غير مسموح.
429 Rate Limitطلبات كثيرة جدًا.
500 Server Errorفشل غير متوقع.

Statistics

youtube/channel/statistics 0.0070 credits

Parameters

API Key
body · string · required
Channel
body · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Subscribe-Link Generator


POST https://api.yeb.to/v1/youtube/channel/subscribe-link-generator
المعاملالنوعمطلوبالوصف
api_key string نعم Your API key
channel string نعم Channel ID or vanity

مثال

curl -X POST https://api.yeb.to/v1/youtube/channel/subscribe-link-generator \
  -H "Content-Type: application/json" \
  -d '{"api_key":"YOUR_KEY","channel":"GoogleDevelopers"}'

مثال الاستجابة

رموز الاستجابة

الرمزالوصف
200 Successتمت معالجة الطلب بنجاح.
400 Bad Requestفشل التحقق من المدخلات.
401 Unauthorizedمفتاح API مفقود أو خاطئ.
403 Forbiddenالمفتاح غير نشط أو غير مسموح.
429 Rate Limitطلبات كثيرة جدًا.
500 Server Errorفشل غير متوقع.

Subscribe-link

youtube/channel/subscribe-link-generator 0.0010 credits

Parameters

API Key
body · string · required
Channel
body · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Search Channels


POST https://api.yeb.to/v1/youtube/channel/search
المعاملالنوعمطلوبالوصف
api_key string نعم Your API key
query string نعم Search keywords or @handle
limit int اختياري Max results (1-50, default 10)
order string اختياري Sort: relevance (default) · date · rating · viewCount · title · videoCount
period string اختياري Date filter: today | week | month | year
after RFC 3339 اختياري Custom publishedAfter (overrides period)
before RFC 3339 اختياري Custom publishedBefore

مثال

curl -X POST https://api.yeb.to/v1/youtube/channel/search \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "query":   "technology reviews",
  "limit":   10,
  "order":   "relevance",
  "period":  "week"
}'

مثال الاستجابة

[
  {"id":"UC-9-kyTW8ZkZNDHQJ6FgpwQ","title":"Music"},
  {"id":"UC_iD0xppBwwsrM9DegC5cQQ","title":"Trap City"}
]
{"error":"Missing \"query\"","code":400}

رموز الاستجابة

الرمزالوصف
200 Successتمت معالجة الطلب بنجاح.
400 Bad Requestفشل التحقق من المدخلات.
401 Unauthorizedمفتاح API مفقود أو خاطئ.
403 Forbiddenالمفتاح غير نشط أو غير مسموح.
429 Rate Limitطلبات كثيرة جدًا.
500 Server Errorفشل غير متوقع.

Search

youtube/channel/search 0.0090 credits

Parameters

API Key
body · string · required
Query
body · string · required
Limit
body · string
Order
body · string
Period
body · string
Published After
body · string
Published Before
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

YouTube Channel Audit


POST https://api.yeb.to/v1/youtube/channel/audit
المعاملالنوعمطلوبالوصف
api_key string نعم Your API key
channel string نعم Channel ID or vanity
after string اختياري RFC-3339 or YYYY-MM-DD – fetch uploads **after** this date
before string اختياري RFC-3339 or YYYY-MM-DD – fetch uploads **before** this date

مثال

curl -X POST https://api.yeb.to/v1/youtube/channel/audit \
  -H "Content-Type: application/json" \
  -d '{"api_key":"YOUR_KEY","channel":"GoogleDevelopers","after":"2025-01-01","before":"2025-06-30"}'

مثال الاستجابة

{
  "bestUploadDay":      "Wednesday",
  "bestUploadHourUTC":  "17",
  "avgVideoLengthSec":  412,
  "topVideos":[
    {
      "id":"3fumBcKC6RE",
      "title":"Google I/O 2025 – Keynote",
      "views":5200000,
      "len_s":372
    },
    {
      "id":"Vb2ZXRh74WU",
      "title":"Jetpack Compose 2.0",
      "views":2900000,
      "len_s":648
    }
  ],
  "language": "en",
  "country":  "US",
  "category":      "Science and technology",
  "categoryRaw":   "https://en.wikipedia.org/wiki/Science_and_technology"
}
{"error":"Channel has no recent videos","code":404}

رموز الاستجابة

الرمزالوصف
200 Successتمت معالجة الطلب بنجاح.
400 Bad Requestفشل التحقق من المدخلات.
401 Unauthorizedمفتاح API مفقود أو خاطئ.
403 Forbiddenالمفتاح غير نشط أو غير مسموح.
429 Rate Limitطلبات كثيرة جدًا.
500 Server Errorفشل غير متوقع.

Audit

youtube/channel/audit 0.0100 credits

Parameters

API Key
body · string · required
Channel
body · string · required
Published After
body · string
Published Before
body · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

واجهة برمجة قنوات YouTube — Practical Guide

A hands-on guide to turning a YouTube channel into actionable signals: find/resolve IDs, fetch latest uploads and playlists, read settings/statistics, run audits, and build real workflows (mix scheduling, SEO checks, regional compliance, badges).

#What this API solves

The youtube/channel module focuses on channel-level intelligence: resolve channel IDs, pull core info & settings, list uploads/playlists with practical filters, inspect statistics, and run a lightweight, production-ready audit (best upload day/hour, median signals). Results help you schedule mixes, benchmark performance, and avoid embedding issues.

#Endpoints & when to use them

#POST /v1/youtube/channel/find-id — Find Channel ID

  • Best for: Converting @handle / vanity to canonical channelId (UC…).
  • Output: { "channel_id": "UC…" }.
  • Tip: Cache this mapping; most other endpoints accept either value, but canonicalizing simplifies storage.

#POST /v1/youtube/channel/info — Channel Info

  • Best for: Bio cards, topic categories, country routing.
  • Output: { id, title, description, keywords, topicCats[], topicCatsRaw[], country }.
  • Tip: Use topicCats to cluster channels (“Science and technology”, “Programming”).

#POST /v1/youtube/channel/videos — Latest Videos

  • Best for: Build “latest” or “top this month” rails; seed audits.
  • Filters: order (date | viewCount | …), period (today/week/month/year), or custom after/before (RFC-3339 or YYYY-MM-DD).
  • Output: Array of { id, title, … } items.

#POST /v1/youtube/channel/playlists — Playlists

  • Best for: Curatorial analysis (“which series drive views?”).
  • Output: { playlists: [{ id, title, description, video_count, published_at }] }.
  • Tip: Sort by videos to find evergreen series; filter by dates to compare seasons.

#POST /v1/youtube/channel/statistics — Statistics

  • Best for: High-level counters for badges and sanity checks.
  • Output: { subscribers, views, videos, hiddenSubs }.

#POST /v1/youtube/channel/settings — Channel Settings

  • Best for: Localization defaults (language/country) and side-rail curation (featured channels).
  • Output: { defaultLang, country, showRelatedChannels, featuredChannels[] }.

#POST /v1/youtube/channel/region-restrictions — Region Restrictions

  • Best for: Compliance/UX gating at the channel level (e.g., kids content).
  • Output: { madeForKids: boolean }.
  • Best for: Discovery workflows; onboarding new sources.
  • Filters: order, period, or custom after/before.
  • Output: { results: [{ id, title, …}] }.

#POST /v1/youtube/channel/audit — Channel Audit

  • Best for: Quickly infer optimal upload windows, typical lengths, and top performers over a period.
  • Output: { bestUploadDay, bestUploadHourUTC, avgVideoLengthSec, topVideos[], language, country, category, categoryRaw }.
  • Tip: Pass after/before to focus on a season or rebrand window.

#POST /v1/youtube/channel/subscribe-link-generator — Subscribe Link

  • Best for: One-click subscribe CTA in your UI.
  • Output: { url: "…?sub_confirmation=1" }.

#POST /v1/youtube/channel/thumbnail — Channel Thumbnail

  • Best for: Channel cards, “featured creators” strips.
  • Output: { url } (high-res avatar).

#Quick start

# 1) Resolve channel ID from @handle
curl -X POST "https://api.yeb.to/v1/youtube/channel/find-id" \
  -H "Accept: application/json" -H "Content-Type: application/json" \
  -H "X-API-Key: <YOUR_API_KEY>" \
  -d '{ "query": "@GoogleDevelopers" }'
# 2) Latest videos this month, sorted by views
curl -X POST "https://api.yeb.to/v1/youtube/channel/videos" \
  -H "Accept: application/json" -H "Content-Type: application/json" \
  -H "X-API-Key: <YOUR_API_KEY>" \
  -d '{ "channel":"UC_x5XG1OV2P6uZZ5FSM9Ttw", "order":"viewCount", "period":"month", "limit":25 }'
# 3) Playlists after a given date
curl -X POST "https://api.yeb.to/v1/youtube/channel/playlists" \
  -H "Accept: application/json" -H "Content-Type: application/json" \
  -H "X-API-Key: <YOUR_API_KEY>" \
  -d '{ "channel":"GoogleDevelopers", "order":"videos", "after":"2024-11-01", "limit":25 }'
# 4) Channel audit across a custom window
curl -X POST "https://api.yeb.to/v1/youtube/channel/audit" \
  -H "Accept: application/json" -H "Content-Type: application/json" \
  -H "X-API-Key: <YOUR_API_KEY>" \
  -d '{ "channel":"GoogleDevelopers", "after":"2025-01-01", "before":"2025-06-30" }'

#Parameters that actually matter

ParamTypeRequiredPractical guidance
api_key string Yes Use server-side or sign short-lived edge tokens.
channel string Yes* UC… ID or vanity (@handle). Not required for find-id / search.
limit int No 1–50 (default varies). Keep UI grids tidy: 12/24/48.
order string No For videos and search. Typical: date or viewCount.
period string No Shortcut time filter: today | week | month | year.
after/before date No RFC-3339 or YYYY-MM-DD; we normalize. Use to bracket seasons or editorial windows.
query string Yes* For find-id/search: keywords or @handle.

#Reading & acting on responses

#Audit — interpretation

{
  "bestUploadDay": "Wednesday",
  "bestUploadHourUTC": "17",
  "avgVideoLengthSec": 412,
  "topVideos": [{ "id":"3fumBcKC6RE","title":"…","views":5200000,"len_s":372 }],
  "language": "en",
  "country": "US",
  "category": "Science and technology"
}
  • Schedule: Publish near bestUploadHourUTC for the target market; A/B test ±2h.
  • Format: Use avgVideoLengthSec to pick default mix lengths per channel.
  • Editorial: Promote a topVideos[0] rerun in your weekly hub.

#Info — interpretation

{
  "id":"UC_x5XG1OV2P6uZZ5FSM9Ttw",
  "title":"Google Developers",
  "topicCats":["Science and technology","Computer programming"],
  "country":"US"
}
  • Drive category pages from topicCats; geotarget copy by country.

#Videos — interpretation

[
  { "id":"dQw4w9WgXcQ", "title":"…" },
  { "id":"kJQP7kiw5Fk", "title":"Despacito" }
]
  • Pipe IDs to your youtube/video/* endpoints (engagement, restrictions, audit, etc.).

#Playlists — interpretation

{
  "playlists":[
    { "id":"PL590…", "title":"Google I/O 2025 – full sessions", "video_count":27, "published_at":"2025-05-14T12:03:44Z" }
  ]
}
  • Sort by video_count to detect successful series; feature them prominently.

#Statistics — interpretation

{ "subscribers":2500000, "views":150000000, "videos":320, "hiddenSubs":false }
  • Use for creator badges and sanity checks; don’t re-poll too often (cache daily).

#Practical recipes

  • Weekly mix planning: Pull videos for the last week, rank by engagement (via video API), schedule near bestUploadHourUTC.
  • Channel onboarding: find-idinfo/settingsstatistics snapshot → seed playlists.
  • Seasonal check: Run audit with after/before around a rebrand to compare cadence/length shifts.

#YouTube identifiers you’ll use

FieldWhat it isHow to use
channelId Canonical channel ID (starts with UC) https://www.youtube.com/channel/{channelId}
@handle Vanity username Resolve with /channel/find-id once; then persist channelId.
playlistId Channel playlist identifier https://www.youtube.com/playlist?list={playlistId}
videoId 11-char video ID Used across youtube/video/* endpoints.

#Errors & troubleshooting

  • 400 "Missing "action" parameter" — Internal routing error; ensure endpoint path sets an action.
  • 400 "Missing "channel" parameter" — Provide channel for all except find-id/search.
  • 404 "Unable to resolve channel ID" — Vanity not found; try find-id or pass UC… directly.
  • 422 "Invalid "order"" — Use documented values (e.g., date, viewCount).
  • 422 "Invalid "after" or "before" date" — Use RFC-3339 or YYYY-MM-DD; ensure after <= before.
  • 404 "Channel has no recent videos" — For audit, widen date range or increase activity window.

#API Changelog (youtube/channel)

2026-03-07
Date normalization & filters. after/before now accept RFC-3339 or YYYY-MM-DD across videos, playlists, search, and audit. Clear 422s on invalid or inverted ranges.
2026-02-28
Videos endpoint upgrades. Added order (date, viewCount, …) and period shortcuts (today/week/month/year).
2026-02-21
Audit windowing. /channel/audit accepts after/before to focus on seasons; topVideos capped at 10 with length in seconds.
2026-02-14
Playlists wrapping. Standardized success shape to { playlists: [...] }; added sorting by videos/title.

Use the Playgrounds attached to each endpoint block on this page to experiment with your own channel / @handle.

الأسئلة الشائعة

حتى 20 طلبًا في الثانية لكل مفتاح API، وفقًا لحد الاندفاع العام.

تجلب آخر N تحميل (الافتراضي 10) وتُرجع متوسط المدة وأفضل وقت للرفع والفيديوهات الأفضل أداءً.

نعم. كل طلب، حتى تلك التي تؤدي إلى أخطاء، تستهلك أرصدة. هذا لأن أرصدتك مرتبطة بعدد الطلبات، بغض النظر عن النجاح أو الفشل. إذا كان الخطأ بسبب مشكلة في المنصة من جانبنا، سنستعيد الأرصدة المتأثرة (بدون استرداد نقدي).

تواصل معنا على [email protected]. نأخذ الملاحظات بجدية—إذا كان تقرير الخطأ أو طلب الميزة ذا معنى، يمكننا إصلاح أو تحسين الواجهة بسرعة ومنحك 50 رصيدًا مجانيًا كشكر لك.

يعتمد على الواجهة وأحيانًا حتى على نقطة النهاية. بعض النقاط النهائية تستخدم بيانات من مصادر خارجية، والتي قد تكون لها حدود أكثر صرامة. نفرض أيضًا حدودًا لمنع إساءة الاستخدام والحفاظ على استقرار منصتنا. راجع الوثائق لمعرفة الحد المحدد لكل نقطة نهاية.

نعمل بنظام الأرصدة. الأرصدة هي وحدات مسبقة الدفع وغير قابلة للاسترداد تنفقها على استدعاءات API والأدوات. تُستهلك الأرصدة بنظام FIFO (الأقدم أولاً) وصالحة لمدة 12 شهرًا من تاريخ الشراء. تعرض لوحة التحكم تاريخ كل عملية شراء وانتهاء صلاحيتها.

نعم. جميع الأرصدة المشتراة (بما في ذلك الأرصدة الجزئية) صالحة لمدة 12 شهرًا من الشراء. تنتهي صلاحية الأرصدة غير المستخدمة تلقائيًا وتُحذف نهائيًا في نهاية فترة الصلاحية. لا يمكن استعادة الأرصدة المنتهية أو تحويلها إلى نقد أو قيمة أخرى. قاعدة انتقالية: الأرصدة المشتراة قبل 22 سبتمبر 2025 تُعامل كمشتراة في 22 سبتمبر 2025 وتنتهي في 22 سبتمبر 2026 (ما لم يُذكر تاريخ انتهاء أبكر عند الشراء).

نعم—ضمن فترة الصلاحية. تبقى الأرصدة غير المستخدمة متاحة وتُترحل من شهر لآخر حتى تنتهي صلاحيتها بعد 12 شهرًا من الشراء.

الأرصدة غير قابلة للاسترداد. اشترِ فقط ما تحتاجه—يمكنك دائمًا إعادة الشحن لاحقًا. إذا تسبب خطأ في المنصة في فشل الشحن، قد نستعيد الأرصدة المتأثرة بعد التحقيق. لا استرداد نقدي.

الأسعار محددة بالأرصدة وليس بالدولارات. كل نقطة نهاية لها تكلفتها الخاصة—انظر شارة "الأرصدة / الطلب" أعلاه. ستعرف دائمًا بالضبط ما تنفقه.
← العودة إلى واجهات البرمجة