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

What people say about working at a company: a Go tutorial

What people say about working at a company, across Reddit, Hacker News, YouTube and LinkedIn. Metered.

The examples use only the standard library (net/http, encoding/json) and decode into a struct that names just the fields they read.

GET /v1/prism/employer-brand30 credits per callRefunded on failureBeta

Before you start

  1. Get an API keySign up for 100 free credits, no card. Keys start with gs_live_.
  2. Put it in the environmentEvery example reads it from GROUNDSOCIAL_API_KEY: export GROUNDSOCIAL_API_KEY=gs_live_…
  3. Set up Gogo mod init example

Call What people say about working at a company from Go

GET /v1/prism/employer-brand. Save this as main.go and run go run main.go. It reads the items in themes and prints term and count for each.

main.go
package main

import (
	"encoding/json"
	"fmt"
	"log"
	"net/http"
	"net/url"
	"os"
	"time"
)

// The fields this program reads, as the recorded response has them.
type Page struct {
	Themes []struct {
		Term  string  `json:"term"`
		Count float64 `json:"count"`
	} `json:"themes"`
}

var client = &http.Client{Timeout: 60 * time.Second}

func fetch(q url.Values) (*Page, error) {
	req, err := http.NewRequest("GET", "https://api.groundsocial.dev/v1/prism/employer-brand"+"?"+q.Encode(), nil)
	if err != nil {
		return nil, err
	}
	req.Header.Set("Authorization", "Bearer "+os.Getenv("GROUNDSOCIAL_API_KEY"))
	res, err := client.Do(req)
	if err != nil {
		return nil, err
	}
	defer res.Body.Close()
	if res.StatusCode != http.StatusOK {
		var e struct {
			Error struct {
				Code      string `json:"code"`
				Hint      string `json:"hint"`
				Retryable bool   `json:"retryable"`
			} `json:"error"`
		}
		json.NewDecoder(res.Body).Decode(&e)
		return nil, fmt.Errorf("%s: %s", e.Error.Code, e.Error.Hint)
	}
	var page Page
	if err := json.NewDecoder(res.Body).Decode(&page); err != nil {
		return nil, err
	}
	return &page, nil
}

func main() {
	q := url.Values{}
	q.Set("company", "stripe")
	page, err := fetch(q)
	if err != nil {
		log.Fatal(err)
	}
	for _, item := range page.Themes {
		fmt.Println(item.Term, item.Count)
	}
}

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.

200 OK
{
  "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&#x27;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

NameInTypeDescription
company (required)querystringCompany name. Example: stripe.
linkedin_urlquerystringThe LinkedIn company link or slug.
surfacesquerystring | string[]Default reddit, hackernews, youtube, linkedin.
phrasesquerystringComma list replacing the default phrases.
timeframequery"month" | "year" | "all"Default year. One of month, year, all.
date_fromquerystringOverrides timeframe.
date_toquerystringOverrides 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.

Errors
// fetch returns the API error as "code: hint". To retry the retryable ones
// (rate_limited, upstream_timeout), wait for Retry-After and call again:
for attempt := 0; attempt < 3; attempt++ {
	page, err = fetch(q)
	if err == nil {
		break
	}
	time.Sleep(2 * time.Second)
}
StatusMeaning
200Sentiment, themes, threads, company page.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404Nothing was found for that input on any platform.
429Too many requests. Wait for Retry-After seconds.
503Prism composites is temporarily unavailable. Retryable; nothing was charged.

Every error code and what to do about it.

Pricing

Cost
Per callup 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 callRefunded, 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:

bash
claude mcp add --transport http groundsocial https://api.groundsocial.dev/mcp

Then 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:

json
{
  "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

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.