Is demand for something rising
Demand nowcast for a keyword: mention velocity, app review velocity, Amazon search. Metered.
GET /v1/prism/demand-signalsBeta30 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/prism/demand-signals?keyword=air%20fryer",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 30 credits{ "keyword": "air fryer", "window": { "since": "2026-10-28", "until": "2026-11-27" }, "overall_slope": 0, "reading": "flat", "signals": [ { "signal": "reddit", "in_window": 0, "earlier": 0, "recent": 0, "slope": 0 }, { "signal": "amazon", "results": null, "median_ratings_of_top": 7700, "slope": null } ], "legs": [ { "key": "reddit", "platform": "reddit", "endpoint": "reddit.search.posts", "status": "ok", "credits": 2, "ms": 0, "error": null }, { "key": "bluesky", "platform": "bluesky", "endpoint": "bluesky.search.posts", "status": "failed", "credits": 0, "ms": 0, "error": { "kind": "not_found", "message": "Bluesky has nothing at that address." } }, "… 2 more" ], "credits_used": 3, "failed": [ "bluesky", "hackernews" ]}Parameters
| Name | Type | Description |
|---|---|---|
keywordquery · required | string | Product, category or term. Example: air fryer. |
google_play_idquery | string | An Android app to read review velocity from. |
app_store_idquery | string | An iOS app to read review velocity from. |
amazon_queryquery | string | Amazon search (default the keyword). |
signalsquery | string | string[] | reddit, bluesky, hackernews, apps, amazon (default all that apply). |
countryquery | string | Store and marketplace country. |
date_fromquery | string | YYYY-MM-DD (default 30 days ago). |
date_toquery | string | YYYY-MM-DD (default today). |
depthquery | string | Not used. |
Status codes
| Status | Meaning |
|---|---|
200 | Each signal with its slope, and an overall reading. |
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 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.