نظرة عامةالبدء السريعمرجع APIالأسعارسجل التغييراتالحالةاحصل على مفتاح API
المطورونالبدء السريعمرجع APIوحدة التحكمالأسعارسجل تغييرات APIحالة الخدمة
استكشافأفلاممسلسلاتالمساعدةشروط الخدمةسياسة الخصوصيةاحصل على التطبيقسياسة ملفات تعريف الارتباطالأسعارالاسترداد والإلغاءسياسة الاستخدام المقبولأصحاب الحقوقحالة الخدمةالتحقق من إخطار إزالةما الجديد
·

© 2026 Wambesha

v0.110.0
نظرة عامة

Discovery

  • SearchGET
  • DiscoverGET
  • LookupGET
  • GenresGET
  • Similar titlesGET

Titles

  • Batch titlesGET
  • Title recordGET
  • SeasonsGET
  • EpisodesGET
  • CreditsGET
  • ImagesGET
  • Where a title is heldGET

People

  • PersonGET
  • FilmographyGET

Changes

  • Change feedGET
  • ChangelogGET

Account

  • Plan and usageGET
  • Usage historyGET
  • Recent requestsGET
  • KeysGET
  • Rotate keyPOST

21 من أصل 21 نقطة نهاية

مرجع API متوفر باللغة الإنجليزية فقط.

Titles/{titleRef}/episodes

GET/v1/titles/{titleRef}/episodes

حصة الاستدعاءات فقطترقيم صفحات بالمؤشر

The episodes of a series, or of one season, in season and episode order. Spends no verification.

المعاملات

  • titleRefstring · في المسارمطلوب

    A series (sr_) or season (sn_) id, or the catalog UUID.

    المزيد⌄

    A public id (mv_, sr_, sn_ or ep_) or the catalog UUID.

  • languagestringاختياري

    Response language, a supported BCP-47 tag. Default en.

    المزيد⌄

    A supported BCP-47 tag. Defaults to en. An UNSUPPORTED tag is a 400 naming the accepted set, never a silent fallback - the catalogue stores match the 17 tags as exact strings, so degrading would answer an empty 200 that an integrator would ship before noticing.

  • seasonintegerاختياري

    Only this season's episodes. An integer, 0 or more; 0 is specials.

    المزيد⌄

    Only the episodes of this season number. An integer, 0 or more (0 holds specials, where a series has them). Omit for every season, in season order.

  • limitintegerاختياريالافتراضي: 20

    Episodes per page, 1-50. Default 20.

    المزيد⌄

    Out of range is a 400, never a silent clamp - silent clamping hides client bugs until they surface as a support ticket.

  • cursorstringاختياري

    The previous page's next_cursor. Bound to the same season.

    المزيد⌄

    Opaque and FILTER-BOUND. Replaying a cursor after any filter changes is a 400 CURSOR_INVALID, never a silently wrong page.

حقول الاستجابة

  • itemsEpisode[]
  • next_cursorstringقد يكون null
  • totalinteger · int64قد يكون null

    How many items the query matches in total, when that is known. Null when it is not known; it is never an estimate.

