Wambesha
  • 首頁
  • 探索
  • 社群
  • 開發者
總覽快速入門API 參考文件價格變更紀錄服務狀態取得 API 金鑰
開發者快速入門API 參考文件主控台價格API 變更紀錄變更紀錄訂閱源服務狀態
探索電影電視節目幫助服務條款隱私權政策取得應用程式

© 2026 Wambesha

v0.133.0
Cookie 政策聯繫我們價格退款與取消可接受使用政策版權方服務狀態查詢下架通知刪除您的帳號兒童安全標準新動態

Wambesha LLC · 1209 Mountain Road Pl NE, Ste N, Albuquerque, NM 87110, USA

總覽

指南

  • API keys
  • Rate limits and retries
  • Pagination
  • Webhooks
  • Glossary

Discovery

  • SearchGET
  • DiscoverGET
  • LookupGET
  • GenresGET
  • RecommendationsGET

Titles

  • Titles batchGET
  • Title recordGET
  • SeasonsGET
  • EpisodesGET
  • CreditsGET
  • ImagesGET
  • Where a title is heldGET

People

  • PersonGET
  • FilmographyGET

Changes

  • ChangesGET
  • ChangelogGET

Account

  • AccountGET
  • UsageGET
  • Request logGET
  • KeysGET
  • Rotate keyPOST

共 21 個端點,顯示 21 個

API 參考文件僅提供英文版。

指南

Pagination

List endpoints return one page at a time. Follow next_cursor until it is null.

Cursors

  • next_cursor

    Each page carries the cursor for the next one, or null on the last page. Pass it back as cursor.

  • Bound to the query

    A cursor belongs to the filters and sort that produced it. Change any of them and start again at page one; replaying a cursor under different filters answers 400 cursor-invalid (CURSOR_INVALID), never a wrong page.

  • Opaque

    Treat a cursor as an opaque string: store it, pass it back unchanged, never build or edit one.

  • No expiry

    A cursor from your own key does not expire. With the public demo key a cursor lasts an hour, after which paging starts again at page one.

  • Starting again

    Any 400 cursor-invalid means start again at page one: a cursor issued before a change to the cursor format is refused the same way. Paging reaches at most the first 100,000 results.

Page sizes

limit sets the page size. Out of range is 400 validation-failed.

  • /v1/search1-50, default 20
  • /v1/discover1-50, default 20
  • /v1/recommendations1-50, default 10
  • /v1/titles/{titleRef}/episodes1-50, default 20
  • /v1/titles/{titleRef}/credits1-50, default 20
  • /v1/people/{personRef}/filmography1-50, default 20
  • /v1/changes1-500, default 100
  • /v1/changelog1-50, default 20
  • /v1/account/requests1-200, default 50

Reading every page

// Reads every page of a search. The cursor is passed back unchanged with the same filters.
const base = "https://api.wambesha.com/v1/search?q=gladiator&limit=50";
const headers = { Authorization: `Bearer ${process.env.WAMBESHA_API_KEY}` };
const titles = [];
for (let cursor = null; ; ) {
  const url = cursor ? `${base}&cursor=${encodeURIComponent(cursor)}` : base;
  const res = await fetch(url, { headers });
  if (!res.ok) throw new Error(`${res.status} ${(await res.json()).code}`);
  const page = await res.json();
  titles.push(...page.titles.items);
  cursor = page.titles.next_cursor;
  if (cursor === null) break;
}