100 free credits. No credit card required. Get a key

Cosmos API (beta)

Read public Cosmos data in one call: profiles, saved elements, collections and search. Responses come in Cosmos’s own JSON, over REST or MCP.

Endpoints
7
From
1 credit · $0.01
Failed calls
Refunded
Access
REST · MCP · SDK

Cosmos element API

Endpoint details →
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/cosmos/posts?url=https://www.cosmos.so/e/1565142027",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"__typename": "MediaElementTile",
"id": 1565142027,
"createdAt": "2026-05-05T21:42:10.754327Z",
"shareUrl": "https://www.cosmos.so/e/1565142027",
"ownerId": 1539668393,
"owner": {
"username": "tawarcuri",
"fullName": "tori arcuri"
},
"generatedCaption": null,
"source": {
"url": "https://www.pinterest.com/pin/698480223497014140/",
"isPublicDomain": false,
"author": {
"username": "jeffspinterest2",
"fullName": "jeffs",
"profileUrl": "https://www.pinterest.com/jeffspinterest2"
}
},
"media": {
"__typename": "StaticImage",
"url": "https://cdn.cosmos.so/c6053ba1-3d75-4611-8251-1bc4d4c495be",
"width": 1400,
"height": 1866,
"aiGenerated": false
},
"product": null,
"hasMoreMedia": false,
"multipleMedia": []
}

What people build with it

Social listening

Track mentions of a brand, product or topic as they post.

Creator research

Profiles, follower counts and recent posts for vetting.

Agent context

Give an AI agent what people are saying, with sources.

Pricing

Pay per call with credit packs that never expire, or keyless per call. No subscription. 100 free credits to start.

All packs →
ProviderPer 1,000Unit
Groundsocial$1.00 → $0.40standard calls; $0.01 per call keyless

Other providers’ prices from their public pages, in their own currency. A credit buys a different amount on each.

Cosmos API questions

Do I need a Cosmos account or API key?

No. Every call reads what Cosmos shows a logged-out visitor. You only need a Groundsocial API key, or none at all with pay-per-call.

How much does the Cosmos API cost?

From 1 credit per call. Credits cost $1.00 to $0.40 per 1,000 depending on the pack, or $0.01 per call keyless. Failed calls are refunded. You start with 100 free credits.

What format is the data in?

Responses come in Cosmos’s own JSON, not a lossy cross-platform schema, so field names match what Cosmos itself uses.

Can an AI agent use it?

Yes. Every Cosmos endpoint is an MCP tool (cosmos_post_get, …), and agents can sign themselves up with POST /v1/agent/signup.

Is it official?

No. Groundsocial is an independent API for public data. Cosmos is a trademark of Cosmos. We are not affiliated with or endorsed by Cosmos.