Cosmos
7 endpoints. All requests need an x-api-key header.
/v1/cosmos/clusterCollection
Get a public Cosmos collection with its owner, description, cover, counts, and public subcollections. Uses public Cosmos data. Private or login-restricted content is not available. Costs 1 credit per successful request, including native empty results. Scraper failures are not charged.
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
urlrequired | string | Public Cosmos collection URL. Example: https://www.cosmos.so/design/the-best-band-posters |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/cosmos/cluster?url=https%3A%2F%2Fwww.cosmos.so%2Fdesign%2Fthe-best-band-posters" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/cosmos/cluster?url=https%3A%2F%2Fwww.cosmos.so%2Fdesign%2Fthe-best-band-posters", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/cosmos/cluster",
params={"url": "https://www.cosmos.so/design/the-best-band-posters"},
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())/v1/cosmos/cluster/postsCollection Posts
Get public posts saved to a Cosmos collection. Supports cursor pagination. Uses public Cosmos data. Private or login-restricted content is not available. Costs 1 credit per successful request, including native empty results. Scraper failures are not charged. Sending cursor=null returns end_of_pagination: true and costs zero credits.
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
urlrequired | string | Public Cosmos collection URL. Example: https://www.cosmos.so/design/the-best-band-posters |
cursor | string | Pass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging. |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/cosmos/cluster/posts?url=https%3A%2F%2Fwww.cosmos.so%2Fdesign%2Fthe-best-band-posters&cursor=value" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/cosmos/cluster/posts?url=https%3A%2F%2Fwww.cosmos.so%2Fdesign%2Fthe-best-band-posters&cursor=value", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/cosmos/cluster/posts",
params={"url": "https://www.cosmos.so/design/the-best-band-posters", "cursor": "value"},
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())/v1/cosmos/postPost
Get a public Cosmos post with media URLs, captions, source links, and save count. Uses public Cosmos data. Private or login-restricted content is not available. Costs 1 credit per successful request, including native empty results. Scraper failures are not charged.
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
urlrequired | string | Public Cosmos post URL. Example: https://www.cosmos.so/e/2107587668 |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/cosmos/post?url=https%3A%2F%2Fwww.cosmos.so%2Fe%2F2107587668" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/cosmos/post?url=https%3A%2F%2Fwww.cosmos.so%2Fe%2F2107587668", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/cosmos/post",
params={"url": "https://www.cosmos.so/e/2107587668"},
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())/v1/cosmos/profileProfile
Get a public Cosmos profile with bio, links, and follower counts. Public data only. One credit per successful request, including successful empty results.
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
handlerequired | string | Cosmos username without a profile URL. Example: design |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/cosmos/profile?handle=design" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/cosmos/profile?handle=design", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/cosmos/profile",
params={"handle": "design"},
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())/v1/cosmos/searchSearch
Search public Cosmos posts by keyword. Cosmos may return related posts even when there is no exact keyword match. Public data only. One credit per successful request, including successful empty results. Keep the cursor unchanged and stop when has_more is false. result_count is Cosmos’s search retrieval-window count, not the total number of matching posts. Sending cursor=null returns end_of_pagination: true and costs zero credits.
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
queryrequired | string | Search text. Example: architecture |
cursor | string | Pass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging. |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/cosmos/search?query=architecture&cursor=value" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/cosmos/search?query=architecture&cursor=value", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/cosmos/search",
params={"query": "architecture", "cursor": "value"},
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())/v1/cosmos/user/clustersUser Collections
Get the public collections owned by a Cosmos user. Public data only. One credit per successful request, including successful empty results. Keep the cursor unchanged and stop when has_more is false. Sending cursor=null returns end_of_pagination: true and costs zero credits.
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
handlerequired | string | Cosmos username without a profile URL. Example: design |
cursor | string | Pass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging. |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/cosmos/user/clusters?handle=design&cursor=value" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/cosmos/user/clusters?handle=design&cursor=value", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/cosmos/user/clusters",
params={"handle": "design", "cursor": "value"},
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())/v1/cosmos/user/postsUser Posts
Get the public posts saved to a Cosmos user profile. Public data only. One credit per successful request, including successful empty results. Keep the cursor unchanged and stop when has_more is false. Sending cursor=null returns end_of_pagination: true and costs zero credits.
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
handlerequired | string | Cosmos username without a profile URL. Example: design |
cursor | string | Pass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging. |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/cosmos/user/posts?handle=design&cursor=value" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/cosmos/user/posts?handle=design&cursor=value", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/cosmos/user/posts",
params={"handle": "design", "cursor": "value"},
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())