Remove event
curl --request DELETE \
--url https://api.oddpool.com/whales/user/events/by-ticker/{exchange}/{event_ticker}import requests
url = "https://api.oddpool.com/whales/user/events/by-ticker/{exchange}/{event_ticker}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.oddpool.com/whales/user/events/by-ticker/{exchange}/{event_ticker}', 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.oddpool.com/whales/user/events/by-ticker/{exchange}/{event_ticker}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
]);
$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.oddpool.com/whales/user/events/by-ticker/{exchange}/{event_ticker}"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.oddpool.com/whales/user/events/by-ticker/{exchange}/{event_ticker}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.oddpool.com/whales/user/events/by-ticker/{exchange}/{event_ticker}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
response = http.request(request)
puts response.read_bodyWhale tracking
Remove event
Unsubscribe from an event you are tracking.
DELETE
/
whales
/
user
/
events
/
by-ticker
/
{exchange}
/
{event_ticker}
Remove event
curl --request DELETE \
--url https://api.oddpool.com/whales/user/events/by-ticker/{exchange}/{event_ticker}import requests
url = "https://api.oddpool.com/whales/user/events/by-ticker/{exchange}/{event_ticker}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.oddpool.com/whales/user/events/by-ticker/{exchange}/{event_ticker}', 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.oddpool.com/whales/user/events/by-ticker/{exchange}/{event_ticker}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
]);
$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.oddpool.com/whales/user/events/by-ticker/{exchange}/{event_ticker}"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.oddpool.com/whales/user/events/by-ticker/{exchange}/{event_ticker}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.oddpool.com/whales/user/events/by-ticker/{exchange}/{event_ticker}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
response = http.request(request)
puts response.read_bodyRemoves an event from your “My Events” watchlist. This mirrors Add event: you can unsubscribe with the same
exchange and event_ticker you subscribed with, so rotation scripts never need to look up the internal numeric id.
Path parameters
string
required
kalshi or polymarket.string
required
The event identifier (the search
event_id): a Kalshi event ticker or a Polymarket event slug.Example
curl -X DELETE \
"https://api.oddpool.com/whales/user/events/by-ticker/kalshi/KXBTCD-26JAN01" \
-H "X-API-Key: your_api_key"
import requests
response = requests.delete(
"https://api.oddpool.com/whales/user/events/by-ticker/kalshi/KXBTCD-26JAN01",
headers={"X-API-Key": "your_api_key"},
)
data = response.json()
Response
{
"success": true,
"event_id": 65,
"event_ticker": "KXBTCD-26JAN01",
"platform": "kalshi"
}
Removing by numeric id
If you already have the numericevent_id from List events or Add event, you can delete with it directly.
curl -X DELETE "https://api.oddpool.com/whales/user/events/65" \
-H "X-API-Key: your_api_key"
import requests
response = requests.delete(
"https://api.oddpool.com/whales/user/events/65",
headers={"X-API-Key": "your_api_key"},
)
Errors
| Status | Reason |
|---|---|
400 | Invalid exchange or malformed event_ticker. |
401 | Missing or invalid API key. |
403 | Your plan does not include whale tracking, or your subscription is inactive. |
404 | The event does not exist, or you are not tracking it. |
⌘I