curl --request GET \
--url https://api.rekko.ai/v1/markets/{platform}/{market_id}/executionimport requests
url = "https://api.rekko.ai/v1/markets/{platform}/{market_id}/execution"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.rekko.ai/v1/markets/{platform}/{market_id}/execution', 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/markets/{platform}/{market_id}/execution",
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/markets/{platform}/{market_id}/execution"
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/markets/{platform}/{market_id}/execution")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rekko.ai/v1/markets/{platform}/{market_id}/execution")
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{
"avg_spread_48h": 0.03,
"current_ask": 0.64,
"current_bid": 0.6,
"current_spread": 0.04,
"estimated_slippage_pct": 0.8,
"generated_at": "2026-03-21T14:30:00Z",
"hours_to_event": 18.5,
"liquidity_score": 68,
"market_id": "KXFED-26MAR19",
"platform": "kalshi",
"rationale": "Spread is wider than usual (72nd percentile). Use a limit order at 0.61 to capture midpoint. Avoid market orders — slippage ~0.8% at current depth.",
"recommendation": "LIMIT_ORDER",
"spread_percentile": 72,
"spread_trend": "widening",
"suggested_limit_price": 0.61,
"tick_count": 96,
"title": "Will the Fed cut rates at the March 2026 meeting?",
"upcoming_event": "FOMC Statement"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Execution Guidance
Optimal trade execution analysis from bid/ask spread patterns.
curl --request GET \
--url https://api.rekko.ai/v1/markets/{platform}/{market_id}/executionimport requests
url = "https://api.rekko.ai/v1/markets/{platform}/{market_id}/execution"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.rekko.ai/v1/markets/{platform}/{market_id}/execution', 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/markets/{platform}/{market_id}/execution",
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/markets/{platform}/{market_id}/execution"
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/markets/{platform}/{market_id}/execution")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rekko.ai/v1/markets/{platform}/{market_id}/execution")
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{
"avg_spread_48h": 0.03,
"current_ask": 0.64,
"current_bid": 0.6,
"current_spread": 0.04,
"estimated_slippage_pct": 0.8,
"generated_at": "2026-03-21T14:30:00Z",
"hours_to_event": 18.5,
"liquidity_score": 68,
"market_id": "KXFED-26MAR19",
"platform": "kalshi",
"rationale": "Spread is wider than usual (72nd percentile). Use a limit order at 0.61 to capture midpoint. Avoid market orders — slippage ~0.8% at current depth.",
"recommendation": "LIMIT_ORDER",
"spread_percentile": 72,
"spread_trend": "widening",
"suggested_limit_price": 0.61,
"tick_count": 96,
"title": "Will the Fed cut rates at the March 2026 meeting?",
"upcoming_event": "FOMC Statement"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Path Parameters
"kalshi"
"KXAGICO-COMP-28Q1"
Response
Successful Response
Optimal trade execution analysis from tick data.
Market identifier
kalshi, polymarket, robinhood, or coinbase
Market title
Current best YES bid
0 <= x <= 1Current best YES ask
0 <= x <= 1Current bid-ask spread
x >= 0Average spread over last 48h
x >= 0Current spread percentile vs 48h history (lower = tighter than usual)
0 <= x <= 100Spread direction: 'tightening', 'widening', or 'stable'
Liquidity quality 0-100 based on spread + volume
0 <= x <= 100Estimated slippage as percentage of price
x >= 0LIMIT_ORDER, MARKET_ORDER, or WAIT
Suggested limit price (midpoint adjusted for spread direction)
0 <= x <= 1Explanation of the recommendation
Nearby event that may affect spreads
Hours until the next relevant event
x >= 0Number of ticks analyzed
x >= 0When this guidance was generated