Events behind one upcoming entry, standard card shape
curl --request GET \
--url https://core.api.dev.predictstreet.sde.adifoundation.ai/api/upcoming/{id}/eventsimport requests
url = "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/upcoming/{id}/events"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core.api.dev.predictstreet.sde.adifoundation.ai/api/upcoming/{id}/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/upcoming/{id}/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/upcoming/{id}/events"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/upcoming/{id}/events")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/upcoming/{id}/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"events": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "lithuania-vs-andorra",
"title": "<string>",
"metaTitle": "<string>",
"imageUrl": "<string>",
"homeCountry": "<string>",
"awayCountry": "<string>",
"sport": "soccer",
"vertical": "football",
"match": {
"id": "<string>",
"slug": "<string>",
"title": "<string>",
"group": "<string>",
"stage": "<string>",
"competition": {
"name": "<string>",
"slug": "<string>",
"logo": "<string>"
},
"teamA": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"teamB": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"kickoffAt": "2023-11-07T05:31:56Z",
"state": "<string>"
},
"stage": "group",
"group": "A",
"teamA": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"teamB": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"competition": {
"name": "<string>",
"slug": "<string>",
"logo": "<string>"
},
"tags": [
{
"slug": "<string>",
"name": "<string>"
}
],
"category": {
"key": "GAME_LINES",
"label": "<string>"
},
"scheduledAt": "2023-11-07T05:31:56Z",
"endedAt": "2023-11-07T05:31:56Z",
"scheduleStatus": "SCHEDULED",
"scheduleReason": "<string>",
"settlesByAt": "2023-11-07T05:31:56Z",
"volume24h": "578.207202",
"totalVolume": "1084.507287",
"openMarketCount": 2,
"totalMarketCount": 5,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"saved": true,
"live": {
"state": "<string>",
"minute": 123,
"addedMinute": 123,
"score": {
"home": 123,
"away": 123
},
"scoreText": "<string>",
"inPlay": true,
"provider": "<string>",
"asOf": "<string>",
"significantEvent": "<string>",
"penaltyScore": {
"home": 123,
"away": 123
},
"penaltyScoreText": "<string>",
"sport": "<string>",
"setScores": "160-0 0-164",
"homeCountry": "<string>",
"awayCountry": "<string>",
"inningHalf": "top",
"balls": 123,
"strikes": 123,
"outs": 123,
"bases": [
true
],
"periodClock": "07:27"
},
"inPlay": true,
"cryptoSeries": {
"id": "<string>",
"symbolPrefix": "<string>",
"asset": "<string>",
"instrumentId": "BTC-USD",
"cadence": "5-minute",
"cadenceSeconds": 123,
"windowSeconds": 123,
"streamDecimals": 123,
"titleTemplate": "<string>"
},
"cryptoLongSeries": {
"id": "<string>",
"symbolPrefix": "<string>",
"asset": "<string>",
"instrumentId": "<string>",
"cadence": "5-minute",
"period": {
"key": "<string>",
"label": "<string>",
"startAt": "<string>",
"endAt": "<string>",
"state": "live"
},
"periods": [
{
"slug": "<string>",
"key": "<string>",
"label": "<string>",
"startAt": "<string>",
"state": "live"
}
],
"hasPast": true
},
"markets": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventSlug": "fifa-world-cup-2026-winner",
"homeCountry": "<string>",
"awayCountry": "<string>",
"tags": [
{
"slug": "<string>",
"name": "<string>"
}
],
"symbol": "FRIENDLI-LIT-AND-MW-20260930-LIT",
"slug": "friendli-lithuania-andorra-2026-09-30-lit",
"title": "<string>",
"question": "<string>",
"groupItemTitle": "<string>",
"groupItemSubtitle": "<string>",
"groupItemImageUrl": "<string>",
"conditionId": "<string>",
"questionId": "<string>",
"yesTokenId": "<string>",
"noTokenId": "<string>",
"outcomes": [
{
"outcomeIndex": 123,
"label": "<string>",
"tokenId": "<string>",
"noTokenId": "<string>",
"conditionId": "<string>"
}
],
"outcomeCount": 2,
"outcomeLabels": [
"YES",
"NO"
],
"sourceSelections": [
{
"outcomeLabel": "<string>",
"outcomeIndex": 123,
"providerOutcomeId": "MATCH_WINNER:side=home",
"marketType": "<string>",
"selector": {
"side": "home"
},
"providerOutcomeName": "<string>"
}
],
"outcomePrices": [
"0.610000",
"0.420000"
],
"chances": [
"0.595000",
"0.405000"
],
"status": "OPEN",
"tradable": true,
"tradingMode": "open",
"notTradableReason": "closed_at_cutoff",
"currentReviewRound": 1,
"feeTakerBps": 600,
"executionDelayMs": 0,
"liveTick": "0.05",
"line": 8.5,
"lineGroup": {
"id": "CRICKET_TEAM_TOTAL_RUNS:home",
"title": "Jamaica Kingsmen Total Runs",
"kind": "total",
"order": 0
},
"kickoff": "2023-11-07T05:31:56Z",
"tradingWindow": {
"preMarketStartsAt": "<string>",
"opensAt": "<string>",
"closesAt": "<string>"
},
"lifecycle": {
"closedAt": "<string>",
"pausedAt": "<string>",
"resolvedAt": "<string>",
"voidedAt": "<string>"
},
"resolutionWindowHours": 2,
"resolution": {
"proposedAt": "<string>",
"challengeWindowClosesAt": "<string>",
"disputedAt": "<string>",
"proposedOutcome": "<string>",
"proposedOutcomeIndex": 123,
"resolvedOutcome": "<string>",
"resolvedOutcomeIndex": 123,
"disputeBondUsdcRaw": "<string>",
"disputeReason": "<string>",
"resolutionKind": "WINNER",
"proposalKind": "WINNER",
"proposedFairPriceSplit": {
"yes": "<string>",
"no": "<string>"
}
},
"payoutNumerators": [
1,
0
],
"officialDataSource": "lsports",
"sourceMatchId": "<string>",
"additionalSources": [
{
"provider": "api-football",
"externalEventId": "12345",
"scope": "FIXTURE"
}
],
"resolutionCriteria": "<string>",
"prediction": {
"provider": "<string>",
"questionId": "<string>",
"question": "<string>",
"kind": "<string>",
"version": 1,
"line": "<string>",
"rulesText": "<string>",
"threshold": {
"comparator": "<string>",
"value": "<string>",
"source": "<string>",
"upperValue": "<string>",
"unit": "<string>"
},
"endsAt": "2023-11-07T05:31:56Z",
"capturedAt": "2023-11-07T05:31:56Z"
},
"crypto": {
"productType": "<string>",
"direction": "ABOVE",
"targetPrice": "<string>",
"instrumentId": "<string>",
"benchmarkInstrumentId": "<string>",
"deadlineAt": "<string>",
"month": "<string>",
"coinId": "<string>",
"thresholdUsd": "<string>",
"observationStart": "<string>",
"deadline": "<string>",
"sourcePolicyVersion": 123
},
"cryptoWindow": {
"seriesId": "<string>",
"windowStartAt": "<string>",
"windowEndAt": "<string>",
"openPrice": "<string>",
"streamDecimals": 123,
"openPriceIsFinal": true,
"closePrice": "<string>",
"closePriceIsFinal": true,
"outcome": "UP"
},
"negRiskEligible": true,
"negRiskMarketId": "<string>",
"negRiskQuestionIndex": 123,
"isNewMarketType": true,
"marketType": "MATCH_WINNER",
"sport": "soccer",
"vertical": "football",
"volume24h": "1234.50",
"totalVolume": "98765.00",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"live": {
"state": "<string>",
"minute": 123,
"addedMinute": 123,
"score": {
"home": 123,
"away": 123
},
"scoreText": "<string>",
"inPlay": true,
"provider": "<string>",
"asOf": "<string>",
"significantEvent": "<string>",
"penaltyScore": {
"home": 123,
"away": 123
},
"penaltyScoreText": "<string>",
"sport": "<string>",
"setScores": "160-0 0-164",
"homeCountry": "<string>",
"awayCountry": "<string>",
"inningHalf": "top",
"balls": 123,
"strikes": 123,
"outs": 123,
"bases": [
true
],
"periodClock": "07:27"
},
"probabilityChange": {
"window": "24h",
"unit": "percentage_points",
"asOf": "2023-11-07T05:31:56Z",
"outcomes": [
{
"outcomeIndex": 0,
"change": 4,
"baselineAt": "2023-11-07T05:31:56Z"
}
]
},
"tradeCount": 123,
"totalShares": "<string>"
}
]
}
],
"page": 123,
"limit": 123,
"hasMore": true
}Upcoming
Events behind one upcoming entry, standard card shape
The paginated event list for the entry’s detail panel — event rows in the full EventSummaryDto shape: the same event fields as /api/events, but with full MarketSummaryDto market rows rather than the slim list rows (the entry’s competition/tag link is the filter, so the two surfaces agree on MEMBERSHIP by construction). Note the calendar card’s counts.events uses a simpler semantics (raw tradeable events, pre long-crypto collapse) and can exceed this list’s collapsed length — see the list endpoint’s counts docs. A teaser entry (no link) returns an empty page — render “Coming soon”. page 1-based, limit 1..50 (default 20). 404 upcoming_not_found for unknown/retired ids.
GET
/
api
/
upcoming
/
{id}
/
events
Events behind one upcoming entry, standard card shape
curl --request GET \
--url https://core.api.dev.predictstreet.sde.adifoundation.ai/api/upcoming/{id}/eventsimport requests
url = "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/upcoming/{id}/events"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core.api.dev.predictstreet.sde.adifoundation.ai/api/upcoming/{id}/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/upcoming/{id}/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/upcoming/{id}/events"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/upcoming/{id}/events")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/upcoming/{id}/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"events": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "lithuania-vs-andorra",
"title": "<string>",
"metaTitle": "<string>",
"imageUrl": "<string>",
"homeCountry": "<string>",
"awayCountry": "<string>",
"sport": "soccer",
"vertical": "football",
"match": {
"id": "<string>",
"slug": "<string>",
"title": "<string>",
"group": "<string>",
"stage": "<string>",
"competition": {
"name": "<string>",
"slug": "<string>",
"logo": "<string>"
},
"teamA": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"teamB": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"kickoffAt": "2023-11-07T05:31:56Z",
"state": "<string>"
},
"stage": "group",
"group": "A",
"teamA": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"teamB": {
"code": "<string>",
"label": "<string>",
"logo": "<string>"
},
"competition": {
"name": "<string>",
"slug": "<string>",
"logo": "<string>"
},
"tags": [
{
"slug": "<string>",
"name": "<string>"
}
],
"category": {
"key": "GAME_LINES",
"label": "<string>"
},
"scheduledAt": "2023-11-07T05:31:56Z",
"endedAt": "2023-11-07T05:31:56Z",
"scheduleStatus": "SCHEDULED",
"scheduleReason": "<string>",
"settlesByAt": "2023-11-07T05:31:56Z",
"volume24h": "578.207202",
"totalVolume": "1084.507287",
"openMarketCount": 2,
"totalMarketCount": 5,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"saved": true,
"live": {
"state": "<string>",
"minute": 123,
"addedMinute": 123,
"score": {
"home": 123,
"away": 123
},
"scoreText": "<string>",
"inPlay": true,
"provider": "<string>",
"asOf": "<string>",
"significantEvent": "<string>",
"penaltyScore": {
"home": 123,
"away": 123
},
"penaltyScoreText": "<string>",
"sport": "<string>",
"setScores": "160-0 0-164",
"homeCountry": "<string>",
"awayCountry": "<string>",
"inningHalf": "top",
"balls": 123,
"strikes": 123,
"outs": 123,
"bases": [
true
],
"periodClock": "07:27"
},
"inPlay": true,
"cryptoSeries": {
"id": "<string>",
"symbolPrefix": "<string>",
"asset": "<string>",
"instrumentId": "BTC-USD",
"cadence": "5-minute",
"cadenceSeconds": 123,
"windowSeconds": 123,
"streamDecimals": 123,
"titleTemplate": "<string>"
},
"cryptoLongSeries": {
"id": "<string>",
"symbolPrefix": "<string>",
"asset": "<string>",
"instrumentId": "<string>",
"cadence": "5-minute",
"period": {
"key": "<string>",
"label": "<string>",
"startAt": "<string>",
"endAt": "<string>",
"state": "live"
},
"periods": [
{
"slug": "<string>",
"key": "<string>",
"label": "<string>",
"startAt": "<string>",
"state": "live"
}
],
"hasPast": true
},
"markets": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventSlug": "fifa-world-cup-2026-winner",
"homeCountry": "<string>",
"awayCountry": "<string>",
"tags": [
{
"slug": "<string>",
"name": "<string>"
}
],
"symbol": "FRIENDLI-LIT-AND-MW-20260930-LIT",
"slug": "friendli-lithuania-andorra-2026-09-30-lit",
"title": "<string>",
"question": "<string>",
"groupItemTitle": "<string>",
"groupItemSubtitle": "<string>",
"groupItemImageUrl": "<string>",
"conditionId": "<string>",
"questionId": "<string>",
"yesTokenId": "<string>",
"noTokenId": "<string>",
"outcomes": [
{
"outcomeIndex": 123,
"label": "<string>",
"tokenId": "<string>",
"noTokenId": "<string>",
"conditionId": "<string>"
}
],
"outcomeCount": 2,
"outcomeLabels": [
"YES",
"NO"
],
"sourceSelections": [
{
"outcomeLabel": "<string>",
"outcomeIndex": 123,
"providerOutcomeId": "MATCH_WINNER:side=home",
"marketType": "<string>",
"selector": {
"side": "home"
},
"providerOutcomeName": "<string>"
}
],
"outcomePrices": [
"0.610000",
"0.420000"
],
"chances": [
"0.595000",
"0.405000"
],
"status": "OPEN",
"tradable": true,
"tradingMode": "open",
"notTradableReason": "closed_at_cutoff",
"currentReviewRound": 1,
"feeTakerBps": 600,
"executionDelayMs": 0,
"liveTick": "0.05",
"line": 8.5,
"lineGroup": {
"id": "CRICKET_TEAM_TOTAL_RUNS:home",
"title": "Jamaica Kingsmen Total Runs",
"kind": "total",
"order": 0
},
"kickoff": "2023-11-07T05:31:56Z",
"tradingWindow": {
"preMarketStartsAt": "<string>",
"opensAt": "<string>",
"closesAt": "<string>"
},
"lifecycle": {
"closedAt": "<string>",
"pausedAt": "<string>",
"resolvedAt": "<string>",
"voidedAt": "<string>"
},
"resolutionWindowHours": 2,
"resolution": {
"proposedAt": "<string>",
"challengeWindowClosesAt": "<string>",
"disputedAt": "<string>",
"proposedOutcome": "<string>",
"proposedOutcomeIndex": 123,
"resolvedOutcome": "<string>",
"resolvedOutcomeIndex": 123,
"disputeBondUsdcRaw": "<string>",
"disputeReason": "<string>",
"resolutionKind": "WINNER",
"proposalKind": "WINNER",
"proposedFairPriceSplit": {
"yes": "<string>",
"no": "<string>"
}
},
"payoutNumerators": [
1,
0
],
"officialDataSource": "lsports",
"sourceMatchId": "<string>",
"additionalSources": [
{
"provider": "api-football",
"externalEventId": "12345",
"scope": "FIXTURE"
}
],
"resolutionCriteria": "<string>",
"prediction": {
"provider": "<string>",
"questionId": "<string>",
"question": "<string>",
"kind": "<string>",
"version": 1,
"line": "<string>",
"rulesText": "<string>",
"threshold": {
"comparator": "<string>",
"value": "<string>",
"source": "<string>",
"upperValue": "<string>",
"unit": "<string>"
},
"endsAt": "2023-11-07T05:31:56Z",
"capturedAt": "2023-11-07T05:31:56Z"
},
"crypto": {
"productType": "<string>",
"direction": "ABOVE",
"targetPrice": "<string>",
"instrumentId": "<string>",
"benchmarkInstrumentId": "<string>",
"deadlineAt": "<string>",
"month": "<string>",
"coinId": "<string>",
"thresholdUsd": "<string>",
"observationStart": "<string>",
"deadline": "<string>",
"sourcePolicyVersion": 123
},
"cryptoWindow": {
"seriesId": "<string>",
"windowStartAt": "<string>",
"windowEndAt": "<string>",
"openPrice": "<string>",
"streamDecimals": 123,
"openPriceIsFinal": true,
"closePrice": "<string>",
"closePriceIsFinal": true,
"outcome": "UP"
},
"negRiskEligible": true,
"negRiskMarketId": "<string>",
"negRiskQuestionIndex": 123,
"isNewMarketType": true,
"marketType": "MATCH_WINNER",
"sport": "soccer",
"vertical": "football",
"volume24h": "1234.50",
"totalVolume": "98765.00",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"live": {
"state": "<string>",
"minute": 123,
"addedMinute": 123,
"score": {
"home": 123,
"away": 123
},
"scoreText": "<string>",
"inPlay": true,
"provider": "<string>",
"asOf": "<string>",
"significantEvent": "<string>",
"penaltyScore": {
"home": 123,
"away": 123
},
"penaltyScoreText": "<string>",
"sport": "<string>",
"setScores": "160-0 0-164",
"homeCountry": "<string>",
"awayCountry": "<string>",
"inningHalf": "top",
"balls": 123,
"strikes": 123,
"outs": 123,
"bases": [
true
],
"periodClock": "07:27"
},
"probabilityChange": {
"window": "24h",
"unit": "percentage_points",
"asOf": "2023-11-07T05:31:56Z",
"outcomes": [
{
"outcomeIndex": 0,
"change": 4,
"baselineAt": "2023-11-07T05:31:56Z"
}
]
},
"tradeCount": 123,
"totalShares": "<string>"
}
]
}
],
"page": 123,
"limit": 123,
"hasMore": true
}Path Parameters
Upcoming entry id (uuid).
Query Parameters
Required range:
x >= 1Required range:
1 <= x <= 50