Substack

List a Substack user's public activity

Returns one page of a user's public activity: the notes they wrote, posts they published, and items they liked, replied to, or restacked. types is an optional comma-separated filter accepting note, post, like, replies and restack; omit it for the default mixed feed. Each item's kind is the upstream's own finer-grained label, so filtering on restack returns both comment_restack and post_restack items. Pagination is cursor-based.

get/substack/user/activity

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/substack/user/activity
  • Auth: API key in header x-api-key

Query parameters

user_idinteger required

Numeric user id from the user endpoint

typesstring

Comma-separated activity kinds: note, post, like, replies, restack

cursorstring

Opaque cursor from a previous response's next_cursor

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "items": [
      {
        "kind": "comment_restack",
        "note": {
          "author_handle": "jameelajamil",
          "author_id": 138271663,
          "author_name": "Jameela Jamil",
          "id": 316240438,
          "reaction_count": 12846,
          "reply_count": 129,
          "restack_count": 1139
        },
        "post": {
          "audience": "everyone",
          "id": 213613469,
          "type": "newsletter"
        }
      }
    ],
    "user_id": 49731969
  },
  "msg": "success"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.