curl --request GET \
--url https://api-uat.dimetrades.com/api/events/details \
--header 'X-API-Key: <api-key>'import requests
url = "https://api-uat.dimetrades.com/api/events/details"
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-uat.dimetrades.com/api/events/details', 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-uat.dimetrades.com/api/events/details",
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-uat.dimetrades.com/api/events/details"
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-uat.dimetrades.com/api/events/details")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-uat.dimetrades.com/api/events/details")
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{
"data": {
"events": [
{
"id": 5454,
"ticker": "KXEQCA60-2026",
"title": "Will there be a 6.0+ magnitude earthquake in California in 2026?",
"subtitle": null,
"status": "open",
"isFuture": false,
"totalMarketCount": 1,
"activeMarketCount": 1,
"closeAt": "2026-12-31T00:00:00.000Z",
"openAt": null,
"volume": 0,
"totalVolume": null,
"isBookmarked": false,
"rulesSummary": "Resolves YES if the USGS reports an earthquake of magnitude 6.0 or greater with an epicentre in California during 2026. Outcome verified from $USGS_EQ$.",
"category": {
"id": 7,
"name": "Climate",
"imageUrl": null
},
"subcategory": null,
"series": null,
"metaData": {
"templateId": "EQ_CA_M60_yearly",
"assetType": "climate",
"region": "California",
"regionCode": "CA",
"minMagnitude": 6,
"year": 2026,
"links": {
"USGS_EQ": {
"url": "https://earthquake.usgs.gov/earthquakes/map/",
"label": "USGS Earthquake Map"
}
}
},
"markets": [
{
"id": 60497,
"eventId": 5454,
"ticker": "KXEQCA60-2026-M60",
"title": "M6.0+ in California",
"marketDisplayName": null,
"isMain": true,
"line": null,
"marketGroupId": null,
"yesBid": 58,
"yesAsk": 62,
"noBid": 38,
"noAsk": 42,
"currentPrice": 60,
"lastPrice": 60,
"priceDelta": -2,
"status": "open",
"result": null,
"isFuture": false,
"ruleSummary": null,
"metaData": {
"templateId": "EQ_CA_M60_yearly",
"direction": "binary"
}
}
]
}
]
},
"errors": []
}{
"data": {},
"errors": {
"statusCode": 400,
"error": "RequestValidationError",
"message": "email must match format \"email\"",
"code": 1002,
"explanation": "The request input did not pass validation checks."
}
}{
"data": {},
"errors": {
"statusCode": 404,
"error": "OrderNotFound",
"message": "Order not found",
"code": 4001,
"explanation": "The requested order could not be found."
}
}{
"data": {},
"errors": {
"statusCode": 500,
"error": "InternalError",
"message": "Internal Server Error",
"code": 1003,
"explanation": "An unexpected error occurred on the server, Please try again later."
}
}Get event details by ID
Returns full details for a single event, including all its markets and
metadata. X-API-Key is required; a user Bearer token is optional (it
populates isBookmarked).
The event object is identical in shape to the ones returned by
GET /events: sports events group their markets by betting line (each
entry in markets carries its selectable outcomes in outcomes, and is
meant to be rendered as one block), while non-sports events return a flat
list. title, subtitle and rule text may also contain unrendered
placeholders you are expected to substitute — see the guide.
Note the query parameter is a capital-I Id. Lower-case id is
rejected as an unknown parameter.
curl --request GET \
--url https://api-uat.dimetrades.com/api/events/details \
--header 'X-API-Key: <api-key>'import requests
url = "https://api-uat.dimetrades.com/api/events/details"
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-uat.dimetrades.com/api/events/details', 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-uat.dimetrades.com/api/events/details",
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-uat.dimetrades.com/api/events/details"
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-uat.dimetrades.com/api/events/details")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-uat.dimetrades.com/api/events/details")
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{
"data": {
"events": [
{
"id": 5454,
"ticker": "KXEQCA60-2026",
"title": "Will there be a 6.0+ magnitude earthquake in California in 2026?",
"subtitle": null,
"status": "open",
"isFuture": false,
"totalMarketCount": 1,
"activeMarketCount": 1,
"closeAt": "2026-12-31T00:00:00.000Z",
"openAt": null,
"volume": 0,
"totalVolume": null,
"isBookmarked": false,
"rulesSummary": "Resolves YES if the USGS reports an earthquake of magnitude 6.0 or greater with an epicentre in California during 2026. Outcome verified from $USGS_EQ$.",
"category": {
"id": 7,
"name": "Climate",
"imageUrl": null
},
"subcategory": null,
"series": null,
"metaData": {
"templateId": "EQ_CA_M60_yearly",
"assetType": "climate",
"region": "California",
"regionCode": "CA",
"minMagnitude": 6,
"year": 2026,
"links": {
"USGS_EQ": {
"url": "https://earthquake.usgs.gov/earthquakes/map/",
"label": "USGS Earthquake Map"
}
}
},
"markets": [
{
"id": 60497,
"eventId": 5454,
"ticker": "KXEQCA60-2026-M60",
"title": "M6.0+ in California",
"marketDisplayName": null,
"isMain": true,
"line": null,
"marketGroupId": null,
"yesBid": 58,
"yesAsk": 62,
"noBid": 38,
"noAsk": 42,
"currentPrice": 60,
"lastPrice": 60,
"priceDelta": -2,
"status": "open",
"result": null,
"isFuture": false,
"ruleSummary": null,
"metaData": {
"templateId": "EQ_CA_M60_yearly",
"direction": "binary"
}
}
]
}
]
},
"errors": []
}{
"data": {},
"errors": {
"statusCode": 400,
"error": "RequestValidationError",
"message": "email must match format \"email\"",
"code": 1002,
"explanation": "The request input did not pass validation checks."
}
}{
"data": {},
"errors": {
"statusCode": 404,
"error": "OrderNotFound",
"message": "Order not found",
"code": 4001,
"explanation": "The requested order could not be found."
}
}{
"data": {},
"errors": {
"statusCode": 500,
"error": "InternalError",
"message": "Internal Server Error",
"code": 1003,
"explanation": "An unexpected error occurred on the server, Please try again later."
}
}Authorizations
ISV / partner credential — public half. Required on every request.
Identifies the integration partner (ISV) making the call. Issued by Dime
Trades when the ISV is onboarded and sent on every /partner/* endpoint:
X-API-Key: dt_pk_live_7f3c9a2e5b18
- On the two partner endpoints that create accounts or issue tokens (
POST /partner/customers,POST /partner/customers/login), it is accompanied byX-API-Secretand is the only authentication — there is no user token yet. - On every other partner endpoint it is sent alongside the user's
Authorization: Bearer <token>: the API key says which platform is calling, the bearer token says which user it is calling for.
Credentials are scoped to one or more brands; using a key with a brandId outside that scope returns 403. Staging and production keys are separate.
The key identifies your platform — treat it as a backend credential.
Query Parameters
Event ID. Note the capital I — id will not work.
^[0-9]+$"5454"
Restrict markets to one sport-scoped category/tab (e.g. "Player Props") — the id from GET /market-groups. This filters markets only — the requested event is always returned if it exists, regardless of its category. If it has no markets in the requested group (which is always true for non-sports events, since their marketGroupId is always null and can never match), markets comes back as [] rather than the event being dropped or erroring.
^[0-9]+$"48"
Response
Event details returned.
Note the shape: the event is returned inside an events array, exactly as on GET /events, even though this endpoint only ever resolves a single event. Read it as data.events[0], not data. There is no pagination object here — that is the only structural difference between the two endpoints' payloads.
Show child attributes
Show child attributes
