> ## Documentation Index
> Fetch the complete documentation index at: https://docs.odds-api.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Odds-API.io REST base URL: https://api.odds-api.io/v3. Authenticate every request with the apiKey query parameter (for example /v3/events?apiKey=YOUR_API_KEY&sport=football). Keep the key server-side.
> For continuously fresh odds use the WebSocket feed at wss://api.odds-api.io/v3/ws (see /guides/websockets); use REST for snapshots and one-off lookups.
> Market names differ by sport. Call GET /v3/markets?sport=<sport> (no key needed) for the exact names instead of guessing them.
> Official SDKs: npm odds-api-io (Node.js/TypeScript), PyPI odds-api-io (Python), Composer odds-api-io/odds-api-php (PHP), go get github.com/odds-api-io/odds-api-go (Go), CRAN oddsapiio (R). MCP server: npx -y odds-api-mcp-server. Prefer them over hand-written HTTP clients.
> The full machine-readable docs are at https://docs.odds-api.io/llms-full.txt and the OpenAPI spec at https://docs.odds-api.io/api-reference/openapi.json.

# Quote a Same Game Parlay

> Quote a Same Game Parlay. Prices 2 to 10 legs of one pre-match event as a same game parlay at each requested bookmaker.



## OpenAPI

````yaml /api-reference/openapi.json post /sgp/quote
openapi: 3.0.0
info:
  description: >-
    Odds-API.io is a powerful sports betting odds comparison API, providing
    real-time data from 450+ bookmakers across 34 sports with near zero latency.


    - 450+ bookmakers supported

    - 34 sports including Football, Basketball, Tennis, Esports and more

    - Real-time odds with close to zero latency

    - Pre-match & In-play odds coverage

    - 99.99% uptime for reliability
  title: Odds-API.io - Real-Time Sports Betting Odds API (v3)
  contact: {}
  version: 3.0.0
servers:
  - url: https://api.odds-api.io/v3
security: []
paths:
  /sgp/quote:
    post:
      tags:
        - Same Game Parlays
      summary: Quote a Same Game Parlay
      description: >-
        Prices 2 to 10 legs of one pre-match event as a same game parlay at each
        requested bookmaker. Legs are legIds from /sgp/legs, or market, hdp,
        label and side exactly as served on /odds. Every requested bookmaker
        gets one entry in quotes, in request order: ok with the bookmaker's
        parlay price, or a status with retryable, nextAction and reason.
        legsMultiplied is the product of the current single prices and
        priceAdjustmentPct how far the parlay price sits from it. Identical
        quotes are cached for 10 seconds (cached: true). At most 2 quotes per
        account run at once; a third answers 429 with Retry-After.
      parameters:
        - description: API key for authentication
          name: apiKey
          in: query
          required: true
          schema:
            type: string
      requestBody:
        required: true
        description: Event, bookmakers and legs to quote. At most 64 KB.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/controllers.SgpQuoteRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/controllers.SgpQuoteResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/controllers.ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/controllers.ErrorResponse'
        '403':
          description: >-
            A free key (same game parlay quotes are available on paid plans), or
            a bookmaker that is not in your plan.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/controllers.ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/controllers.ErrorResponse'
        '429':
          description: >-
            Rate limit exceeded, or 2 quotes already in progress for the
            account. Retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/controllers.ErrorResponse'
        '503':
          description: Service busy. Retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/controllers.ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    controllers.SgpQuoteRequest:
      type: object
      properties:
        bookmakers:
          description: Comma-separated, max 8.
          type: string
          example: DraftKings
        eventId:
          type: integer
          example: 61234567
        legs:
          description: 2 to 10 legs.
          type: array
          items:
            $ref: '#/components/schemas/controllers.SgpQuoteLeg'
          minItems: 2
          maxItems: 10
    controllers.SgpQuoteResponse:
      type: object
      properties:
        eventId:
          type: integer
          example: 61234567
        quotes:
          type: array
          items:
            $ref: '#/components/schemas/controllers.SgpBookQuote'
    controllers.ErrorResponse:
      type: object
      properties:
        error:
          type: string
          example: Error message
    controllers.SgpQuoteLeg:
      description: >-
        A leg is either a legId from /sgp/legs or market, hdp, label and side
        exactly as served on /odds. Do not send both forms in one leg.
      oneOf:
        - title: By legId
          type: object
          required:
            - legId
          additionalProperties: false
          properties:
            legId:
              description: From /sgp/legs.
              type: string
              example: 61234567|Totals|221.5||over
            expectedPrice:
              description: >-
                The single price you saw; the leg is flagged priceMoved when it
                differs.
              type: string
              example: '1.91'
        - title: By market and side
          type: object
          required:
            - market
            - side
          additionalProperties: false
          properties:
            market:
              type: string
              example: Totals
            hdp:
              type: number
              example: 221.5
              description: The line, at most 4 decimals.
            label:
              type: string
            side:
              type: string
              example: over
              enum:
                - home
                - away
                - draw
                - over
                - under
                - 'yes'
                - 'no'
            expectedPrice:
              description: >-
                The single price you saw; the leg is flagged priceMoved when it
                differs.
              type: string
              example: '1.91'
    controllers.SgpBookQuote:
      type: object
      properties:
        bookmaker:
          type: string
          example: DraftKings
        cacheExpiresAt:
          type: string
        cached:
          type: boolean
          example: false
        durationMs:
          type: integer
          example: 640
        jurisdiction:
          type: string
          example: US-WV
        legIds:
          description: >-
            The legs that made the quote fail (always on leg_unavailable; on
            not_combinable and suspended when the bookmaker names them), or on
            ok with reason redundant_leg the legs the bookmaker ignored as
            implied by the others.
          type: array
          items:
            type: string
        legs:
          type: array
          items:
            $ref: '#/components/schemas/controllers.SgpQuoteLegResult'
        legsMultiplied:
          type: string
          example: '15.41'
        links:
          $ref: '#/components/schemas/controllers.SgpQuoteLinks'
        nextAction:
          type: string
          example: change_legs
          enum:
            - change_legs
            - remove_leg
            - refresh_legs
            - retry
            - retry_later
            - choose_other_bookmaker
        price:
          type: string
          example: '12.00'
        priceAdjustmentPct:
          type: string
          example: '-22.1'
        quotedAt:
          type: string
        reason:
          type: string
          description: >-
            A readable sentence for display; branch on status and nextAction. On
            ok the only reason is the code redundant_leg.
          example: The bookmaker does not allow these legs together.
        retryAfter:
          type: integer
        retryable:
          type: boolean
        status:
          type: string
          example: ok
          enum:
            - ok
            - not_combinable
            - leg_unavailable
            - suspended
            - unsupported
            - timeout
            - temporarily_unavailable
    controllers.SgpQuoteLegResult:
      type: object
      properties:
        hdp:
          type: number
          example: 221.5
        legId:
          type: string
          example: 61234567|Totals|221.5||over
        price:
          description: Current single price at this bookmaker.
          type: string
          example: '1.91'
        priceMoved:
          type: boolean
    controllers.SgpQuoteLinks:
      type: object
      properties:
        desktop:
          type: string
          nullable: true
        mobile:
          type: string
          nullable: true
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: apiKey
      description: >-
        Your Odds-API.io API key, sent as the apiKey query parameter. Get one at
        https://odds-api.io/pricing.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.