curl --request GET \
--url https://api.simmer.markets/api/sdk/tradesimport requests
url = "https://api.simmer.markets/api/sdk/trades"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.simmer.markets/api/sdk/trades', 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.simmer.markets/api/sdk/trades",
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.simmer.markets/api/sdk/trades"
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.simmer.markets/api/sdk/trades")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.simmer.markets/api/sdk/trades")
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{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Get Trades
Get trade history for a user’s SDK trades.
Requires API key in Authorization header.
- venue=‘all’ (default): merged trades across sim_trades + real_trades, sorted by created_at desc
- venue=‘sim’: queries sim_trades table (simulated LMSR trades)
- venue=‘polymarket’: queries real_trades table (real Polymarket trades)
- venue=‘kalshi’: queries real_trades table filtered to Kalshi trades
Optional filters (all backward-compatible):
- market_id: restrict to one market
- since / until: ISO-8601 datetime range filter on created_at
- include_failed: when true, widens real_trades to also return failed/cancelled/expired rows. Each such row carries failure_category (normalized bucket) and failure_reason (sanitized message). superseded rows are always excluded.
Each trade row includes a venue field identifying which venue it came from.
Deprecated: venue=‘sandbox’/‘simmer’ are deprecated, use venue=‘sim’ instead.
Returns trades from the user’s wallet (rate limited: 300/minute).
curl --request GET \
--url https://api.simmer.markets/api/sdk/tradesimport requests
url = "https://api.simmer.markets/api/sdk/trades"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.simmer.markets/api/sdk/trades', 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.simmer.markets/api/sdk/trades",
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.simmer.markets/api/sdk/trades"
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.simmer.markets/api/sdk/trades")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.simmer.markets/api/sdk/trades")
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{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}venue defaults to all, returning merged sim_trades + real_trades sorted by created_at desc. Each row is tagged with a venue field. Pass ?venue=sim|polymarket|kalshi to filter to a single venue.Query Parameters
Venue filter: 'all' (default — sim + polymarket merged), 'sim', 'polymarket', or 'kalshi'
Max trades to return
1 <= x <= 200Offset for pagination
x >= 0Filter trades to a specific SDK agent ID (sim trades only)
Filter to a specific market ID (UUID); applies to both sim and real trades
ISO-8601 datetime: include trades at or after this time (e.g. 2025-01-01T00:00:00Z)
ISO-8601 datetime: include trades at or before this time
Include failed/cancelled/expired trades (default false). Failed rows carry failure_category and failure_reason fields.
Response
Successful Response
