app.bsky.feed.getLikes

bsky-lexicons.bsky.social

Documentation

Get like records which reference a subject (by AT-URI and CID).

main query

Get like records which reference a subject (by AT-URI and CID).

Parameters

cid string cid Optional

CID of the subject record (aka, specific version of record), to filter likes.

cursor string Optional

No description available.

limit integer Optional

No description available.

uri string at-uri Required

AT-URI of the subject (eg, a post record).

Output

Encodingapplication/json
cid stringcid Optional

A content identifier (CID) referencing immutable data.

cursor string Optional

No description available.

likes array Required

No description available.

uri stringat-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
CID of the subject record (aka, specific version of record), to filter likes.
AT-URI of the subject (eg, a post record).
View raw schema
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "uri",
        "likes"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "likes": {
          "type": "array",
          "items": {
            "ref": "#like",
            "type": "ref"
          }
        },
        "cursor": {
          "type": "string"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "uri"
    ],
    "properties": {
      "cid": {
        "type": "string",
        "format": "cid",
        "description": "CID of the subject record (aka, specific version of record), to filter likes."
      },
      "uri": {
        "type": "string",
        "format": "at-uri",
        "description": "AT-URI of the subject (eg, a post record)."
      },
      "limit": {
        "type": "integer",
        "default": 50,
        "maximum": 100,
        "minimum": 1
      },
      "cursor": {
        "type": "string"
      }
    }
  },
  "description": "Get like records which reference a subject (by AT-URI and CID)."
}
like object

No description available.

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

indexedAt string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "type": "object",
  "required": [
    "indexedAt",
    "createdAt",
    "actor"
  ],
  "properties": {
    "actor": {
      "ref": "app.bsky.actor.defs#profileView",
      "type": "ref"
    },
    "createdAt": {
      "type": "string",
      "format": "datetime"
    },
    "indexedAt": {
      "type": "string",
      "format": "datetime"
    }
  }
}

Lexicon Garden

@