List the posts an account liked
The posts an account liked, most recent like first, with when it liked each. post is null when the liked post is not available (deleted, or not returned by Bluesky), and a note gives the number. Likes of feeds and lists are not returned. Up to 500 a request, with nextCursor for more. 1 credit per 25 likes returned, minimum 1. Calls on this route run one at a time per API key: more wait their turn rather than fail.
/user-likes Accounts https://api.fetchlayer.dev/bluesky/user-likes Headers
Authorization string required Bearer token — your FetchLayer API key.
Parameters
user string optional An account: its handle (bsky.app or @bsky.app), its account id (did:plc:…) or its profile link (https://bsky.app/profile/bsky.app). Handles can change; the account id never does. Required unless cursor is given.
limit integer optional How many liked posts to return, 1-500. Each 25 returned is 1 credit, minimum 1. (default: 50)
cursor string optional Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400.
excludeOptedOut boolean optional Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written. (default: false)
format string optional json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON. (default: json)
timeoutMs integer optional Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running.
Response Fields
user-likes
List the posts an account liked
transport string The data source: always the platform id, "bluesky".
notes string[] Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none.
excludedCount number How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag.
user object The account.
likeCount number How many likes are in this response. The price is set from it.
likes object[] Each { likedAt, postUri, post }.
likes[].likedAt string | null When the account liked it.
likes[].postUri string The liked post’s at:// address.
likes[].post object | null The liked post, or null when it is not available.
hasMore boolean true when more likes exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so.
nextCursor string | null An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters.
Request
curl -X POST "https://api.fetchlayer.dev/bluesky/user-likes" \
-H "Authorization: Bearer ss-your-key" \
-H "Content-Type: application/json" \
-d '{"user":"bsky.app","limit":5}'Response
{
"transport": "bluesky",
"notes": [
"1 liked post is not available (deleted, or not returned by Bluesky); its post is null."
],
"excludedCount": 0,
"user": {
"did": "did:plc:z72i7hdynmk6r22z27h6tvur",
"handle": "bsky.app",
"displayName": "Bluesky",
"avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
"url": "https://bsky.app/profile/bsky.app",
"isVerified": false,
"labels": [],
"loggedOutVisibility": "public",
"createdAt": "2023-04-12T04:53:57.057Z"
},
"likeCount": 5,
"likes": [
{
"likedAt": "2026-11-24T01:16:42.997Z",
"postUri": "at://did:plc:example/app.bsky.feed.post/3lexample",
"post": null
}
],
"nextCursor": "eyJ2IjoxLCJrIjoidXNlci1saWtlcyIsInMi…",
"hasMore": true
}