SocialCrawl

Listening

Insights (beta)

A listener's insights, summary, posts and comments with your API key, free to read

The insights routes give your code what a listener's dashboard page shows. They are in beta: the shape may change until general release. Every answer says so with "beta": true and "beta_version": "2026-12" in data, and the header X-SocialCrawl-Beta: insights. Reading them is free.

RouteWhat it answers
GET /v1/listening/streams/{id}/insightsThe headline with its change, sentiment over time, share of voice, themes, related and sentiment words, intents and questions from comments, platforms, spikes, issues, top posts and authors, and the data basis
GET /v1/listening/streams/{id}/insights/summaryThe three-sentence summary of what changed; summary=write writes it
GET /v1/listening/streams/{id}/insights/postsThe listener's posts for analysis, filtered and paged
GET /v1/listening/streams/{id}/insights/commentsThe comments on those posts, filtered and paged
cURL
curl "https://www.socialcrawl.dev/v1/listening/streams/lst_123/insights?days=7&tz=Asia/Seoul" \
  -H "x-api-key: $SOCIALCRAWL_API_KEY"

Which listeners

A key reads the insights of the listeners it can read with GET /v1/listening/streams/{id}. Any other listener answers 404 STREAM_NOT_FOUND, the same as Listening. Projects are not in this beta.

Keyword groups

A listener with several keyword groups gets its share of voice and its sentiment split by group. A post's sentiment is judged toward its first matching group. For sentiment per brand, use one listener per brand.

Periods

  • days=7, 30 or 90 (default 30): the N x 24 hours that end at the top of the current hour, against the N x 24 hours before. A steady stream of mentions shows no change at any hour of the day.
  • period=this_week or this_month: the week or month so far. Weeks run Monday to Sunday in tz. The week or month before is cut at the same point.
  • period=last_week or last_month: the whole one, against the whole one before.
  • period=range with from and to (dates, at most 400 days): compared with the equal window before it.
  • tz is an IANA time zone (default UTC). as_of in the answer is the top of the hour the figures stop at.
  • The daily series has a day for each date the window touches. The first and last can be part days: period.partial_dates lists them, and they are never called spikes.
  • platform narrows every block to one platform. naver takes Naver's blog, cafe, KnowledgeiN and news.

How sure a comparison is

Net sentiment on a few hundred posts moves by several points by chance. So the insights say how sure each figure is (beta):

  • Each brand in sentiment_by_member and each theme in aspects carries net_margin. It is the 95% margin of the net sentiment, in points of the ±100 score. It is null under 30 labelled posts.
  • net_comparison.brands has one entry per market, and net_comparison.themes one for the themes. Each says ahead with the leader only when its rounded lead is larger than both rounded margins added. Otherwise it says about_same, with no leader.

For example, three brands at +45, +43 and +44 on 420, 398 and 197 labelled posts have margins of about ±6, ±7 and ±9, so they are about_same.

The headline's net_sentiment carries positive, negative and labelled, each post counted once. Work out its margin the same way.

Sampled periods

A new listener's first period often holds a sample of posts from before listening started. period.sample_post_share is the share of the period's posts from those sampled days, from 0 to 1.

period.rank_off is true when the whole period is sampled (period.all_sample) or more than half its posts are. Such shares mostly show how far each listener's first check reached. So on such a period:

  • net_comparison names no brand ahead.
  • Each share-of-voice member keeps its share, with rank and previous_rank null.
  • The summary compares no shares.

Questions

questions lists every question the listener asks. Each carries two counts:

  • yes: the posts whose answer was yes.
  • asked: the posts the question was asked of, yes or no.

share is yes / asked, never a share of all posts, because a backfill asks only some of them. Under 30 posts asked, share is null and share_reason says why: not_asked or too_few_asked. answered is the same number as asked, kept for this beta.

questions_basis says which posts were asked, for example { "asked": 90, "from": "2026-11-30", "text": "Asked on 90 posts from 30/11/2026" }.

analysis_on says whether analysis is switched on in the listener's settings. Posts can be analysed with it off, by a one-off backfill.

The summary

The insights route never starts a model call. Its summary is the summary already written today, or status: "not_written".

To write one, call GET /v1/listening/streams/{id}/insights/summary?summary=write. It answers pending while the summary is being written; read the route again (without summary=write) for ready. Your account's keys can write 20 summaries a day, apart from what the dashboard writes. Past that, the answer is unavailable with reason: "daily_limit".

When the period has no posts and no comments, every summary answer is unavailable with reason: "no_mentions", on a read and on summary=write alike. Nothing is written and nothing is counted against the 20 a day, so do not ask for a write until the listener has mentions in the period.

Code fills every figure and name in the sentences, and a sentence with a figure the model wrote itself is dropped, so every number comes from the same counts as the rest of the answer.

Posts and comments

insights/posts and insights/comments page what the figures rest on, newest first. They take the dashboard data view's filters: platform, sentiment (a label, unlabelled or not_analysed), aspect, intent (comments only), language, country, phrase, from and to. The first page carries total, and raw_from says where held rows begin (30 days back).

  • A full walk: page with limit (up to 200) and cursor, sending each page's next_cursor. The cursor never repeats or skips a row while new rows arrive.
  • A jump: offset on the first page goes straight to a position, as the dashboard's scrollbar does. Offset pages shift when new rows arrive during a walk, so do not walk with it.

The pages count to now, but the insights headline counts to the top of the hour (as_of). A post from the current hour is already in total and not yet in the headline. For example, a listener whose posts page says total: 134 can show 133 mentions in its 30-day headline at 07:45, because one post arrived after 07:00. This is not a mismatch.

These routes are for analysis. To deliver new mentions to your system as they arrive, use the delivery feed, GET /v1/listening/streams/{id}/mentions.

Limits

These are heavy aggregate reads, so they have their own rate limit per key, apart from paid calls: 30 a minute. Past it, the answer is 429 RATE_LIMITED with Retry-After. Every answer carries X-Credits-Used: 0 and the rate limit headers.

On this page

Ready to build?

Start getting social data for free and scale as your project grows. No credit card needed.