curl --request GET \
--url https://api.trysoar.com/v1/events \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.trysoar.com/v1/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://api.trysoar.com/v1/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://api.trysoar.com/v1/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://api.trysoar.com/v1/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://api.trysoar.com/v1/events")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trysoar.com/v1/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{
"events": [
{
"event_ticker": "ANTHROPIC-VALUATION-26Q3",
"series_ticker": "ANTHROPIC-VALUATION",
"project_market_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"category": "<string>",
"status": "unopened",
"mutually_exclusive": true,
"resolution_date": "2023-11-07T05:31:56Z",
"markets": [
{
"ticker": "<string>",
"market_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_ticker": "<string>",
"project_market_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"outcome_label": "<string>",
"state": "active",
"min_price": 123,
"max_price": 123,
"tick_size": 123,
"maker_fee_rate": "0.0700",
"taker_fee_rate": "0.0700",
"open_interest": 1,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"strike_value": "1050000000000.00",
"strike_unit": "<string>",
"last_price": 123
}
],
"sub_title": "<string>",
"resolution_source": "<string>"
}
],
"cursor": "<string>"
}{
"code": "invalid_enum_value",
"error": "side must be one of \"buy\", \"sell\", got \"hold\""
}{
"code": "unauthenticated",
"error": "API key or bearer token required"
}{
"code": "forbidden_scope",
"error": "api key lacks scope: trade"
}{
"code": "rate_limited",
"error": "rate limited (per-api-key)"
}List events and their ladder shape
An event is one prediction market — a survival ladder, or a single
binary — and its markets are that event’s rungs.
This is the endpoint that tells you which markets belong together. GET /markets is a flat list and cannot: two rungs of the same ladder look
no different there from two unrelated markets. Start here when you want
to trade a distribution rather than a single threshold.
curl --request GET \
--url https://api.trysoar.com/v1/events \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.trysoar.com/v1/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://api.trysoar.com/v1/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://api.trysoar.com/v1/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://api.trysoar.com/v1/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://api.trysoar.com/v1/events")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trysoar.com/v1/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{
"events": [
{
"event_ticker": "ANTHROPIC-VALUATION-26Q3",
"series_ticker": "ANTHROPIC-VALUATION",
"project_market_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"category": "<string>",
"status": "unopened",
"mutually_exclusive": true,
"resolution_date": "2023-11-07T05:31:56Z",
"markets": [
{
"ticker": "<string>",
"market_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_ticker": "<string>",
"project_market_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"outcome_label": "<string>",
"state": "active",
"min_price": 123,
"max_price": 123,
"tick_size": 123,
"maker_fee_rate": "0.0700",
"taker_fee_rate": "0.0700",
"open_interest": 1,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"strike_value": "1050000000000.00",
"strike_unit": "<string>",
"last_price": 123
}
],
"sub_title": "<string>",
"resolution_source": "<string>"
}
],
"cursor": "<string>"
}{
"code": "invalid_enum_value",
"error": "side must be one of \"buy\", \"sell\", got \"hold\""
}{
"code": "unauthenticated",
"error": "API key or bearer token required"
}{
"code": "forbidden_scope",
"error": "api key lacks scope: trade"
}{
"code": "rate_limited",
"error": "rate limited (per-api-key)"
}Authorizations
Per-user API key. Create and revoke keys from your SOAR account settings. A revoked key stops working within 60 seconds.
Query Parameters
Page size. Values outside 1–1000 are clamped, never rejected.
1 <= x <= 1000Opaque continuation token from the previous page's cursor. Omit for
the first page. Do not parse or construct one.
Scope to one series — every quarterly roll of one ladder. Case-insensitive.
"ANTHROPIC-VALUATION"
Scope to one company. Get it from Event.project_id.
Scope to one lifecycle state. Unknown values are 400 naming the set.
Lifecycle of the event as a whole. settled means every rung has
resolved — a ladder mid-resolution is still closed, because its
remaining rungs still settle independently.
unopened, open, closed, settled Was this page helpful?