List markets in event
curl --request GET \
--url https://api.rekko.ai/v1/events/{slug}/marketsimport requests
url = "https://api.rekko.ai/v1/events/{slug}/markets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.rekko.ai/v1/events/{slug}/markets', 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://api.rekko.ai/v1/events/{slug}/markets",
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://api.rekko.ai/v1/events/{slug}/markets"
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://api.rekko.ai/v1/events/{slug}/markets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rekko.ai/v1/events/{slug}/markets")
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[
{
"market_id": "<string>",
"title": "<string>",
"yes_price": 0.5,
"volume_24h": 0,
"url": "",
"open_interest": 1,
"spread": 1
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Events
Event Markets
List all individual outcome markets within an event.
Returns markets sorted by 24h volume descending.
GET
/
v1
/
events
/
{slug}
/
markets
List markets in event
curl --request GET \
--url https://api.rekko.ai/v1/events/{slug}/marketsimport requests
url = "https://api.rekko.ai/v1/events/{slug}/markets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.rekko.ai/v1/events/{slug}/markets', 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://api.rekko.ai/v1/events/{slug}/markets",
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://api.rekko.ai/v1/events/{slug}/markets"
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://api.rekko.ai/v1/events/{slug}/markets")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rekko.ai/v1/events/{slug}/markets")
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[
{
"market_id": "<string>",
"title": "<string>",
"yes_price": 0.5,
"volume_24h": 0,
"url": "",
"open_interest": 1,
"spread": 1
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Path Parameters
Maximum string length:
200Response
Successful Response
Platform-specific market identifier
Outcome title (e.g., 'Pam Bondi', 'At least 80 days')
Current YES probability
Required range:
0 <= x <= 124h volume in USD
Required range:
x >= 0Platform page URL for this market
Open interest (contracts outstanding)
Required range:
x >= 0Bid-ask spread (yes_ask - yes_bid)
Required range:
x >= 0