API docs

Feed — list of live posts

Returns posts actually live on your connected channels, most recent first.

Version: v1

01 Feed — list of live posts

1.1 Description

GET/feed

This call doesn't call the platforms; it only returns what's already stored. That makes it fast and it doesn't use platform quota. Fetching new data is handled by POST /feed.

1.2 Parameters

Feed — live posts list parameters
NameCategoryDescription
workspaceRequiredWorkspace code
limitOptionalNumber of entries to fetch (1–50). Defaults to 20. Out-of-range values are ignored and the default is used
cursorOptionalContinue reading. Pass the next from the previous response as is. It's our internal format, so don't try to interpret it

1.3 Request

Terminal — bash
curl "https://moacast.com/api/moacast/v1/feed?workspace=a1b2c3d4&limit=20" \
  -H 'Authorization: Bearer <ACCESS_TOKEN>'

1.4 Success response

Response — JSON
{
    "result": "SUCCESS",
    "result_code": 0,
    "data": {
        "workspace": "a1b2c3d4",
        "items": [
            {
                "channel": "youtube",
                "id": "dQw4w9WgXcQ",
                "text": "새 영상을 올렸습니다",
                "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
                "thumb": "https://i.ytimg.com/vi/dQw4w9WgXcQ/mqdefault.jpg",
                "type": "video",
                "when": 1790420673,
                "origin": "",
                "stats": {
                    "likes": 12,
                    "comments": 3,
                    "views": 840
                }
            }
        ],
        "next": "",
        "fetched_at": 1790420673,
        "stale": false
    }
}

1.5 Field

Feed — live posts list fields
FieldTypeDescription
workspacestringWorkspace code
itemsarrayPost list, most recent first. Each entry has the shape below
nextstringCursor string for continuing. Empty string if there's nothing more
fetched_atintAs of when (Unix seconds). 0 if never fetched
staleboolWhether the stored data is stale

items entry

Feed — live posts list fields
FieldTypeDescription
channelstringChannel key where the post was published
idstringPost identifier assigned by the platform
textstringBody
urlstringPublic URL of the post
thumbstringFeatured image URL
typestringtext · image · video · album
whenintTime posted (Unix seconds). The display format is up to the UI
originstringAlways an empty string for now. It will be filled once we have a way to identify posts published through us
statsobjectLike, comment, and view counts. Values the platform doesn't provide are null, not 0

1.6 Failed

Feed — live posts list failures
CodeHTTPWhen
9912400workspace was not provided
1001401Header is missing or the token is invalid
2000404The workspace doesn't exist, or this token can't access it

If fetched_at is 0, it has never been fetched; if stale is true, the stored data is stale. Either is a signal to call POST /feed.