List Cosmos profile collections
List a Cosmos profile's public collections with their covers and sizes.
Headers
Get your API keyAPI key (`sfk_...`)
Cosmos username from the profile link, with or without a leading @, for example `joris.kahl`.
min 1 chars · max 41 chars
Pass `page.nextCursor` from the previous response to get the next page. It only works with the same handle, collection or query.
min 1 chars · max 4096 chars
Endpoint-specific response payload.
`not_found` when no account has this username.
one of: found, not_found
The account, when found.
Cosmos user id.
Username, as in cosmos.so/{handle}.
Full name.
Profile picture.
True when Cosmos verified the profile.
Profile page.
The account's public collections, 20 a page, most recently updated first.
Cosmos collection (cluster) id.
Collection name.
The name in its link.
Collection page.
Description.
The owner.
Cosmos user id.
Username, as in cosmos.so/{handle}.
Full name.
Profile picture.
True when Cosmos verified the profile.
Profile page.
Cover image.
Posts in it.
Followers, when Cosmos shows them.
People who add to it, the owner included.
Collections inside it.
True when Cosmos features it.
How many public collections the account has.
Pagination state for the current page.
Whether another page is available.
Cursor to pass in the next request when more pages exist; null on the last page.
True when the list stops here before its end: more rows exist (see `total`) but no further page can be read.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.
one of: true
When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.
Code example
curl "https://api.socialfetch.dev/v1/cosmos/profiles/joris.kahl/collections" \
-H "x-api-key: YOUR_API_KEY"Responses
A Cosmos account's collections.