List crypto up/down series events
curl --request GET \
--url https://prediction-market-api.solanatracker.io/v1/crypto/events \
--header 'x-api-key: <api-key>'import requests
url = "https://prediction-market-api.solanatracker.io/v1/crypto/events"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://prediction-market-api.solanatracker.io/v1/crypto/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://prediction-market-api.solanatracker.io/v1/crypto/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://prediction-market-api.solanatracker.io/v1/crypto/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://prediction-market-api.solanatracker.io/v1/crypto/events")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://prediction-market-api.solanatracker.io/v1/crypto/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"count": 1,
"data": [
{
"id": "<string>",
"marketCount": 1,
"title": "<string>",
"category": "<string>",
"comboEnabled": true,
"comboGroups": [
{
"id": "<string>",
"label": "<string>",
"lines": [
{
"marketId": "<string>",
"marketType": "<string>",
"selections": [
{
"label": "<string>",
"outcomeIndex": 1,
"price": 123,
"selectable": true,
"tokenId": "<string>"
}
],
"status": "<string>",
"title": "<string>",
"line": 123
}
],
"section": "<string>",
"period": "<string>"
}
],
"createdAt": "<string>",
"cryptoUpDown": {
"asset": "<string>",
"interval": "<string>",
"symbol": "<string>",
"variant": "<string>",
"finalPrice": 123,
"priceToBeat": 123,
"resolutionSource": "<string>",
"result": "<string>",
"seriesSlug": "<string>",
"seriesTitle": "<string>",
"windowEnd": "<string>",
"windowStart": "<string>"
},
"description": "<string>",
"endDate": "<string>",
"icon": "<string>",
"image": "<string>",
"markets": [
{
"hasDepth": true,
"id": "<string>",
"isTradable": true,
"outcomes": [
{
"label": "<string>",
"price": 123
}
],
"slug": "<string>",
"status": "<string>",
"title": "<string>",
"volume": 123,
"category": "<string>",
"clobTokenIds": [
"<string>"
],
"closeDate": "<string>",
"collectionId": "<string>",
"comboEligible": true,
"comboGroup": "<string>",
"createdAt": "<string>",
"description": "<string>",
"eventId": "<string>",
"eventSlug": "<string>",
"eventTicker": "<string>",
"eventTitle": "<string>",
"gammaMarketId": "<string>",
"groupItemTitle": "<string>",
"icon": "<string>",
"image": "<string>",
"legCount": 1,
"legs": [
{
"label": "<string>",
"eventDate": "<string>",
"exclusionGroup": "<string>",
"lifecycleStatus": "<string>",
"officialLegId": "<string>",
"positionId": "<string>",
"sport": "<string>",
"underlyingMarketId": "<string>",
"underlyingTitle": "<string>"
}
],
"line": 123,
"liquidity": 123,
"materializationState": "<string>",
"openInterest": 1,
"outcomeIndex": 1,
"outcomeLabel": "<string>",
"parentEventUrl": "<string>",
"rawTitle": "<string>",
"seriesTicker": "<string>",
"seriesTitle": "<string>",
"settlementRule": "<string>",
"sportsMarketType": "<string>",
"tags": [
"<string>"
],
"ticker": "<string>",
"tradeCount24h": 1,
"url": "<string>",
"volume24h": 123
}
],
"negRisk": true,
"openInterest": 123,
"resolutionSource": "<string>",
"slug": "<string>",
"startDate": "<string>",
"tags": "<unknown>",
"ticker": "<string>",
"updatedAt": "<string>",
"url": "<string>",
"volume": 123,
"volume24h": 123
}
],
"hasMore": true,
"cursor": "<string>"
}{
"code": 1,
"error": "<string>",
"errorCode": "<string>"
}{
"code": 1,
"error": "<string>",
"errorCode": "<string>"
}Crypto
List crypto up/down series events
Lists recurring Polymarket Chainlink up/down windows for an asset/interval series (e.g. BTC 5m). Each event includes cryptoUpDown metadata. Proxies Gamma series_slug ordering by window start.
GET
/
v1
/
crypto
/
events
List crypto up/down series events
curl --request GET \
--url https://prediction-market-api.solanatracker.io/v1/crypto/events \
--header 'x-api-key: <api-key>'import requests
url = "https://prediction-market-api.solanatracker.io/v1/crypto/events"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://prediction-market-api.solanatracker.io/v1/crypto/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://prediction-market-api.solanatracker.io/v1/crypto/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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://prediction-market-api.solanatracker.io/v1/crypto/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://prediction-market-api.solanatracker.io/v1/crypto/events")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://prediction-market-api.solanatracker.io/v1/crypto/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"count": 1,
"data": [
{
"id": "<string>",
"marketCount": 1,
"title": "<string>",
"category": "<string>",
"comboEnabled": true,
"comboGroups": [
{
"id": "<string>",
"label": "<string>",
"lines": [
{
"marketId": "<string>",
"marketType": "<string>",
"selections": [
{
"label": "<string>",
"outcomeIndex": 1,
"price": 123,
"selectable": true,
"tokenId": "<string>"
}
],
"status": "<string>",
"title": "<string>",
"line": 123
}
],
"section": "<string>",
"period": "<string>"
}
],
"createdAt": "<string>",
"cryptoUpDown": {
"asset": "<string>",
"interval": "<string>",
"symbol": "<string>",
"variant": "<string>",
"finalPrice": 123,
"priceToBeat": 123,
"resolutionSource": "<string>",
"result": "<string>",
"seriesSlug": "<string>",
"seriesTitle": "<string>",
"windowEnd": "<string>",
"windowStart": "<string>"
},
"description": "<string>",
"endDate": "<string>",
"icon": "<string>",
"image": "<string>",
"markets": [
{
"hasDepth": true,
"id": "<string>",
"isTradable": true,
"outcomes": [
{
"label": "<string>",
"price": 123
}
],
"slug": "<string>",
"status": "<string>",
"title": "<string>",
"volume": 123,
"category": "<string>",
"clobTokenIds": [
"<string>"
],
"closeDate": "<string>",
"collectionId": "<string>",
"comboEligible": true,
"comboGroup": "<string>",
"createdAt": "<string>",
"description": "<string>",
"eventId": "<string>",
"eventSlug": "<string>",
"eventTicker": "<string>",
"eventTitle": "<string>",
"gammaMarketId": "<string>",
"groupItemTitle": "<string>",
"icon": "<string>",
"image": "<string>",
"legCount": 1,
"legs": [
{
"label": "<string>",
"eventDate": "<string>",
"exclusionGroup": "<string>",
"lifecycleStatus": "<string>",
"officialLegId": "<string>",
"positionId": "<string>",
"sport": "<string>",
"underlyingMarketId": "<string>",
"underlyingTitle": "<string>"
}
],
"line": 123,
"liquidity": 123,
"materializationState": "<string>",
"openInterest": 1,
"outcomeIndex": 1,
"outcomeLabel": "<string>",
"parentEventUrl": "<string>",
"rawTitle": "<string>",
"seriesTicker": "<string>",
"seriesTitle": "<string>",
"settlementRule": "<string>",
"sportsMarketType": "<string>",
"tags": [
"<string>"
],
"ticker": "<string>",
"tradeCount24h": 1,
"url": "<string>",
"volume24h": 123
}
],
"negRisk": true,
"openInterest": 123,
"resolutionSource": "<string>",
"slug": "<string>",
"startDate": "<string>",
"tags": "<unknown>",
"ticker": "<string>",
"updatedAt": "<string>",
"url": "<string>",
"volume": 123,
"volume24h": 123
}
],
"hasMore": true,
"cursor": "<string>"
}{
"code": 1,
"error": "<string>",
"errorCode": "<string>"
}{
"code": 1,
"error": "<string>",
"errorCode": "<string>"
}Authorizations
Solana Tracker Data API key
Query Parameters
Asset key: btc, eth, sol, xrp, doge, bnb, hype (required unless seriesSlug is set)
Window interval: 5m (default), 15m, 1h/hourly, 4h, 1d/daily, 1w/weekly
Gamma series slug override, e.g. btc-up-or-down-hourly or bitcoin-up-or-down-weekly
Max results (default 50, max 100)
Required range:
x >= 0Pagination offset cursor
Window start order: desc (default) or asc
Was this page helpful?
⌘I