IQCore lists are cursor based. You ask for a page, and the answer tells you how to get the next one. Most lists have a limit and no cursor: they return the newest items up to that limit.
List shapes
The API has grown from tools that existed before it, and IQCore keeps their old fields so existing clients do not break. So the lists do not all look the same today. These are the shapes that exist.
| Operation | Items are in | Paging fields | limit maximum |
|---|---|---|---|
GET /events |
data |
next_cursor, has_more |
100 (default 50) |
GET /organizations |
data |
next_cursor (always null), has_more |
one page |
GET /posts |
posts |
next_cursor, has_more |
50 (default 10) |
GET /media |
items (plus total) |
next_cursor, has_more |
25 (default 10) |
GET /channels |
channels |
none: all channels (up to 50) | - |
| Other lists (images, videos, voice-overs, usage records, credit transactions, Studio projects ...) | see the reference of each operation | limit only |
20 or 25, 50 for styles |
New lists use {data, next_cursor, has_more}. The shapes above are final for v1: they only grow by new fields (see Versioning).
Following a cursor
- Call the list without a cursor.
- If
has_moreistrue, call again withnext_cursor. - Stop when
has_moreisfalse(next_cursorisnull).
The cursor parameter is called cursor on GET /posts and GET /media, and since on GET /events (see Events). Treat a cursor as an opaque string. Do not build or change one.
Posts and media are listed newest first, so each next page is older. Events go oldest first and the cursor moves forward in time.
curl "https://iqcore.ai/api/public/v1/posts?limit=50" -H "Authorization: Bearer $IQCORE_KEY"
curl "https://iqcore.ai/api/public/v1/posts?limit=50&cursor=NEXT_CURSOR" -H "Authorization: Bearer $IQCORE_KEY"const headers = { Authorization: `Bearer ${process.env.IQCORE_KEY}` };
const all = [];
let cursor = null;
do {
const q = new URLSearchParams({ limit: "50" });
if (cursor) q.set("cursor", cursor);
const page = await (await fetch(`https://iqcore.ai/api/public/v1/posts?${q}`, { headers })).json();
all.push(...page.posts);
cursor = page.has_more ? page.next_cursor : null;
} while (cursor);import os
import requests
headers = {"Authorization": f"Bearer {os.environ['IQCORE_KEY']}"}
posts, cursor = [], None
while True:
params = {"limit": 50}
if cursor:
params["cursor"] = cursor
page = requests.get("https://iqcore.ai/api/public/v1/posts", headers=headers, params=params, timeout=30).json()
posts.extend(page["posts"])
if not page["has_more"]:
break
cursor = page["next_cursor"]Filters
GET /posts also filters by status, channel_id, external_ref, scheduled_from and scheduled_to, and days (the last N days and the planned ones, up to 90). GET /media filters by q, kind, source and collection. Times are ISO 8601 with an offset. Posts made with a test key are left out unless you send include_sandbox=true with a live key.
updated_since
GET /posts and GET /media accept updated_since: only items changed at or after that time. It is the simplest way to keep your own data in step with IQCore.
curl "https://iqcore.ai/api/public/v1/posts?updated_since=2026-12-01T00:00:00Z&limit=50" \
-H "Authorization: Bearer $IQCORE_KEY"Every post and media row has an updated_at to compare with.
Reconcile
The events feed tells you what changed as it happens. Use updated_since to double-check it:
- Once a day, list
GET /posts?updated_since=<your last good time>and compare with your records. The feed is complete while you follow its cursor, but an event can in rare cases be lost if IQCore's server stops at the wrong moment. - After a
410 cursor_expired, you were away longer than 30 days: restart the feed fromoldest_cursorand reconcile withupdated_since. - When you start, to fill your records with what already exists.
Take the time for the next run from before you sent the request (not from the answer), so nothing slips between two runs. Reading a change twice is fine: match by post id.
Next: Events, Post states and approval.