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": 573,
"params": {
"ticker": "KXSOL15M-26MAR180730-30",
"start_time": "1773589812",
"end_time": "1774021812"
},
"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": 573,
"params": {
"ticker": "KXSOL15M-26MAR180730-30",
"start_time": "1773589812",
"end_time": "1774021812",
},
"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: 573,
params: {
ticker: "KXSOL15M-26MAR180730-30",
start_time: "1773589812",
end_time: "1774021812",
},
pagination: { limit: 10, offset: 0 },
formatter_config: { format_type: "raw" },
}),
}
);
const data = await response.json();{
"timestamp": "<string>",
"params": {
"ticker": "<string>",
"start_time": "<string>",
"end_time": "<string>"
},
"pagination": {
"limit": 123,
"offset": 123,
"has_more": true
},
"data": {
"results": [
{}
]
},
"request_id": "<string>"
}Kalshi
Kalshi Trades
Retrieve trade history from Kalshi markets, filtered by ticker and time range.
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": 573,
"params": {
"ticker": "KXSOL15M-26MAR180730-30",
"start_time": "1773589812",
"end_time": "1774021812"
},
"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": 573,
"params": {
"ticker": "KXSOL15M-26MAR180730-30",
"start_time": "1773589812",
"end_time": "1774021812",
},
"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: 573,
params: {
ticker: "KXSOL15M-26MAR180730-30",
start_time: "1773589812",
end_time: "1774021812",
},
pagination: { limit: 10, offset: 0 },
formatter_config: { format_type: "raw" },
}),
}
);
const data = await response.json();{
"timestamp": "<string>",
"params": {
"ticker": "<string>",
"start_time": "<string>",
"end_time": "<string>"
},
"pagination": {
"limit": 123,
"offset": 123,
"has_more": true
},
"data": {
"results": [
{}
]
},
"request_id": "<string>"
}Platform: Kalshi
Endpoint:
Authentication: Bearer token
Endpoint:
POST /v2/semantic/retrieve/parameterizedAuthentication: Bearer token
Query parameters
All requests useagent_id 573 (Kalshi Trades). Set filters inside params in the playground — all values must be strings.
| Parameter | Type | Description |
|---|---|---|
ticker | String | Market ticker identifying the outcome traded. |
start_time | String | Trades at or after this Unix timestamp in seconds. |
end_time | String | Trades at or before this Unix timestamp in seconds. |
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": 573,
"params": {
"ticker": "KXSOL15M-26MAR180730-30",
"start_time": "1773589812",
"end_time": "1774021812"
},
"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": 573,
"params": {
"ticker": "KXSOL15M-26MAR180730-30",
"start_time": "1773589812",
"end_time": "1774021812"
},
"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": 573,
"params": {
"ticker": "KXSOL15M-26MAR180730-30",
"start_time": "1773589812",
"end_time": "1774021812"
},
"pagination": {
"limit": 10,
"offset": 0
},
"formatter_config": {
"format_type": "raw"
}
})
});
const data = await response.json();
Example Response
{
"timestamp": "",
"params": {
"end_time": "1774021812",
"start_time": "1773589812",
"ticker": "KXSOL15M-26MAR180730-30"
},
"pagination": {
"limit": 10,
"offset": 0,
"has_more": true
},
"data": {
"results": [
{
"count": 9,
"created_time": "2026-03-18T11:29:25.354888Z",
"no_price": 99.9,
"taker_side": "yes",
"ticker": "KXSOL15M-26MAR180730-30",
"trade_id": "cba52037-21c4-6b04-6544-a2be4124d98e",
"yes_price": 0.1
},
{
"count": 200,
"created_time": "2026-03-18T11:29:23.814603Z",
"no_price": 99.9,
"taker_side": "no",
"ticker": "KXSOL15M-26MAR180730-30",
"trade_id": "4143238d-eb74-75c4-3607-d1b2ea1f0abc",
"yes_price": 0.1
}
]
}
}
Response Fields
| Field | Type | Description |
|---|---|---|
count | Integer | Number of shares/contracts traded in this transaction |
created_time | String (ISO 8601) | Timestamp when the trade was executed |
no_price | Integer | Price of the No outcome at the time of the trade |
taker_side | String | Side taken by the taker in the trade (yes or no) |
ticker | String | Ticker symbol identifying the market outcome traded |
trade_id | String (UUID) | Unique identifier for the trade |
yes_price | Integer | Price of the Yes outcome at the time of the trade (typically in cents, 0–100) |
Authorizations
Your Falcon API key from the dashboard
Body
application/json
Filter parameters. All values must be strings.
Hide child attributes
Hide child attributes
Market ticker identifying the outcome traded.
Trades at or after this Unix timestamp in seconds, inclusive.
Trades at or before this Unix timestamp in seconds, inclusive.
Kalshi Trades agent ID.
Available options:
573 Response
Success