Calculate SGP Probabilities
Calculate combined probabilities for multiple bets in a Same Game Parlay (SGP) for the event
Endpoint overview
Calculate Same Game Parlay probabilities for combinations tied to a single event.
Use case: evaluate candidate SGP combinations before presenting final bet slip pricing.
Route
POST /api/v1/public/events/{eventId}/sgpParameters (Overview)
| Name | In | Type | Required | Description |
|---|---|---|---|---|
eventId | path | string | Yes | The event ID of the event for which the SGP should be created |
Request body
This endpoint accepts: application/json.
Calculate combined probabilities for multiple bets in a Same Game Parlay (SGP) for the event
Request Body
application/json
Array of odd IDs to combine in the SGP
Parameters for Example Query
Edit path and query inputs below. These values auto-fill from the schema and immediately update the request URL and generated code examples.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
Language
Credentials
Try it runs a real request through this site's proxy (avoids CORS). Pasting your key updates the cURL tab and is sent on Try it.
URL
curl -X POST "https://api.altsportsdata.com/api/v1/public/events/f1:bc8a2ac2-0111-4b99-b402-08a19a731eda/sgp" \ -H "Content-Type: application/json" \ -d '{ "selections": [ "selection-uuid-1", "selection-uuid-2" ] }'Click Try it to send the active example request.
Response static example
{
"viggedProbability": 0.03930197804266736,
"probability": 0.03340668133626725,
"decimalOdds": 25.44
}{
"stack": "string",
"message": "Event not found",
"metadata": {},
"statusCode": 403,
"timestamp": "2023-02-07T19:43:08.187Z"
}{
"message": "string",
"statusCode": 0,
"timestamp": "string"
}{
"stack": "string",
"message": "Event not found",
"metadata": {},
"statusCode": 403,
"timestamp": "2023-02-07T19:43:08.187Z"
}{
"stack": "string",
"message": "Event not found",
"metadata": {},
"statusCode": 403,
"timestamp": "2023-02-07T19:43:08.187Z"
}{
"message": "string",
"statusCode": 0,
"timestamp": "string"
}{
"message": "string",
"statusCode": 0,
"timestamp": "string"
}