Skip to content
  • Type to search every guide, endpoint and MCP tool.
Audiobly API

Pagination

List calls return one page at a time. Ask for a page with limit and offset, and read the pagination block to know how many there are.

{
  "data": [ { "id": "3f9a…", "title": "Future Media Summit" } ],
  "pagination": { "limit": 50, "offset": 0, "total": 132 }
}
Parameter Default Meaning
limit 50 how many items to return; most lists allow up to 200
offset 0 how many items to skip

The reference lists the exact range for each call. A limit outside it is rejected with 422.

Read every page

Keep asking until offset reaches total.

async function allEvents(key) {
  const events = [];
  for (let offset = 0; ; offset += 200) {
    const res = await fetch(
      `https://api.audiobly.com/v1/events?limit=200&offset=${offset}`,
      { headers: { Authorization: `Bearer ${key}` } },
    );
    const { data, pagination } = await res.json();
    events.push(...data);
    if (offset + data.length >= pagination.total) return events;
  }
}

Lists are ordered newest first unless the reference says otherwise. Some calls page differently: transcripts over MCP use a cursor, and a few small lists return everything in one response.