Documentation menu
Posts

List posts

Posts from every account in a profile, newest first.

GEThttps://app.tryadeli.com/api/v1/posts
AuthorizationBearer <API key>How keys work

Lists one page of posts from the Instagram accounts, Facebook Pages, TikTok accounts, YouTube channels, and Bluesky accounts in one profile, newest first: 25 by default, up to 100 with limit. Pass the response's nextCursor back as cursor for the next, older page; it is null once every account has no more posts. Passing platform=whatsapp returns 422 unsupported_platform. Uses the aggregate response contract.

Each request reads at most one page from each account's provider, so a page stays fast however many posts an account has, and can hold fewer than limit posts while nextCursor is still set. Keep paging until it is null. If one account fails, the others are returned with a 207, and the next page tries the failed account again from where it was. A cursor works only with the same platform, accountId, profileId, and limit it was made with; anything else returns 400 invalid_cursor. Dedupe by id if you merge pages fetched at different times.

TikTok returns at most 20 posts per account per page and YouTube at most 50. YouTube reads cost quota shared by every Adeli customer. X bills every post it returns (X API pricing), so X is listed only when you ask for it with platform=x or an X accountId, and each X page returns at least 5 posts. Bluesky lists top-level posts without replies or reposts; reposts are reported as shares.

Posts waiting in a scheduled publication come first on the first page (the request without a cursor), soonest first, one per account, with status: "scheduled", scheduledFor, and publicationId. They do not count toward limit. Their id is the publication target's id; they have no providerId, permalink, or engagement until they are published. Every other post has status: "published".

Query parameters

platform"instagram" | "facebook" | "tiktok" | "youtube" | "x"
Optional. Narrow to one provider. X is listed only when asked for.
accountIduuid
Narrow to one connected account.
profileIduuid
Required unless you pass accountId, which names its profile. If you pass both, they must agree.
limitinteger
Posts per page, 1–100. Defaults to 25.
cursorstring
nextCursor from the previous page, for older posts. Pass the same filters and limit.

Instagram posts carry likes and comments. For reach, views, saves and reel watch time, pass the providerId to Instagram post insights.

TikTok posts add shares, views, and reach to engagement, and their media[].url is TikTok's embeddable player. For watch time and retention, pass the providerId to TikTok post insights.

YouTube videos add views to engagement; caption is the video's title and media[].url its watch page. Pass the providerId to YouTube video insights for watch time.

X posts add shares (reposts) and views (impressions) to engagement; comments counts replies, and caption is the post's text.

Errors — 401 unauthorized, 400 invalid_request, 400 invalid_cursor, 422 unsupported_platform, 404 profile_not_found, 404 account_not_found, 502 provider_error.