# Cosmos Profile API. Send a handle or profile link.

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

Exact followers, elements and collections. We handle the proxies, blocks and platform changes.

[Get API key](https://socialtap.dev/signup/?next=%2Fdashboard%2Fplayground%2F%3Fendpoint%3Dcosmos.profile)

[In your agent: **Cosmos MCP server** →](https://socialtap.dev/mcp/cosmos/index.md)

## Cosmos Profile API at a glance

Returns a public Cosmos account from its username, profile link, brand page or ID. It has exact follower, following, element and collection counts, the bio, picture, website and linked accounts, and whether it is a verified brand or a Premium member. An account Cosmos doesn't have is a not_found error.

GET `/v1/cosmos/profile`

[Read the API reference](https://socialtap.dev/docs/reference/cosmos/profile/index.md)

- **1 credit** per request, $0.75–$1.97 per 1,000 requests
- **19 typed fields** null when unknown
- **`handle`** is all it needs, e.g. `joris.kahl`
- **100 credits** free when you sign up, no card, so you can build before you spend

## Send one request. Get 19 fields back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

`$ npm install socialtap`

`handle = joris.kahl`

[Open in playground](https://socialtap.dev/playground/?endpoint=cosmos.profile)

cURL:

```shell
curl 'https://socialtap.dev/v1/cosmos/profile?handle=joris.kahl' \
  -H "x-api-key: $SOCIALTAP_API_KEY"
```

TypeScript SDK:

```typescript
// Save this as app.mjs (an ES module) and run: node app.mjs
import { SocialTap } from "socialtap";

const client = new SocialTap(); // apiKey defaults to process.env.SOCIALTAP_API_KEY

const res = await client.cosmos.profile.get({ handle: "joris.kahl" });
console.log(res.data);
console.log(res.credits.charged, res.meta.request_id);
```

Python SDK:

```python
from socialtap import SocialTap

client = SocialTap()  # api_key defaults to os.environ["SOCIALTAP_API_KEY"]

res = client.cosmos.profile.get(handle="joris.kahl")
print(res.data)
print(res.credits.charged, res.meta.request_id)
```

Go SDK:

```go
package main

import (
	"context"
	"fmt"
	"log"

	socialtap "socialtap.dev/sdk/go"
)

func main() {
	ctx := context.Background()
	client, err := socialtap.NewClient() // the API key defaults to $SOCIALTAP_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	res, err := client.Cosmos.Profile.Get(ctx, socialtap.CosmosProfileParams{Handle: "joris.kahl"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(res.Data)
	fmt.Println(res.Credits.Charged, res.Meta.RequestID)
}
```

200 OK:

```json
{
  "data": {
    "approximate_fields": [],
    "avatar_url": "https://cdn.cosmos.so/29346e3f-2124-4aa2-a1a3-cff02cd1ce56",
    "banner_url": null,
    "bio": "COSMOS aka my second brain",
    "category": null,
    "country_code": null,
    "created_at": null,
    "display_name": "Joris Kahl",
    "external_links": [
      {
        "title": null,
        "url": "https://joriskahl.de"
      },
      {
        "title": null,
        "url": "https://www.instagram.com/joris.kahl"
      },
      {
        "title": null,
        "url": "https://www.tiktok.com/@joris.kahl"
      }
    ],
    "id": "2059029120",
    "is_private": null,
    "is_verified": false,
    "location": null,
    "metrics": {
      "follower_count": 5,
      "following_count": 6,
      "post_count": 3397,
      "total_like_count": null,
      "total_view_count": null
    },
    "platform": "cosmos",
    "platform_specific": {
      "cosmos": {
        "brand_post_count": null,
        "brand_url": null,
        "followed_playlist_count": 7,
        "is_premium": true,
        "playlist_count": 129
      }
    },
    "type": "unknown",
    "unknown_fields": [],
    "url": "https://www.cosmos.so/joris.kahl",
    "username": "joris.kahl"
  },
  "meta": {
    "request_id": "req_3f9c2a7d1e8b4c6a9f0e2d4b6a8c0e1f",
    "platform": "cosmos",
    "source": "api",
    "is_cached": false,
    "credits_charged": 1,
    "latency_ms": 1000,
    "fetched_at": "2026-10-25T12:00:00Z",
    "input": {
      "kind": "profile",
      "id": "2059029120",
      "url": "https://www.cosmos.so/joris.kahl"
    },
    "credits_remaining": 9999,
    "client_request_id": null,
    "warnings": []
  }
}
```

## One schema on 30 platforms.

The [response reference](https://socialtap.dev/docs/reference/cosmos/profile/index.md#response) lists every field, its type and when it is `null`. [See the full schema](https://socialtap.dev/resources/profile/index.md).

- ### Null means unknown

  A field Cosmos doesn't show is null, never zero or an empty string, so a real zero always means zero.
- ### What it accepts

  The Cosmos account: its username, a link to its profile or a tab of it, a brand page (cosmos.so/brand/\<name>, or brand/\<name>), or its numeric ID.
- ### Write one parser

  Cosmos, TikTok, Instagram and 27 more platforms answer in these fields, so the code that reads one reads them all.

- **`platform`string**: Platform ID (tiktok, youtube, …).
- **`platform`string**: In the example `"cosmos"`
- **`id`string**: Platform-native account ID (string), exactly as the platform writes it, its prefix included.
- **`id`string**: In the example `"2059029120"`
- **`username`string**: Handle without the @; null when the account has none.
- **`username`string**: In the example `"joris.kahl"`
- **`display_name`string**: Display name, channel title or page name; null when empty or not exposed.
- **`display_name`string**: In the example `"Joris Kahl"`
- **`url`string**: Canonical profile URL.
- **`url`string**: In the example `"https://www.cosmos.so/joris.kahl"`
- **`type`string**: Coarse account kind, as the platform labels it; unknown when it does not. New values may be added; treat unknown values as unknown.
- **`type`string**: In the example `"unknown"`
- **`bio`string**: Profile bio, channel description or page about text; null when empty or not exposed.
- **`bio`string**: In the example `"COSMOS aka my second brain"`
- **`avatar_url`string**: Profile picture URL (largest available). Platform CDN URLs can expire within hours.
- **`avatar_url`string**: In the example `"https://cdn.cosmos.so/29346e3f-2124-4aa2-a1a3-cff02cd1ce56"`

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 teams build with the Cosmos Profile API.

- ### Track a curator's audience on Cosmos

  Store follower_count, post_count and playlist_count from the same usernames each week, to chart which curators and studios grow.
- ### Find the creator behind a Cosmos account

  external_links has the website and the Instagram, X and TikTok accounts the profile links, so you can reach a designer or studio elsewhere.
- ### Tell brands from people

  type is organization for a brand Cosmos verified, with its brand page in platform_specific.cosmos.brand_url, to sort a list of accounts into brands and individuals.

## Good to know before you build.

- metrics.post_count counts the account's public elements, the saved pictures, videos and links its page shows.
- platform_specific.cosmos.playlist_count counts public collections only: private ones are left out.
- type is organization for a brand Cosmos verified and unknown for every other account, since Cosmos labels no other kind.

## 1 credit per request. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

[Plans and packs](https://socialtap.dev/pricing/index.md) · [How this endpoint is priced](https://socialtap.dev/docs/reference/cosmos/profile/index.md#pricing) · [How credits work](https://socialtap.dev/docs/credits/index.md)

| Source | Price per successful request | Per 1,000 requests |
| --- | --- | --- |
| Platform API `api` | 1 credit | $0.75–$1.97 |
| Public page `page` | 1 credit | $0.75–$1.97 |

- Cache hits are free.
- Credits from packs and top-ups never expire.
- A monthly plan's credits are spent first, and what is left of them ends at each renewal.
- Prices exclude tax: sales tax is added at checkout where it applies.
- Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

## Questions about the Cosmos Profile API.

More in the [API reference](https://socialtap.dev/docs/reference/cosmos/profile/index.md).

**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 it return the account's elements or collections?**

No. It returns the account itself with its counts; its elements and its collections each have an endpoint of their own, page by page.

**How much does the Cosmos Profile API cost?**

A request costs 1 credit. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

Other platforms

## Profiles on 29 more platforms.

- [TikTok Profile API](https://socialtap.dev/apis/tiktok/profile/index.md) (1 credit · `GET /v1/tiktok/profile`)
- [Instagram Profile API](https://socialtap.dev/apis/instagram/profile/index.md) (1 credit · `GET /v1/instagram/profile`)
- [Facebook Profile API](https://socialtap.dev/apis/facebook/profile/index.md) (1 credit · `GET /v1/facebook/profile`)
- [YouTube Channel API](https://socialtap.dev/apis/youtube/profile/index.md) (1 credit · `GET /v1/youtube/profile`)
- [Reddit Profile API](https://socialtap.dev/apis/reddit/profile/index.md) (1 credit · `GET /v1/reddit/profile`)
- [Threads Profile API](https://socialtap.dev/apis/threads/profile/index.md) (1 credit · `GET /v1/threads/profile`)
- [GitHub Profile API](https://socialtap.dev/apis/github/profile/index.md) (1 credit · `GET /v1/github/profile`)
- [LinkedIn Profile API](https://socialtap.dev/apis/linkedin/profile/index.md) (From 1 credit · `GET /v1/linkedin/profile`)
- [X (Twitter) Profile API](https://socialtap.dev/apis/x/profile/index.md) (1 credit · `GET /v1/x/profile`)
- [Spotify Artist API](https://socialtap.dev/apis/spotify/artist/index.md) (1 credit · `GET /v1/spotify/artist`)
- [Hacker News User API](https://socialtap.dev/apis/hackernews/user/index.md) (1 credit · `GET /v1/hackernews/user`)
- [Amazon Shop API](https://socialtap.dev/apis/amazon/shop/index.md) (1 credit · `GET /v1/amazon/shop`)
- [Apple Music Artist API](https://socialtap.dev/apis/applemusic/artist/index.md) (1 credit · `GET /v1/applemusic/artist`)
- [Pinterest Profile API](https://socialtap.dev/apis/pinterest/profile/index.md) (1 credit · `GET /v1/pinterest/profile`)
- [Rumble Channel API](https://socialtap.dev/apis/rumble/profile/index.md) (1 credit · `GET /v1/rumble/profile`)
- [Bluesky Profile API](https://socialtap.dev/apis/bluesky/profile/index.md) (1 credit · `GET /v1/bluesky/profile`)
- [Twitch Profile API](https://socialtap.dev/apis/twitch/profile/index.md) (1 credit · `GET /v1/twitch/profile`)
- [Telegram Channel API](https://socialtap.dev/apis/telegram/channel/index.md) (1 credit · `GET /v1/telegram/channel`)
- [Kwai Profile API](https://socialtap.dev/apis/kwai/profile/index.md) (1 credit · `GET /v1/kwai/profile`)
- [Snapchat Profile API](https://socialtap.dev/apis/snapchat/profile/index.md) (1 credit · `GET /v1/snapchat/profile`)
- [SoundCloud Artist API](https://socialtap.dev/apis/soundcloud/artist/index.md) (1 credit · `GET /v1/soundcloud/artist`)
- [Truth Social Profile API](https://socialtap.dev/apis/truthsocial/profile/index.md) (1 credit · `GET /v1/truthsocial/profile`)
- [Komi Page API](https://socialtap.dev/apis/komi/page/index.md) (1 credit · `GET /v1/komi/page`)
- [Lnk.Bio Profile API](https://socialtap.dev/apis/linkbio/profile/index.md) (1 credit · `GET /v1/linkbio/profile`)
- [Linkme Profile API](https://socialtap.dev/apis/linkme/profile/index.md) (1 credit · `GET /v1/linkme/profile`)
- [Linktree Profile API](https://socialtap.dev/apis/linktree/profile/index.md) (1 credit · `GET /v1/linktree/profile`)
- [Pillar Page API](https://socialtap.dev/apis/pillar/page/index.md) (1 credit · `GET /v1/pillar/page`)
- [Facebook Ad Library Advertiser API](https://socialtap.dev/apis/facebook/advertiser/index.md) (1 credit · `GET /v1/facebook/advertiser`)
- [Google Ads Transparency Center Advertiser API](https://socialtap.dev/apis/google/advertiser/index.md) (1 credit · `GET /v1/google/advertiser`)

More Cosmos

## Cosmos API. 8 endpoints, one key.

- [Cosmos Post API](https://socialtap.dev/apis/cosmos/post/index.md) (1 credit · `GET /v1/cosmos/post`)
- [Cosmos Posts API](https://socialtap.dev/apis/cosmos/posts/index.md) (1 credit / page · `GET /v1/cosmos/posts`)
- [Cosmos Search API](https://socialtap.dev/apis/cosmos/search-posts/index.md) (1 credit / page · `GET /v1/cosmos/search_posts`)
- [Cosmos Collection Posts API](https://socialtap.dev/apis/cosmos/collection-posts/index.md) (1 credit / page · `GET /v1/cosmos/collection_posts`)
- [Cosmos Collection API](https://socialtap.dev/apis/cosmos/collection/index.md) (1 credit · `GET /v1/cosmos/collection`)
- [Cosmos Collections API](https://socialtap.dev/apis/cosmos/collections/index.md) (1 credit / page · `GET /v1/cosmos/collections`)
- [Cosmos Collection Search API](https://socialtap.dev/apis/cosmos/search-collections/index.md) (1 credit / page · `GET /v1/cosmos/search_collections`)

[All 8 Cosmos endpoints](https://socialtap.dev/apis/cosmos/index.md)

## Try it on an account you know.

Paste its handle or link in the playground, or copy the request into your code.

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/profile/) · [Docs index for AI agents](https://socialtap.dev/llms.txt) · [All docs in one file](https://socialtap.dev/llms-full.txt)
