Documentation
API ReferencePublic API (Betting & Odds)Same Game Parlay

Calculate Same Game Parlay

Calculate combined probability for same game parlay bets

Endpoint overview

Calculate combined probability for same game parlay bets

Route

POST/api/v1/public/events/{eventId}/sgp

Authentication

Required. Use `X-API-KEY` header.

Path Parameters

Path parameters identify the specific resource in the route. Keep these values aligned with the item you want to inspect.

eventIdstringrequired

Event identifier

Responses

Example Response

{
  "data": {
    "combinedOdds": 8.45,
    "combinedProbability": 0.118,
    "correlationAdjustment": 0.92,
    "legs": 3
  }
}
400One of the request parameters is invalid. See the returned message for details.
401Authentication headers are missing or invalid. Make sure you authenticate your request with a valid API key.
403The requested resource is forbidden.
429Too many requests. You hit the rate limit. Use the X-RateLimit headers to confirm when you can retry.
500Internal server error. Retry later, and contact support if the issue persists.

Live API test

POST

Same try-it pattern as OpenAPI reference pages — requests use this site's proxy to avoid CORS.

Language
Enter credentials
URL
https://api.altsportsdata.com/api/v1/public/events/eventId/sgp
Path Parameters
eventId*path · string
Request body

Shell Request

curl -X POST "https://api.altsportsdata.com/api/v1/public/events/eventId/sgp" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{}'

Response

Click Try it to send a request and see the response here.