/v1/events
Events (questions) grouping markets
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/kalshi-api/v1/events" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/kalshi-api/v1/events", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/kalshi-api/v1/events");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/kalshi-api/v1/events",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"count": 50,
"events": [
{
"title": "Will Elon Musk visit Mars in his lifetime?",
"category": "World",
"event_ticker": "KXELONMARS-99",
"series_ticker": "KXELONMARS",
"mutually_exclusive": false
},
{
"title": "Who will the next Pope be?",
"category": "Elections",
"event_ticker": "KXNEWPOPE-70",
"series_ticker": "KXNEWPOPE",
"mutually_exclusive": true
},
{
"title": "Will the world pass 2 degrees Celsius over pre-industrial levels before 2050?",
"category": "Climate and Weather",
"event_ticker": "KXWARMING-50",
"series_ticker": "KXWARMING",
"mutually_exclusive": false
},
{
"title": "Will a human land on Mars before California starts high-speed rail?",
"category": "Science and Technology",
"event_ticker": "KXMARSVRAIL-50",
"series_ticker": "KXMARSVRAIL",
"mutually_exclusive": false
},
{
"title": "Will a supervolcano erupt before 2050?",
"category": "Climate and Weather",
"event_ticker": "KXERUPTSUPER-0",
"series_ticker": "KXERUPTSUPER",
"mutually_exclusive": false
},
{
"title": "Will humans colonize Mars before 2050?",
"category": "Science and Technology",
"event_ticker": "KXCOLONIZEMARS-50",
"series_ticker": "KXCOLONIZEMARS",
"mutually_exclusive": false
},
{
"title": "Will Zohran Mamdani become President of the United States before 2045?",
"category": "Elections",
"event_ticker": "KXPERSONPRESMAM-45",
"series_ticker": "KXPERSONPRESMAM",
"mutually_exclusive": false
},
{
"title": "Who will be the next DNC Chair?",
"category": "Politics",
"event_ticker": "KXNEXTDNCCHAIR-45",
"series_ticker": "KXNEXTDNCCHAIR",
"mutually_exclusive": true
},
{
"title": "Who will be named as Xi Jinping's successor?",
"category": "Elections",
"event_ticker": "KXXISUCCESSOR-45JAN01",
"series_ticker": "KXXISUCCESSOR",
"mutually_exclusive": true
},
{
"title": "Will Nick Fuentes become President of the United States before 2045?",
"category": "Elections",
"event_ticker": "KXPERSONPRESFUENTES-45",
"series_ticker": "KXPERSONPRESFUENTES",
"
…