Skip to content
scrapeatlas.Dashboard

Get a user’s Cosmos collections

Try in Playground

Browse a curator’s public collections with names, descriptions, cover images, owners and element counts. Choose a page size and continue with the returned cursor.

GET/v1/cosmos/user/clustersx-api-key
x-api-keystringrequiredheader

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

Query parameters
3
handlestringrequiredquery

Required Cosmos username, 1 to 64 characters. Use letters, digits, underscores, dots or hyphens; start with a letter, digit, underscore or hyphen and omit consecutive dots.

Exampleexample
cursorstringquery

Opaque continuation for another page, or null. Supply it as the cursor request parameter with the same endpoint and inputs. Request cursors contain 1 to 4,096 characters and no control characters.

min 1 chars · max 4096 chars

limitstringquery

Optional requested page size, 1 to 40; default 20.

Example20
Response fields
31
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.

cursorstringnullable

Opaque continuation for another page, or null. Supply it as the cursor request parameter with the same endpoint and inputs. Request cursors contain 1 to 4,096 characters and no control characters.

has_moreboolean

Whether the returned cursor continues to another result page.

end_of_paginationbooleanoptional

True for the worker’s terminal response when the cursor request parameter is the literal string null; omitted on ordinary source result pages.

Returned records in source order.

up to 40 items

items.idinteger

Numeric Cosmos collection ID.

≥ 0

items.namestring

Collection name.

items.slugstring

Collection URL slug.

items.descriptionstringnullable

Published collection description, or null.

items.urlstring

Canonical public collection URL.

absolute HTTPS URL

items.cover_image_urlstringnullable

Published cover image URL, or null.

items.post_countintegernullable

Published saved-element count, or null.

≥ 0

items.follower_countintegernullable

Published collection follower count, or null.

≥ 0

Public collection owner details.

items.owner.idinteger

Numeric Cosmos owner ID.

≥ 0

items.owner.usernamestring

Owner’s Cosmos username.

items.owner.full_namestringnullable

Owner’s published display name, or null.

items.owner.avatar_urlstringnullable

Owner’s public avatar URL, or null.

total_countintegernullable

Published total saved-element or collection count, or null.

≥ 0

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.