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

> Setting SocialTap up for your user? Follow https://socialtap.dev/setup.md.

[APIs](https://socialtap.dev/apis/index.md)**Cosmos**

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.

[Start for free](https://socialtap.dev/signup/)

GET socialtap.dev/v1/cosmos/post

Live data from 38 platforms.

[TikTok](https://socialtap.dev/apis/tiktok/index.md) · [Instagram](https://socialtap.dev/apis/instagram/index.md) · [Facebook](https://socialtap.dev/apis/facebook/index.md) · [YouTube](https://socialtap.dev/apis/youtube/index.md) · [Reddit](https://socialtap.dev/apis/reddit/index.md) · [Threads](https://socialtap.dev/apis/threads/index.md) · [GitHub](https://socialtap.dev/apis/github/index.md) · [LinkedIn](https://socialtap.dev/apis/linkedin/index.md) · [X](https://socialtap.dev/apis/x/index.md) · [Spotify](https://socialtap.dev/apis/spotify/index.md) · [Hacker News](https://socialtap.dev/apis/hackernews/index.md) · [Amazon](https://socialtap.dev/apis/amazon/index.md) · [Apple Music](https://socialtap.dev/apis/applemusic/index.md) · [Fandom](https://socialtap.dev/apis/fandom/index.md) · [Pinterest](https://socialtap.dev/apis/pinterest/index.md) · [Cosmos](https://socialtap.dev/apis/cosmos/index.md) · [Rumble](https://socialtap.dev/apis/rumble/index.md) · [Bluesky](https://socialtap.dev/apis/bluesky/index.md) · [Twitch](https://socialtap.dev/apis/twitch/index.md) · [Telegram](https://socialtap.dev/apis/telegram/index.md) · [TikTok Shop](https://socialtap.dev/apis/tiktokshop/index.md) · [Kwai](https://socialtap.dev/apis/kwai/index.md) · [Snapchat](https://socialtap.dev/apis/snapchat/index.md) · [SoundCloud](https://socialtap.dev/apis/soundcloud/index.md) · [Truth Social](https://socialtap.dev/apis/truthsocial/index.md) · [Kick](https://socialtap.dev/apis/kick/index.md) · [Komi](https://socialtap.dev/apis/komi/page/index.md) · [Lnk.Bio](https://socialtap.dev/apis/linkbio/profile/index.md) · [Linkme](https://socialtap.dev/apis/linkme/profile/index.md) · [Linktree](https://socialtap.dev/apis/linktree/profile/index.md) · [Pillar](https://socialtap.dev/apis/pillar/page/index.md) · [Yelp](https://socialtap.dev/apis/yelp/search-businesses/index.md) · [TikTok Ad Library](https://socialtap.dev/apis/tiktok-ad-library/index.md) · [Facebook Ad Library](https://socialtap.dev/apis/facebook-ad-library/index.md) · [Facebook Events](https://socialtap.dev/apis/facebook-events/index.md) · [Facebook Marketplace](https://socialtap.dev/apis/facebook-marketplace/index.md) · [Google Ads Transparency Center](https://socialtap.dev/apis/google-ads-transparency/index.md) · [LinkedIn Ad Library](https://socialtap.dev/apis/linkedin-ad-library/index.md)

## 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](https://socialtap.dev/mcp/cosmos/index.md)

- Posts 3
- Profile 1
- Search 2
- Collections 2

### Posts

- - [Post Cosmos Post API Saved element with every file, source and saves 1 credit$0.75–$1.97 per 1,000 requests`GET /v1/cosmos/post`](https://socialtap.dev/apis/cosmos/post/index.md)
- - [Post Cosmos Posts API Every saved image, video and link of an account 1 credit / page$0.75–$1.97 per 1,000 pages`GET /v1/cosmos/posts`](https://socialtap.dev/apis/cosmos/posts/index.md)
- - [Post Cosmos Collection Posts API Elements in a collection with files and sources 1 credit / page$0.75–$1.97 per 1,000 pages`GET /v1/cosmos/collection_posts`](https://socialtap.dev/apis/cosmos/collection-posts/index.md)

### Profile

- - [Profile Cosmos Profile API Exact followers, elements and collections 1 credit$0.75–$1.97 per 1,000 requests`GET /v1/cosmos/profile`](https://socialtap.dev/apis/cosmos/profile/index.md)

### Search

- - [Playlist Cosmos Collection Search API Collections by keyword with exact counts 1 credit / page$0.75–$1.97 per 1,000 pages`GET /v1/cosmos/search_collections`](https://socialtap.dev/apis/cosmos/search-collections/index.md)
- - [Post Cosmos Search API Saved pictures, videos and products by keyword 1 credit / page$0.75–$1.97 per 1,000 pages`GET /v1/cosmos/search_posts`](https://socialtap.dev/apis/cosmos/search-posts/index.md)

### Collections

- - [Playlist Cosmos Collection API Collection with exact elements and followers 1 credit$0.75–$1.97 per 1,000 requests`GET /v1/cosmos/collection`](https://socialtap.dev/apis/cosmos/collection/index.md)
- - [Playlist Cosmos Collections API Every public collection of an account 1 credit / page$0.75–$1.97 per 1,000 pages`GET /v1/cosmos/collections`](https://socialtap.dev/apis/cosmos/collections/index.md)

## 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/post`[Docs](https://socialtap.dev/apis/cosmos/post/index.md)

## Other platforms, same key.

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

- - [31 endpointsTikTokPosts, profiles, comments, hashtags and 7 more](https://socialtap.dev/apis/tiktok/index.md)
- - [29 endpointsInstagramPosts, profiles, comments, hashtags and 9 more](https://socialtap.dev/apis/instagram/index.md)
- - [14 endpointsFacebookPosts, comments, profiles, transcripts and 2 more](https://socialtap.dev/apis/facebook/index.md)
- - [21 endpointsYouTubePosts, playlists, profiles, comments and 3 more](https://socialtap.dev/apis/youtube/index.md)
- - [13 endpointsRedditPosts, comments, profiles, subreddits and 2 more](https://socialtap.dev/apis/reddit/index.md)
- - [6 endpointsThreadsPosts, profiles and comments](https://socialtap.dev/apis/threads/index.md)
- - [20 endpointsGitHubProfiles, repositories, issues, comments and 4 more](https://socialtap.dev/apis/github/index.md)
- - [19 endpointsLinkedInPosts, profiles, jobs, comments and 3 more](https://socialtap.dev/apis/linkedin/index.md)
- - [17 endpointsXPosts, profiles, comments, transcripts and 5 more](https://socialtap.dev/apis/x/index.md)
- - [12 endpointsSpotifyTracks, artists, playlists, albums and 1 more](https://socialtap.dev/apis/spotify/index.md)
- - [11 endpointsHacker NewsStories, comments, users and jobs](https://socialtap.dev/apis/hackernews/index.md)
- - [10 endpointsAmazonProducts, profiles, posts, playlists and 2 more](https://socialtap.dev/apis/amazon/index.md)
- - [10 endpointsApple MusicTracks, albums, artists and playlists](https://socialtap.dev/apis/applemusic/index.md)
- - [10 endpointsFandomPosts, wiki pages, comments, wikis and 1 more](https://socialtap.dev/apis/fandom/index.md)
- - [10 endpointsPinterestPins, boards, profiles, topics and 2 more](https://socialtap.dev/apis/pinterest/index.md)
- - [7 endpointsRumblePosts, profiles, comments, transcripts and 1 more](https://socialtap.dev/apis/rumble/index.md)
- - [5 endpointsBlueskyPosts, profiles and comments](https://socialtap.dev/apis/bluesky/index.md)
- - [5 endpointsTwitchVideos, profiles, transcripts and livestreams](https://socialtap.dev/apis/twitch/index.md)
- - [4 endpointsTelegramPosts and channels](https://socialtap.dev/apis/telegram/index.md)
- - [4 endpointsTikTok ShopProducts and reviews](https://socialtap.dev/apis/tiktokshop/index.md)
- - [3 endpointsKwaiPosts and profiles](https://socialtap.dev/apis/kwai/index.md)
- - [3 endpointsSnapchatSpotlights, profiles and comments](https://socialtap.dev/apis/snapchat/index.md)
- - [3 endpointsSoundCloudTracks and artists](https://socialtap.dev/apis/soundcloud/index.md)
- - [3 endpointsTruth SocialPosts and profiles](https://socialtap.dev/apis/truthsocial/index.md)
- - [2 endpointsKickPosts and transcripts](https://socialtap.dev/apis/kick/index.md)
- - [1 endpointKomiPages](https://socialtap.dev/apis/komi/page/index.md)
- - [1 endpointLnk.BioProfiles](https://socialtap.dev/apis/linkbio/profile/index.md)
- - [1 endpointLinkmeProfiles](https://socialtap.dev/apis/linkme/profile/index.md)
- - [1 endpointLinktreeProfiles](https://socialtap.dev/apis/linktree/profile/index.md)
- - [1 endpointPillarPages](https://socialtap.dev/apis/pillar/page/index.md)
- - [1 endpointYelpWeb results](https://socialtap.dev/apis/yelp/search-businesses/index.md)
- - [3 endpointsTikTok Ad LibraryAds](https://socialtap.dev/apis/tiktok-ad-library/index.md)
- - [6 endpointsFacebook Ad LibraryAds, advertisers and transcripts](https://socialtap.dev/apis/facebook-ad-library/index.md)
- - [4 endpointsFacebook EventsEvents](https://socialtap.dev/apis/facebook-events/index.md)
- - [3 endpointsFacebook MarketplaceListings and places](https://socialtap.dev/apis/facebook-marketplace/index.md)
- - [6 endpointsGoogle Ads Transparency CenterAds and advertisers](https://socialtap.dev/apis/google-ads-transparency/index.md)
- - [2 endpointsLinkedIn Ad LibraryAds](https://socialtap.dev/apis/linkedin-ad-library/index.md)

## Frequently asked questions

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

[Contact us](mailto:support@socialtap.dev)

**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](https://socialtap.dev/signup/) [Read the docs](https://socialtap.dev/docs/index.md)

---

[HTML version](https://socialtap.dev/apis/cosmos/) · [Docs index for AI agents](https://socialtap.dev/llms.txt) · [All docs in one file](https://socialtap.dev/llms-full.txt)
