Before you start
- Get an API keySign up for 100 free credits, no card. Keys start with
gs_live_. - Put it in the environmentEvery example reads it from
GROUNDSOCIAL_API_KEY:export GROUNDSOCIAL_API_KEY=gs_live_… - Set up Python
pip install requests
Call What people say about working at a company from Python
GET /v1/prism/employer-brand. Save this as main.py and run python main.py. It reads the items in themes and prints term and count for each.
import os
import requests
API = "https://api.groundsocial.dev"
HEADERS = {"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"}
res = requests.get(
f"{API}/v1/prism/employer-brand",
params={"company": "stripe"},
headers=HEADERS,
timeout=60,
)
res.raise_for_status()
data = res.json()
for item in data["themes"]:
print(item.get("term"), item.get("count"))
print("credits charged:", res.headers["x-credits-charged"])The response
A real response to this call, recorded from the live API on 27 Nov 2026 and shortened for display: arrays keep their first items and … marks every cut. The recorded page had 20 items in themes. Live calls return current data in the same shape.
{
"company": "stripe",
"window": {
"since": "2025-11-26",
"until": null
},
"mentions": 224,
"sentiment": {
"positive": 44,
"negative": 16,
"neutral": 164,
"positive_share": 0.196,
"negative_share": 0.071,
"net": 0.125,
"method": "lexicon"
},
"themes": [
{
"term": "show",
"count": 39
},
{
"term": "how",
"count": 35
},
"… 18 more"
],
"by_platform": {
"reddit": 72,
"hackernews": 42,
"youtube": 110
},
"top_threads": [
{
"platform": "reddit",
"id": "1xl8on6",
"url": "https://www.reddit.com/r/leetcode/comments/1xl8on6/stripe_interview_experience/",
"title": "Stripe Interview Experience",
"text": null,
"author": "AJ_1212",
"author_name": null,
"author_id": null,
"created_at": "2026-11-01T17:18:42.000Z",
"likes": 377,
"comments": 118,
"shares": null,
"views": null,
"followers": null,
"…": "3 more fields"
},
{
"platform": "hackernews",
"id": "50634426",
"url": "https://news.ycombinator.com/item?id=50634426",
"title": "Launch HN: Versine (YC F26) – MCP to send and receive money",
"text": "Hey HN, we’re Harshith, Param, and Vishnu and we're building Versine (<a href=\"https:…",
"author": "harshithl1777",
"author_name": null,
"author_id": null,
"created_at": "2026-11-24T20:44:15.000Z",
"likes": 106,
"comments": 107,
"shares": null,
"views": null,
"followers": null,
"…": "3 more fields"
},
"… 13 more"
],
"linkedin_company": {
"universal_name": "stripe",
"page_type": "company",
"url": "https://www.linkedin.com/company/stripe",
"organization_id": "2135371",
"name": "Stripe",
"industry": "Technology, Information and Internet",
"location": "South San Francisco, California",
"description": "Stripe builds programmable financial services. Millions of companies—from the world’s larg…",
"website": "https://stripe.com",
"company_size": "5,001-10,000 employees",
"employee_count": 17094,
"employees_on_linkedin": 17094,
"headquarters": "South San Francisco, California",
"organization_type": "Privately Held",
"…": "13 more fields"
},
"legs": [
{
"key": "reddit#0",
"platform": "reddit",
"endpoint": "reddit.search.posts",
"status": "ok",
"credits": 2,
"ms": 4365,
"error": null
},
{
"key": "hackernews#0",
"platform": "hackernews",
"endpoint": "hackernews.search.stories",
"status": "ok",
"credits": 1,
"ms": 357,
"error": null
},
"… 11 more"
],
"credits_used": 21,
"failed": []
}Parameters
| Name | In | Type | Description |
|---|---|---|---|
company (required) | query | string | Company name. Example: stripe. |
linkedin_url | query | string | The LinkedIn company link or slug. |
surfaces | query | string | string[] | Default reddit, hackernews, youtube, linkedin. |
phrases | query | string | Comma list replacing the default phrases. |
timeframe | query | "month" | "year" | "all" | Default year. One of month, year, all. |
date_from | query | string | Overrides timeframe. |
date_to | query | string | Overrides timeframe. |
Errors and retries
Every error is JSON with error.code (stable: branch on it), message, hint (what to do next), docs_url and retryable. A failed call is never charged. Retry only when retryable is true, after the Retry-After header.
import os, time
import requests
def call(url, **kwargs):
headers = {"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"}
for attempt in range(3):
res = requests.get(url, headers=headers, timeout=60, **kwargs)
if res.ok:
return res.json()
err = res.json()["error"]
# Branch on the stable code; the hint says what to do next.
if err["retryable"] and attempt < 2:
time.sleep(int(res.headers.get("Retry-After", 2)))
continue
raise RuntimeError(f"{err['code']}: {err.get('hint', err['message'])}")
data = call("https://api.groundsocial.dev/v1/prism/employer-brand", params={"company": "stripe"})| Status | Meaning |
|---|---|
200 | Sentiment, themes, threads, company page. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | Nothing was found for that input on any platform. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Prism composites is temporarily unavailable. Retryable; nothing was charged. |
Every error code and what to do about it.
Pricing
| Cost | |
|---|---|
| Per call | up to 30 credits per call |
| 1,000 calls | $30.00 on the starter pack, $11.99 at volume |
| No key (MPP or x402) | $0.30 per call |
| Failed call | Refunded, never charged |
Every response has x-credits-charged and x-credits-remaining headers. Credits never expire. Packs and calculator.
From an AI agent (MCP)
The same call is the prism_employer_brand_get tool on the hosted MCP server, so Claude, Cursor or any MCP client can make it without code. Add the server once:
claude mcp add --transport http groundsocial https://api.groundsocial.dev/mcpThen ask for it in words (“What people say about working at a company, across Reddit, Hacker News, YouTube and LinkedIn. Metered”), or call the tool directly:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "prism_employer_brand_get",
"arguments": {
"company": "stripe"
}
}
}MCP setup for Claude Desktop, Cursor, VS Code and ChatGPT.
Recruiting research
Read themes and sentiment.
Questions
How is it charged?
Per platform that answers, at that platform’s own price, up to the ceiling shown. A platform that fails is listed in legs and not charged; if none answers, nothing is.
Keep going
- This call in JavaScript, TypeScript, Go, PHP, cURL.
- What people say about working at a company reference: every field and status code.
- Prism composites tutorials and all Python tutorials.
- Prism composites: every endpoint and price.
- Who mentions a handle or brand: a Python tutorial: Public posts that mention a handle, name or link, from the first page of each platform’s search. Metered.
- How to get brand mention volume and sentiment with Python: Brand mention series, sentiment split, top sources and recent mentions for one keyword. Metered.
- How to get share of voice across brands with Python: Engagement-weighted share of voice for 2-5 brands, with sentiment and ESOV. Metered.
- How to get people switching from a competitor with Python: Public posts where people look for alternatives to, or switch from, a competitor. Metered.
- How to get the questions your audience asks with Python: The questions a topic’s audience asks on Reddit, YouTube, Hacker News and Stack Overflow. Metered.
- How to get campaign lift for a hashtag with Python: A hashtag or phrase before, during and after a campaign: volume, lift, amplifiers. Metered.
Run it on your own data
One key for all 77 platforms, over REST or MCP. Free credits on signup, no card.
Each platform’s name is a trademark of its owner. We are not affiliated with or endorsed by any of them.