Social Intelligence

Social Pulse

Social Pulse

POST/v2/semantic/retrieve/parameterized

Query Parameters

keywordsstring
Filter by keywords
Example:
"{NHL,hockey,Stanley Cup}"
hours_backstring
Filter by hours back
Example:
"12"

Top-Level Fields

FieldTypeDescription
timestampstringTimestamp of the response (may be empty)
paramsobjectEcho of the query parameters used
paginationobjectPagination metadata for the result set
data.resultsarrayList of matching social media posts

`pagination` Object

FieldTypeDescription
limitintegerMaximum number of results returned (default: 200)
offsetintegerOffset for paginated results
has_morebooleanWhether additional results are available beyond this page

`data.results[]` — Individual Post Object

FieldTypeDescription
idintegerUnique identifier of the post
contentstringFull text content of the tweet
usernamestringTwitter/X handle of the author
urlstringDirect URL to the post on X (Twitter)
created_onstring (ISO 8601)Timestamp when the post was created
like_countintegerNumber of likes on the post
retweet_countintegerNumber of retweets
reply_countintegerNumber of replies
quote_countintegerNumber of quote tweets
tweet_countintegerTotal tweet volume associated with the keyword cluster
accelerationstringRate of growth in social activity for the keyword cluster
author_diversity_pctstringPercentage of unique authors contributing to the trend
pct_last_1hstringPercentage of total activity occurring in the last 1 hour
pct_last_6hstringPercentage of total activity occurring in the last 6 hours
Social Pulse
curl --request POST \
  --url https://narrative.agent.heisenberg.so/api/v2/semantic/retrieve/parameterized \
  --header 'Authorization: Bearer YOUR_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "agent_id": 585,
  "params": {
    "keywords": "{NHL,hockey,Stanley Cup}",
    "hours_back": "12"
  },
  "pagination": {
    "limit": 10,
    "offset": 0
  },
  "formatter_config": {
    "format_type": "raw"
  }
}'