Search APIs
Loading…
← API Store
Social

Cosmos

Cosmos

Cosmos collection

GET /cosmos/v1/collection
Test this endpoint

Every response includes credits_used: the credits this call cost.

Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.

Parameters

NameTypeDescription
urlrequiredstring Example: https://www.cosmos.so/markbraydon91/architecture

Every endpoint also takes: raw、fields、fresh、output、records

{
  "cached": false,
  "categories": [],
  "collaborators": 1,
  "cover": "https://cdn.cosmos.so/639e3e55-f7f1-4ea2-94cd-8ebd42d7bbae",
  "cover_hash": "00FODg",
  "credits_used": 1,
  "description": null,
  "elements": 3671,
  "featured": false,
  "followers": 10,
  "id": 1698392581,
  "name": "Architecture",
  "owner": {
    "name": "Mark",
    "username": "markbraydon91"
  },
  "owner_avatar": "https://cdn.cosmos.so/52a1b35c-7f63-4432-8e85-a5bf63ecfafb",
  "owner_id": 876856709,
  "private": false,
  "share_url": "https://www.cosmos.so/markbraydon91/architecture",
  "slug": "architecture",
  "subcollections": [],
  "subcollections_total": 0,
  "type": "STANDARD",
  "updated_at": "2026-10-23T18:40:50.722502Z",
  "url": "https://www.cosmos.so/markbraydon91/architecture"
}
Response fields (26)

Field paths and types observed in the sample response; the live response is authoritative.

$object
$.cachedboolean
$.categoriesarray
$.collaboratorsinteger
$.coverstring
$.cover_hashstring
$.credits_usedinteger
$.descriptionnull
$.elementsinteger
$.featuredboolean
$.followersinteger
$.idinteger
$.namestring
$.ownerobject
$.owner.namestring
$.owner.usernamestring
$.owner_avatarstring
$.owner_idinteger
$.privateboolean
$.share_urlstring
$.slugstring
$.subcollectionsarray
$.subcollections_totalinteger
$.typestring
$.updated_atstring
$.urlstring