Skip to content
scrapeatlas.Dashboard

Get a Cosmos collection

Try in Playground

Retrieve a collection’s name, description, cover image, owner, element and follower counts, and subcollections. Accept a collection or subcollection URL.

GET/v1/cosmos/clusterx-api-key
x-api-keystringrequiredheader

Your ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.

Query parameters
1
urlstringrequiredquery

Required HTTPS cosmos.so collection URL with a username, collection slug and optional subcollection slug; maximum URL length 1,500 characters. Tracking query parameters are removed.

max 1500 chars

Examplehttps://www.cosmos.so/example/design-references
Response fields
40
idinteger

Numeric Cosmos collection ID.

≥ 0

namestring

Collection name.

slugstring

Collection URL slug.

descriptionstringnullable

Published collection description, or null.

urlstring

Required HTTPS cosmos.so collection URL with a username, collection slug and optional subcollection slug; maximum URL length 1,500 characters. Tracking query parameters are removed.

absolute HTTPS URL

cover_image_urlstringnullable

Published cover image URL, or null.

post_countintegernullable

Published saved-element count, or null.

≥ 0

follower_countintegernullable

Published collection follower count, or null.

≥ 0

Public collection owner details.

owner.idinteger

Numeric Cosmos owner ID.

≥ 0

owner.usernamestring

Owner’s Cosmos username.

owner.full_namestringnullable

Owner’s published display name, or null.

owner.avatar_urlstringnullable

Owner’s public avatar URL, or null.

requestIdstring

Request correlation UUID.

Source request attempts, decoded bytes and elapsed milliseconds.

accounting.upstreamRequestsinteger

Number of upstream request attempts.

≥ 0

accounting.responseBytesinteger

Decoded source bytes read during this request.

≥ 0

accounting.durationMsnumber

Elapsed request time in milliseconds.

≥ 0

successboolean

True when usable data is returned; inspect status and coverage.

statusenum

success or partial for usable data; failed or challenged for a failure response.

one of: success, partial

sourceUrlstring

Canonical Cosmos URL for the requested profile, element, collection or search.

absolute HTTPS URL

fetchedAtstring

UTC retrieval timestamp.

Returned-result coverage and extraction warnings.

coverage.sourcestring

Public Cosmos API data.

coverage.completeboolean

Whether the returned result has no reported omissions.

coverage.warningsstring[]

Warnings explaining partial results or truncated fields.

Public subcollections in source order.

up to 40 items

subcollections.idinteger

Numeric Cosmos collection ID.

≥ 0

subcollections.namestring

Collection name.

subcollections.slugstring

Collection URL slug.

subcollections.descriptionstringnullable

Published collection description, or null.

subcollections.urlstring

Canonical public collection URL.

absolute HTTPS URL

subcollections.cover_image_urlstringnullable

Published cover image URL, or null.

subcollections.post_countintegernullable

Published saved-element count, or null.

≥ 0

subcollections.follower_countintegernullable

Published collection follower count, or null.

≥ 0

Public collection owner details.

subcollections.owner.idinteger

Numeric Cosmos owner ID.

≥ 0

subcollections.owner.usernamestring

Owner’s Cosmos username.

subcollections.owner.full_namestringnullable

Owner’s published display name, or null.

subcollections.owner.avatar_urlstringnullable

Owner’s public avatar URL, or null.

HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.

Error codes
13
HTTPfailure.codeMeaning
200partialUsable data with media_incomplete, media_limit, restricted_subcollections_omitted, subcollections_incomplete, subcollection_limit or record_limit coverage warnings.
400invalid_requestMissing, duplicate, malformed, unsafe or unsupported request parameters.
401unauthorizedMissing or invalid service API key.
403restricted_pageThe requested Cosmos content is not publicly accessible.
404not_foundThe requested public profile, element or collection was not found.
429upstream_rate_limitedCosmos temporarily rate-limited retrieval.
502upstream_challengedCosmos challenged retrieval.
502upstream_errorSource retrieval could not complete.
502unsupported_pageThe source response was incomplete, mismatched or unsupported.
502response_too_large payload_too_complexSource data exceeded the byte or parsing limits.
502unsafe_redirect request_limitThe source redirect or request sequence exceeded the accepted contract.
503busyAll Cosmos retrieval slots are in use.
504timeoutThe total operation deadline expired.