cURL
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" }
}'import requests
response = requests.post(
"https://narrative.agent.heisenberg.so/api/v2/semantic/retrieve/parameterized",
headers={"Authorization": "Bearer YOUR_TOKEN"},
json={
"agent_id": 585,
"params": {
"keywords": "{NHL,hockey,Stanley Cup}",
"hours_back": "12",
},
"pagination": {"limit": 10, "offset": 0},
"formatter_config": {"format_type": "raw"},
},
)
print(response.json())const response = await fetch(
"https://narrative.agent.heisenberg.so/api/v2/semantic/retrieve/parameterized",
{
method: "POST",
headers: {
Authorization: "Bearer YOUR_TOKEN",
"Content-Type": "application/json",
},
body: JSON.stringify({
agent_id: 585,
params: {
keywords: "{NHL,hockey,Stanley Cup}",
hours_back: "12",
},
pagination: { limit: 10, offset: 0 },
formatter_config: { format_type: "raw" },
}),
}
);
const data = await response.json();{
"timestamp": "<string>",
"params": {
"keywords": "<string>",
"hours_back": "<string>"
},
"pagination": {
"limit": 123,
"offset": 123,
"has_more": true
},
"data": {
"results": [
{}
]
},
"request_id": "<string>"
}Social Intelligence
Social Pulse
Monitor social media conversations and trending topics related to prediction markets.
POST
/
api
/
v2
/
semantic
/
retrieve
/
parameterized
cURL
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" }
}'import requests
response = requests.post(
"https://narrative.agent.heisenberg.so/api/v2/semantic/retrieve/parameterized",
headers={"Authorization": "Bearer YOUR_TOKEN"},
json={
"agent_id": 585,
"params": {
"keywords": "{NHL,hockey,Stanley Cup}",
"hours_back": "12",
},
"pagination": {"limit": 10, "offset": 0},
"formatter_config": {"format_type": "raw"},
},
)
print(response.json())const response = await fetch(
"https://narrative.agent.heisenberg.so/api/v2/semantic/retrieve/parameterized",
{
method: "POST",
headers: {
Authorization: "Bearer YOUR_TOKEN",
"Content-Type": "application/json",
},
body: JSON.stringify({
agent_id: 585,
params: {
keywords: "{NHL,hockey,Stanley Cup}",
hours_back: "12",
},
pagination: { limit: 10, offset: 0 },
formatter_config: { format_type: "raw" },
}),
}
);
const data = await response.json();{
"timestamp": "<string>",
"params": {
"keywords": "<string>",
"hours_back": "<string>"
},
"pagination": {
"limit": 123,
"offset": 123,
"has_more": true
},
"data": {
"results": [
{}
]
},
"request_id": "<string>"
}Endpoint:
Authentication: Bearer token
POST /v2/semantic/retrieve/parameterizedAuthentication: Bearer token
Query parameters
All requests useagent_id 585 (Social Pulse). Set filters inside params in the playground — all values must be strings. Use pagination for page size and offset (integers, not strings).
| Parameter | Type | Description |
|---|---|---|
keywords | String | Keyword filter set (for example, "{NHL,hockey,Stanley Cup}"). |
hours_back | String | How many hours back to search (for example, "12"). |
pagination.limit | Integer | Maximum records per request (1–200; default 10). |
pagination.offset | Integer | Records to skip before returning results (default 0). |
Example Request
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"
}
}'
import requests
response = requests.post(
"https://narrative.agent.heisenberg.so/api/v2/semantic/retrieve/parameterized",
headers={"Authorization": "Bearer YOUR_TOKEN"},
json={
"agent_id": 585,
"params": {
"keywords": "{NHL,hockey,Stanley Cup}",
"hours_back": "12"
},
"pagination": {
"limit": 10,
"offset": 0
},
"formatter_config": {
"format_type": "raw"
}
}
)
print(response.json())
const response = await fetch("https://narrative.agent.heisenberg.so/api/v2/semantic/retrieve/parameterized", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"agent_id": 585,
"params": {
"keywords": "{NHL,hockey,Stanley Cup}",
"hours_back": "12"
},
"pagination": {
"limit": 10,
"offset": 0
},
"formatter_config": {
"format_type": "raw"
}
})
});
const data = await response.json();
Top-Level Fields
| Field | Type | Description |
|---|---|---|
timestamp | String | Timestamp of the response (may be empty) |
params | Object | Echo of the query parameters used |
pagination | Object | Pagination metadata for the result set |
data.results | Array | List of matching social media posts |
pagination Object
| Field | Type | Description |
|---|---|---|
limit | Integer | Maximum number of results returned (default: 200) |
offset | Integer | Offset for paginated results |
has_more | Boolean | Whether additional results are available beyond this page |
data.results[] — Individual post object
| Field | Type | Description |
|---|---|---|
id | Integer | Unique identifier of the post |
content | String | Full text content of the tweet |
username | String | Twitter/X handle of the author |
url | String | Direct URL to the post on X (Twitter) |
created_on | String (ISO 8601) | Timestamp when the post was created |
like_count | Integer | Number of likes on the post |
retweet_count | Integer | Number of retweets |
reply_count | Integer | Number of replies |
quote_count | Integer | Number of quote tweets |
tweet_count | Integer | Total tweet volume associated with the keyword cluster |
acceleration | String | Rate of growth in social activity for the keyword cluster |
author_diversity_pct | String | Percentage of unique authors contributing to the trend |
pct_last_1h | String | Percentage of total activity occurring in the last 1 hour |
pct_last_6h | String | Percentage of total activity occurring in the last 6 hours |
Authorizations
Your Falcon API key from the dashboard
Body
application/json
Social Pulse agent ID.
Available options:
585 Response
Success