Get a Cosmos collection
Retrieve a collection’s name, description, cover image, owner, element and follower counts, and subcollections. Accept a collection or subcollection URL.
/v1/cosmos/clusterx-api-keyHeaders
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
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
https://www.cosmos.so/example/design-referencesNumeric Cosmos collection ID.
≥ 0
Collection name.
Collection URL slug.
Published collection description, or null.
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
Published cover image URL, or null.
Published saved-element count, or null.
≥ 0
Published collection follower count, or null.
≥ 0
Public collection owner details.
Numeric Cosmos owner ID.
≥ 0
Owner’s Cosmos username.
Owner’s published display name, or null.
Owner’s public avatar URL, or null.
Request correlation UUID.
Source request attempts, decoded bytes and elapsed milliseconds.
Number of upstream request attempts.
≥ 0
Decoded source bytes read during this request.
≥ 0
Elapsed request time in milliseconds.
≥ 0
True when usable data is returned; inspect status and coverage.
success or partial for usable data; failed or challenged for a failure response.
one of: success, partial
Canonical Cosmos URL for the requested profile, element, collection or search.
absolute HTTPS URL
UTC retrieval timestamp.
Returned-result coverage and extraction warnings.
Public Cosmos API data.
Whether the returned result has no reported omissions.
Warnings explaining partial results or truncated fields.
Public subcollections in source order.
up to 40 items
Numeric Cosmos collection ID.
≥ 0
Collection name.
Collection URL slug.
Published collection description, or null.
Canonical public collection URL.
absolute HTTPS URL
Published cover image URL, or null.
Published saved-element count, or null.
≥ 0
Published collection follower count, or null.
≥ 0
Public collection owner details.
Numeric Cosmos owner ID.
≥ 0
Owner’s Cosmos username.
Owner’s published display name, or null.
Owner’s public avatar URL, or null.
No fields match.
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.
| HTTP | failure.code | Meaning |
|---|---|---|
| 200 | partial | Usable data with media_incomplete, media_limit, restricted_subcollections_omitted, subcollections_incomplete, subcollection_limit or record_limit coverage warnings. |
| 400 | invalid_request | Missing, duplicate, malformed, unsafe or unsupported request parameters. |
| 401 | unauthorized | Missing or invalid service API key. |
| 403 | restricted_page | The requested Cosmos content is not publicly accessible. |
| 404 | not_found | The requested public profile, element or collection was not found. |
| 429 | upstream_rate_limited | Cosmos temporarily rate-limited retrieval. |
| 502 | upstream_challenged | Cosmos challenged retrieval. |
| 502 | upstream_error | Source retrieval could not complete. |
| 502 | unsupported_page | The source response was incomplete, mismatched or unsupported. |
| 502 | response_too_large payload_too_complex | Source data exceeded the byte or parsing limits. |
| 502 | unsafe_redirect request_limit | The source redirect or request sequence exceeded the accepted contract. |
| 503 | busy | All Cosmos retrieval slots are in use. |
| 504 | timeout | The total operation deadline expired. |