Get Cosmos collection
Get a Cosmos collection by URL with its owner, size and followers.
Headers
Get your API keyAPI key (`sfk_...`)
Link to the Cosmos collection, as in https://www.cosmos.so/joris.kahl/teh-nerd-stuff.
min 1 chars · max 512 chars
Endpoint-specific response payload.
`not_found` for a private, removed or unknown collection.
one of: found, not_found
The collection when `lookupStatus` is `found`; otherwise null.
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.
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/collections?url=https://www.cosmos.so/joris.kahl/teh-nerd-stuff" \
-H "x-api-key: YOUR_API_KEY"Responses
A Cosmos collection.