PulseEmetrics

Cosmos

7 endpoints. All requests need an x-api-key header.

GET/v1/cosmos/cluster

Collection

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

NameTypeDescription
urlrequiredstringPublic Cosmos collection URL. Example: https://www.cosmos.so/design/the-best-band-posters
freshbooleanSet 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())
GET/v1/cosmos/cluster/posts

Collection 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

NameTypeDescription
urlrequiredstringPublic Cosmos collection URL. Example: https://www.cosmos.so/design/the-best-band-posters
cursorstringPass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging.
freshbooleanSet 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())
GET/v1/cosmos/post

Post

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

NameTypeDescription
urlrequiredstringPublic Cosmos post URL. Example: https://www.cosmos.so/e/2107587668
freshbooleanSet 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())
GET/v1/cosmos/profile

Profile

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

NameTypeDescription
handlerequiredstringCosmos username without a profile URL. Example: design
freshbooleanSet 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())
GET/v1/cosmos/search

Search

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

NameTypeDescription
queryrequiredstringSearch text. Example: architecture
cursorstringPass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging.
freshbooleanSet 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())
GET/v1/cosmos/user/clusters

User 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

NameTypeDescription
handlerequiredstringCosmos username without a profile URL. Example: design
cursorstringPass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging.
freshbooleanSet 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())
GET/v1/cosmos/user/posts

User 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

NameTypeDescription
handlerequiredstringCosmos username without a profile URL. Example: design
cursorstringPass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging.
freshbooleanSet 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())