Event Insights

Sport event insights related endpoints

Get event insights

get
/api/sports/insights

Returns available insights for the given event

Get insights example

In this example we return insights for the given soccer event.

$ curl --request GET \
  --url 'http://api.vaix.ai/api/sports/insights?event_id=sr%3Amatch%3A42948647'

Supported sports and leagues

The endpoint currently supports insights for Soccer events. Also, it supports insights for the NBA, MLB, NFL and NHL leagues.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
event_idsstringRequired

The events for which we want the insights

Header parameters
x-vaix-client-idstringRequired

Custom client header, the value should be the name of the group the user belongs to

x-vaix-authentication-methodstringOptional

Authentication method to be used, supported values [vaix, iam]. Defaults to vaix

Responses
200

OK

application/json
get
/api/sports/insights
GET /api/sports/insights?event_ids=text HTTP/1.1
Host: api.vaix.ai
Authorization: Bearer YOUR_SECRET_TOKEN
x-vaix-client-id: text
Accept: */*
{
  "data": {
    "4321": [
      {
        "api": "radar_360_api",
        "content": "Kyle Schwarber is 1 home run away from reaching 20 in the 2024 season. This would be his 7th time reaching 20 home runs in a single season and the last time he did so was in the 2023 season. Heading into today, Kyle Schwarber would be the first to reach 20 home runs this season.",
        "insight_type": "event_milestone",
        "market_type_ids": []
      },
      {
        "api": "radar_360_api",
        "content": "Kyle Schwarber is 8 strikeouts away from reaching 125 in the 2024 season. This would be his 7th time reaching 125 strikeouts in a single season and the last time he did so was in the 2023 season. Heading into today, Kyle Schwarber would be the first to reach 125 strikeouts this season.",
        "insight_type": "home_milestone",
        "market_type_ids": []
      },
      {
        "api": "radar_360_api",
        "content": "David Fry is 1 double away from reaching 15 in the 2024 season. This would be his first time reaching 15 doubles in a single season. Heading into today, only 6 other players have reached 15 doubles this season.",
        "insight_type": "away_milestone",
        "market_type_ids": []
      },
      {
        "api": "radar_360_api",
        "content": "PHI @ MIN: 50% of analysts predict the Phillies to win.",
        "insight_type": "home_expert_pick",
        "market_type_ids": []
      },
      {
        "api": "radar_360_api",
        "content": "DET @ CLE: 60% of analysts predict the Tigers to win.",
        "insight_type": "away_expert_pick",
        "market_type_ids": []
      },
      {
        "api": "radar_360_api",
        "content": "Weston Wilson has set his career high with 3 hits. His previous career high was 2 hits.",
        "insight_type": "home_high",
        "market_type_ids": []
      },
      {
        "api": "radar_360_api",
        "content": "Gavin Williams has set his season high with 6 pitcher strikeouts. His previous season high was 5 pitcher strikeouts.",
        "insight_type": "away_high",
        "market_type_ids": []
      },
      {
        "api": "radar_360_api",
        "content": "The Philadelphia Phillies are 3-2 (.600) at home over their last 5 games.",
        "insight_type": "home_team_betting_trend",
        "market_type_ids": []
      },
      {
        "api": "radar_360_api",
        "content": "The over hit in 2 of the Cleveland Guardians last 5 games as an underdog.",
        "insight_type": "away_team_betting_trend",
        "market_type_ids": []
      }
    ]
  },
  "status": "success"
}

Was this helpful?