curl --location 'https://us-prod.notte.cc/functions/06baf7a6-5a9c-4c33-8889-3d7eeeca0de9/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "06baf7a6-5a9c-4c33-8889-3d7eeeca0de9",
"variables": {
"limit": 20,
"page": 1
}
}'
{
"pagination": {
"page": 0,
"limit": 0,
"next_page": 0,
"total_pages": 0,
"has_next_page": true,
"previous_page": 0,
"total_records": 0,
"has_previous_page": true
},
"trending_stocks": [
{
"type": "<string>",
"quote": {
"halt": true,
"title": "<string>",
"value": 0,
"symbol": "<string>",
"volume": 0,
"day_low": 0,
"day_high": 0,
"direction": "<string>",
"smallchart": {
"g_low": 0,
"g_high": 0,
"points": [
{
"x": 0,
"low": 0,
"high": 0,
"price": 0,
"timestamp": 0
}
]
},
"price_change": "<string>",
"dollar_volume": 0,
"percent_change": "<string>",
"average_daily_volume": 0,
"previous_close_price": 0
},
"title": "<string>",
"events": {
"news": 0,
"sedi": 0,
"sedar": 0
},
"symbol": "<string>",
"channel": "<string>",
"company_details": {
"name": "<string>",
"symbol": "<string>",
"channel": "<string>",
"exchange": "<string>",
"avg_volume": 0,
"shares_outstanding": 0
}
}
],
"featured_channels": [
{
"type": "<string>",
"events": {
"news": 0
},
"channel": "<string>",
"category": "<string>"
}
],
"channel_categories": [
{
"id": "<string>",
"channels": [
{}
]
}
]
}