List similar prediction market event groups
curl --request GET \
--url http://127.0.0.1:3003/v1/prediction_markets/similar_events \
--header 'Authorization: Bearer <token>'import requests
url = "http://127.0.0.1:3003/v1/prediction_markets/similar_events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:3003/v1/prediction_markets/similar_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_PORT => "3003",
CURLOPT_URL => "http://127.0.0.1:3003/v1/prediction_markets/similar_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 => [
"Authorization: Bearer <token>"
],
]);
$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 := "http://127.0.0.1:3003/v1/prediction_markets/similar_events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://127.0.0.1:3003/v1/prediction_markets/similar_events")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://127.0.0.1:3003/v1/prediction_markets/similar_events")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"events": [
{
"category": "Crypto",
"id": "evt_0cd327036fd54b93953b8f17",
"provider": "kalshi",
"scheduledAt": "2026-04-30T23:00:00.000Z",
"status": "open",
"title": "Will ETH exceed $5000 in April?"
},
{
"category": "Crypto",
"id": "evt_3f30a9b7f4ea4bc7b70bf39c",
"provider": "polymarket",
"scheduledAt": "2026-05-01T00:00:00.000Z",
"status": "open",
"title": "Will ETH exceed $5000 in April?"
}
],
"hoursSpan": 1,
"maxScheduledAt": "2026-05-01T00:00:00.000Z",
"minScheduledAt": "2026-04-30T23:00:00.000Z",
"title": "Will ETH exceed $5000 in April?"
}
],
"filters": {
"hoursWindowHours": 36,
"maxGroups": 50,
"poolLimit": 8000,
"provider": "kalshi",
"status": "open"
}
}
Prediction Markets
Similar Events
Groups similar Kalshi and Polymarket events by exact title and schedule proximity.
GET
/
v1
/
prediction_markets
/
similar_events
List similar prediction market event groups
curl --request GET \
--url http://127.0.0.1:3003/v1/prediction_markets/similar_events \
--header 'Authorization: Bearer <token>'import requests
url = "http://127.0.0.1:3003/v1/prediction_markets/similar_events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:3003/v1/prediction_markets/similar_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_PORT => "3003",
CURLOPT_URL => "http://127.0.0.1:3003/v1/prediction_markets/similar_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 => [
"Authorization: Bearer <token>"
],
]);
$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 := "http://127.0.0.1:3003/v1/prediction_markets/similar_events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://127.0.0.1:3003/v1/prediction_markets/similar_events")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://127.0.0.1:3003/v1/prediction_markets/similar_events")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"events": [
{
"category": "Crypto",
"id": "evt_0cd327036fd54b93953b8f17",
"provider": "kalshi",
"scheduledAt": "2026-04-30T23:00:00.000Z",
"status": "open",
"title": "Will ETH exceed $5000 in April?"
},
{
"category": "Crypto",
"id": "evt_3f30a9b7f4ea4bc7b70bf39c",
"provider": "polymarket",
"scheduledAt": "2026-05-01T00:00:00.000Z",
"status": "open",
"title": "Will ETH exceed $5000 in April?"
}
],
"hoursSpan": 1,
"maxScheduledAt": "2026-05-01T00:00:00.000Z",
"minScheduledAt": "2026-04-30T23:00:00.000Z",
"title": "Will ETH exceed $5000 in April?"
}
],
"filters": {
"hoursWindowHours": 36,
"maxGroups": 50,
"poolLimit": 8000,
"provider": "kalshi",
"status": "open"
}
}
Group similar Kalshi and Polymarket events by exact title and schedule proximity.
curl -sS "$MONETARY_API_BASE_URL/v1/prediction_markets/similar_events?hoursWindow=24&maxGroups=10" \
-H "Authorization: Bearer $MONETARY_API_TOKEN" \
-H "Accept: application/json"
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Optional provider filter before grouping.
Available options:
kalshi, polymarket Available options:
open, closed Provider event external id filter.
Case-insensitive category filter.
Window size (hours) used when matching schedule proximity. Non-integers are floored.
Required range:
1 <= x <= 168Maximum number of groups returned.
Required range:
1 <= x <= 200Candidate pool size for similarity matching.
Required range:
500 <= x <= 20000