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

Crisis post-mortem timeline

Crisis timeline: who said what first, per platform, with daily volume and sentiment. Metered.

GET /v1/prism/crisis-postmortemBeta35 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/prism/crisis-postmortem?brand=crowdstrike&window_start=2024-07-18",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 35 credits
{
"brand": "crowdstrike",
"window": {
"since": "2024-07-18",
"until": "2024-07-25"
},
"first_seen": {
"reddit": null,
"hackernews": null,
"bluesky": null,
"threads": null,
"youtube": null
},
"timeline": [],
"daily": [
{
"date": "2024-07-18",
"mentions": 0,
"engagement": 0,
"positive": 0,
"negative": 0,
"neutral": 0
},
{
"date": "2024-07-19",
"mentions": 0,
"engagement": 0,
"positive": 0,
"negative": 0,
"neutral": 0
},
"… 6 more"
],
"most_amplified": [],
"coverage": {
"rows_read": 0,
"earliest": null,
"latest": null
},
"legs": [
{
"key": "reddit#0",
"platform": "reddit",
"endpoint": "reddit.search.posts",
"status": "ok",
"credits": 2,
"ms": 0,
"error": null
},
{
"key": "hackernews#0",
"platform": "hackernews",
"endpoint": "hackernews.search.stories",
"status": "failed",
"credits": 0,
"ms": 0,
"error": {
"kind": "not_found",
"message": "That search does not exist."
}
},
"… 3 more"
],
"credits_used": 4,
"failed": [
"hackernews#0",
"bluesky#0"
]
}

Parameters

NameTypeDescription
brandquery · requiredstringBrand name. Example: crowdstrike.
window_startquery · requiredstringYYYY-MM-DD. Example: 2024-07-18.
window_endquerystringYYYY-MM-DD (default window_start + 7 days).
crisis_termsquerystringComma list, searched with the brand (outage, recall…).
platformsquerystring | string[]Platforms to search.
includequerystringNot used.
Status codes
StatusMeaning
200Timeline, first seen per platform, amplifiers.
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 has code, message, hint and retryable. All error codes

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.

Reddit, X and every other platform named here are trademarks of their owners. We are not affiliated with or endorsed by any of them.