curl --location 'https://us-prod.notte.cc/functions/b6566b3d-45e5-42e1-8994-2e9eb48f1941/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "b6566b3d-45e5-42e1-8994-2e9eb48f1941",
"variables": {
"league_id": 132,
"season": "2025/2026",
"max_matches": 25,
"timeout_seconds": 20
}
}'
{
"source": "<string>",
"matches": [
{
"id": "<string>",
"away": {
"id": "<string>",
"name": "<string>",
"shortName": "<string>"
},
"home": {
"id": "<string>",
"name": "<string>",
"shortName": "<string>"
},
"round": "<string>",
"status": {
"reason": {
"long": "<string>",
"short": "<string>"
},
"awarded": true,
"started": true,
"utcTime": "<string>",
"finished": true,
"scoreStr": "<string>",
"cancelled": true
},
"roundName": "<any>"
}
],
"players": [
{
"id": 0,
"name": "<string>",
"goals": 0,
"stats": {},
"teams": [
{}
],
"starts": 0,
"assists": 0,
"minutes": 0,
"profile": {},
"appearances": 0,
"average_rating": 0,
"substitute_appearances": 0
}
],
"competition": {
"id": 0,
"name": "<string>",
"type": "<string>",
"gender": "<string>",
"country": "<string>",
"seopath": "<string>",
"shortName": "<string>",
"dataProvider": "<string>",
"latestSeason": "<string>",
"selectedSeason": "<string>"
},
"failed_matches": [
"<string>"
],
"upstream_calls": 0,
"selected_season": "<string>",
"matches_processed": 0,
"matches_requested": 0,
"finished_matches_available": 0
}