curl --request GET \
--url https://core.api.dev.predictstreet.sde.adifoundation.ai/api/crypto-series/{id}/windowsimport requests
url = "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/crypto-series/{id}/windows"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core.api.dev.predictstreet.sde.adifoundation.ai/api/crypto-series/{id}/windows', 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/crypto-series/{id}/windows",
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/crypto-series/{id}/windows"
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/crypto-series/{id}/windows")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/crypto-series/{id}/windows")
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{
"markets": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"symbol": "<string>",
"slug": "<string>",
"title": "<string>",
"groupItemTitle": "<string>",
"conditionId": "<string>",
"questionId": "<string>",
"yesTokenId": "<string>",
"noTokenId": "<string>",
"status": "PRE_MARKET",
"currentReviewRound": 123,
"outcomeCount": 123,
"outcomeLabels": [
"<string>"
],
"feeTakerBps": 123,
"tradingWindow": {
"preMarketStartsAt": "<string>",
"opensAt": "<string>",
"closesAt": "<string>"
},
"kickoff": "2023-11-07T05:31:56Z",
"resolutionWindowHours": 123,
"lifecycle": {
"closedAt": "<string>",
"pausedAt": "<string>",
"resolvedAt": "<string>",
"voidedAt": "<string>"
},
"payoutNumerators": "<unknown>",
"officialDataSource": "<string>",
"sourceMatchId": "<string>",
"resolutionCriteria": "<string>",
"negRiskEligible": true,
"isNewMarketType": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"outcomePrices": [
"<string>"
],
"chances": [
"<string>"
],
"vertical": "crypto",
"marketType": "<string>",
"crypto": {
"productType": "THRESHOLD_BY_DEADLINE",
"direction": "ABOVE",
"targetPrice": "64400",
"instrumentId": "BTC-USD",
"benchmarkInstrumentId": "<string>",
"deadlineAt": "2023-11-07T05:31:56Z",
"month": "2026-07"
},
"cryptoWindow": {
"seriesId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"windowStartAt": "2023-11-07T05:31:56Z",
"windowEndAt": "2023-11-07T05:31:56Z",
"openPrice": "63672459298735910000000",
"streamDecimals": 18,
"openPriceIsFinal": true,
"outcome": "UP"
}
}
],
"hasMore": true
}{
"status": 400,
"error": {
"code": "bad_request",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}List a crypto series' window markets, bucketed by state
Navigation for a short-crypto Up/Down series: window symbols churn every cadence, so clients walk the series by state rather than by symbol. Each entry is the same MarketSummary shape /api/markets returns, cryptoWindow included. Buckets are computed from the WINDOW BOUNDS against the current time, NOT from lifecycle status — a window can be CLOSED while its period is still current (settlement lag), and current is normally a single window but is not guaranteed to be, so treat it as a list. next is the lookahead (soonest first), past is most-recent first by window end, all is every bounded window in chronological order for the window-picker strip (a calendar day straddles past/current/next at once, so no now-relative bucket can express it). Narrow any bucket with from / to. Public — no auth required; Cache-Control: public, max-age=5; 600 req/min per IP.
curl --request GET \
--url https://core.api.dev.predictstreet.sde.adifoundation.ai/api/crypto-series/{id}/windowsimport requests
url = "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/crypto-series/{id}/windows"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core.api.dev.predictstreet.sde.adifoundation.ai/api/crypto-series/{id}/windows', 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/crypto-series/{id}/windows",
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/crypto-series/{id}/windows"
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/crypto-series/{id}/windows")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/crypto-series/{id}/windows")
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{
"markets": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"symbol": "<string>",
"slug": "<string>",
"title": "<string>",
"groupItemTitle": "<string>",
"conditionId": "<string>",
"questionId": "<string>",
"yesTokenId": "<string>",
"noTokenId": "<string>",
"status": "PRE_MARKET",
"currentReviewRound": 123,
"outcomeCount": 123,
"outcomeLabels": [
"<string>"
],
"feeTakerBps": 123,
"tradingWindow": {
"preMarketStartsAt": "<string>",
"opensAt": "<string>",
"closesAt": "<string>"
},
"kickoff": "2023-11-07T05:31:56Z",
"resolutionWindowHours": 123,
"lifecycle": {
"closedAt": "<string>",
"pausedAt": "<string>",
"resolvedAt": "<string>",
"voidedAt": "<string>"
},
"payoutNumerators": "<unknown>",
"officialDataSource": "<string>",
"sourceMatchId": "<string>",
"resolutionCriteria": "<string>",
"negRiskEligible": true,
"isNewMarketType": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"outcomePrices": [
"<string>"
],
"chances": [
"<string>"
],
"vertical": "crypto",
"marketType": "<string>",
"crypto": {
"productType": "THRESHOLD_BY_DEADLINE",
"direction": "ABOVE",
"targetPrice": "64400",
"instrumentId": "BTC-USD",
"benchmarkInstrumentId": "<string>",
"deadlineAt": "2023-11-07T05:31:56Z",
"month": "2026-07"
},
"cryptoWindow": {
"seriesId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"windowStartAt": "2023-11-07T05:31:56Z",
"windowEndAt": "2023-11-07T05:31:56Z",
"openPrice": "63672459298735910000000",
"streamDecimals": 18,
"openPriceIsFinal": true,
"outcome": "UP"
}
}
],
"hasMore": true
}{
"status": 400,
"error": {
"code": "bad_request",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}Path Parameters
Crypto series id — event.cryptoSeries.id.
Query Parameters
Bucket to return. No default — an unrecognised value returns 400 invalid_state rather than a plausible-looking wrong bucket.
current, next, past, all Page size. Default 50, or 500 for state=all (a 15-minute day is 96 windows, so the generic default would cut the strip at noon).
1 <= x <= 500x >= 0Inclusive lower bound on the window START. ISO-8601 with an explicit offset (2026-07-29T00:00:00Z) or a bare date (2026-07-29); a naive date-time is rejected. Composes with state.
EXCLUSIVE upper bound on the window START, so from / to day boundaries never double-count the window that straddles midnight. At most 31 days wide.