Metadata API

Getting event supplementary data

Metadata API can be used to fetch supplementary information about specific sport event.

Gets metadata of specific type and version for a specific event.

get
Authorizations
HTTPRequired

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Path parameters
eventIdinteger · int64Required

TradeArt event id.

dataTypestringRequired

Metadata type.

Query parameters
versioninteger · int64Optional

Expected version of metadata. Will return latest if not specified.

Responses
200

OK

get
/api/Metadata/event/{dataType}/{eventId}
GET /api/Metadata/event/{dataType}/{eventId} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "eventId": 1,
  "sportId": 1,
  "dataType": "text",
  "version": 1,
  "data": null,
  "creationTime": "2025-12-05T16:59:17.821Z"
}

Gets known metadata types for a specific sport.

get
Authorizations
HTTPRequired

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Path parameters
sportIdinteger · int64Required

TradeArt sport id.

Responses
200

OK

Responsestring[]
get
/api/Metadata/sport/types/{sportId}
GET /api/Metadata/sport/types/{sportId} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  "text"
]

Gets all latest metadata for a specific event.

get
Authorizations
HTTPRequired

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Path parameters
eventIdinteger · int64Required

TradeArt event id.

Responses
200

OK

get
/api/Metadata/event/all/{eventId}
GET /api/Metadata/event/all/{eventId} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "eventId": 1,
    "sportId": 1,
    "dataType": "text",
    "version": 1,
    "data": null,
    "creationTime": "2025-12-05T16:59:17.821Z"
  }
]

Gets all existing metadata types for a specific event.

get
Authorizations
HTTPRequired

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Path parameters
eventIdinteger · int64Required

TradeArt event id.

Responses
200

OK

Responsestring[]
get
/api/Metadata/event/types/{eventId}
GET /api/Metadata/event/types/{eventId} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  "text"
]

Last updated