ترويسات الاستجابة

  • X-Request-ID

    The id of this request, on every response - success or error. Quote it to support: it is how we find your request in our logs. An X-Request-ID you send is honoured and echoed back, so you can use your own; otherwise we generate one. /v1 error bodies carry no trace id of their own.

  • X-Quota-Reset

    RFC 3339 instant at which the billing period rolls. Present on every response to a request whose key was metered - every 2xx, every error a handler returned, and the quota 429. Absent on a refusal that happens before metering: a missing or unknown key (401), a restricted key or a plan that does not carry the endpoint (403), a public demo-key gate refusal, and the pre-authentication flood throttle.

  • X-Calls-Remaining

    Requests left in the period after this one, never below 0. Present whenever X-Quota-Reset is (see there for when a response carries no quota headers).

  • X-Verifications-Remaining

    How many verifications you can still make before a limit stops you. The daily limit and the monthly allowance are counted separately; this is whichever of the two runs out first. Sent whenever X-Quota-Reset is.

  • X-Quota-Grace

    true when THIS request fell inside the 10% grace band above a monthly ceiling. A grace request is served and is not billed; treat true as "back off now", not as headroom. Always true or false, never absent when the other quota headers are present.

  • Retry-After429

    Seconds to wait before retrying. On every 429 - the quota hard stop, the public demo key's limits, and the pre-authentication flood throttle (which carries this header alone, because no key has been read yet).

  • X-Demo-Challenge-Modeمع مفتاح العرض التجريبي فقط

    Sent only on responses to the public demo key. The value interactive asks the documentation page to show the visible verification widget - it is sent once a browser has made more than five runs in ten minutes or has received a 429. The page then repeats the header, X-Demo-Challenge-Mode: interactive, on its next request, with the widget's token in X-Demo-Challenge. Requests made with your own key never receive it.

الأخطاء

  • validation-failed

  • validation-failed

  • validation-failed

  • cursor-invalid

  • cursor-invalid

  • validation-failed

  • unauthenticated

  • forbidden

  • plan-required

  • challenge-required

  • not-found

  • validation-failed

  • quota-exhausted

  • rate-limited

  • upstream-unavailable

التفاصيل⌄

Accepts a series id or a season id.

season narrows a series request by number and is IGNORED when the ref is itself a season - the scope is already exact, and honouring it there would let ?season=3 on season 5's page return nothing with no explanation.

Season 0 (the upstream "Specials" bucket) is no longer served (decision D-40, 2026-09-07). It is excluded from every episode list, so ?season=0 and a titleRef naming a season-0 season both answer an EMPTY page with a 200 - not a 400, and not an error code. A season public id captured before that date may therefore now return total: 0 where it previously returned episodes; that is the withdrawal, not a gap in ingestion. Season numbers returned by GET /v1/titles/{titleRef}/seasons never include 0, so iterating THAT list rather than counting from zero avoids the empty request entirely.

السابقSeasonsالتاليCredits

جرّبها

جارٍ تحميل مفتاح العرض التجريبي…

A series (sr_) or season (sn_) id, or the catalog UUID.

Response language, a supported BCP-47 tag. Default en.

Only this season's episodes. An integer, 0 or more; 0 is specials.

Episodes per page, 1-50. Default 20.

curl "https://api.wambesha.com/v1/titles/sr_ZGSKFCDMQ0/episodes" \
  -H "Authorization: Bearer YOUR_API_KEY"

مثال

{
  "items": [
    {
      "id": "ep_WN0JFVN8EQ",
      "uuid": "6f4cf4de-0e8b-463e-8eff-456c3c1ed3f6",
      "type": "episode",
      "title": "Part One: Master and Apprentice",
      "synopsis": "A valuable prisoner escapes New Republic custody; a search for answers reunites two old friends.",
      "season_number": 1,
      "episode_number": 1,
      "air_date": "2023-08-22",
      "runtime_minutes": 57,
      "still": null
    },
    {
      "id": "ep_9MAB5PEW9F",
      "uuid": "61cabad3-6a94-4024-b1da-4e6640b97275",
      "type": "episode",
      "title": "Part Two: Toil and Trouble",
      "synopsis": "Ahsoka and General Hera Syndulla travel to New Republic shipyards and make an unexpected discovery.",
      "season_number": 1,
      "episode_number": 2,
      "air_date": "2023-08-22",
      "runtime_minutes": 44,
      "still": null
    }
  ],
  "next_cursor": "djF8Nzc0MjIwMjJjOTE3MDk2OHxzZWFzb25fZXBpc29kZXwxJTdDMiU3QzYxY2FiYWQzLTZhOTQtNDAyNC1iMWRhLTRlNjY0MGI5NzI3NQ",
  "total": 8
}