Introducing the Instagram APIRead more →

Cosmos API. Scrape live data from any public Cosmos link.

Get public posts, profiles and collections by link, handle or search, with posts in the same fields as on 23 other platforms. We handle the proxies, blocks and platform changes.

GET socialtap.dev/v1/cosmos/post

What Cosmos data can you get?

Cosmos profiles with their exact follower, following, element and collection counts, bio, links and brand page. Send a username, a profile link, a brand page or an account's ID. Elements (posts): the pictures, videos, products, links and notes people save, with every file, the source and its creator, the save count and who saved it. Collections, sub-collections too, with their owner, collaborators and exact element and follower counts, from a link or ID.

Cosmos MCP server

Posts

Call the Cosmos API from your code.

Copy the request for your language, or hand it to your agent.

Cosmos Post Try in
// Node 18+: save this as app.mjs (an ES module) and run: node app.mjs
const params = new URLSearchParams({
  url: "https://www.cosmos.so/e/547956585",
});
const res = await fetch(`https://socialtap.dev/v1/cosmos/post?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, meta } = body;
console.log(data, meta.credits_charged);
GET https://socialtap.dev/v1/cosmos/postDocs

Other platforms, same key.

Posts and profiles come back in the same fields wherever they're from.

Frequently asked questions

What you send, what comes back and how your agent uses it.

Contact us
Does the Cosmos Post API take a shop product's link?
Yes. cosmos.so/product/<brand>/<id> is the same element as cosmos.so/e/<id>, and the answer has the product's brand, prices and stock.
Can I look an account up by its brand page?
Yes. Send the brand page's link, such as cosmos.so/brand/acnestudios, or brand/acnestudios: a brand's page name can differ from its username, and the answer has both.
Does the Cosmos Collection API return the elements in the collection?
No. It returns the collection itself with its counts; the elements in it have an endpoint of their own, page by page.

Try it on a Cosmos link you have.

Get a key and send your first request in a minute. The same key works on every platform.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 310 endpoints
Start for free Read the docs