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

# Fixture Settlement

> Get settlements for a fixture.

Lookup mode: required `fixtureId` + optional `outcomeId`, optional `playerId`.



## OpenAPI

````yaml /api-reference/openapi.json get /fixtures/settlement
openapi: 3.1.0
info:
  title: Odds API v5
  version: 5.0.0
  description: High-performance odds API backed by Valkey + Supabase RPC discovery.
servers:
  - url: https://v5.oddspapi.io/en
security:
  - ApiKeyAuth: []
tags:
  - name: common
  - name: fixtures
  - name: fixtures/odds
  - name: futures
  - name: futures/odds
  - name: mapping
  - name: media
  - name: settlement
paths:
  /fixtures/settlement:
    get:
      tags:
        - settlement
      summary: Fixture Settlement
      description: >-
        Get settlements for a fixture.


        Lookup mode: required `fixtureId` + optional `outcomeId`, optional
        `playerId`.
      operationId: fixtures_settlement__lang__fixtures_settlement_get
      parameters:
        - $ref: '#/components/parameters/fixtureIdStringRequired'
        - name: outcomeId
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
          description: 'Optional: restrict settlements to a single outcomeId.'
        - name: playerId
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
          description: 'Optional: restrict settlements to a single playerId.'
      responses:
        '200':
          description: Returns FixtureSettlementResponse (fixture meta + settlements[])
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FixtureSettlementResponse'
              examples:
                example:
                  summary: Fixture settlement
                  value:
                    fixtureId: id1400003160574219
                    status:
                      live: false
                      statusId: 2
                      statusName: Finished
                    sport:
                      sportId: 14
                      sportName: American Football
                    tournament:
                      tournamentId: 31
                      tournamentName: NFL
                      categoryName: USA
                    season:
                      seasonId: null
                      seasonName: null
                      seasonRound: null
                    venue:
                      venueId: null
                      venueName: null
                      venueLocation: null
                    startTime: 1766685600
                    trueStartTime: '2025-12-25T18:00:17.744256+00:00'
                    trueEndTime: '2025-12-25T21:09:09.345372+00:00'
                    participants:
                      participant1Id: 4423
                      participant1RotNr: null
                      participant1Name: Minnesota Vikings
                      participant1ShortName: Vikings
                      participant1Abbr: null
                      participant2Id: 4419
                      participant2RotNr: null
                      participant2Name: Detroit Lions
                      participant2ShortName: Lions
                      participant2Abbr: null
                    scores:
                      result:
                        period: result
                        participant1Score: 23
                        participant2Score: 30
                        updatedAt: '2025-12-25T20:59:04.218194+00:00'
                    clock:
                      currentPeriod: null
                      currentTime: null
                      remainingTime: null
                      remainingTimeInPeriod: null
                      stopped: null
                    expectedPeriods: 4
                    periodLength: 15
                    externalProviders:
                      betgeniusId: 12281950
                      betradarId: 60574219
                      flashscoreId: lWoCl15F
                      mollybetId: 2025-12-25,10050390,21622
                      opticoddsId: 20251225B0C134B3
                      pinnacleId: 1621042823
                      sofascoreId: 13897686
                    settlements:
                      - marketId: 141
                        marketType: 1x2
                        outcomeId: 142
                        playerId: 0
                        status: WIN
                        team1Score: 23
                        team2Score: 30
                        periods:
                          - fulltime
                        margin: 7
                      - marketId: 141
                        marketType: 1x2
                        outcomeId: 141
                        playerId: 0
                        status: LOSE
                        team1Score: 23
                        team2Score: 30
                        periods:
                          - fulltime
                        margin: -7
        '400':
          $ref: '#/components/responses/ApiError'
        '401':
          $ref: '#/components/responses/ApiError'
        '403':
          $ref: '#/components/responses/ApiError'
        '404':
          $ref: '#/components/responses/ApiError'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/ApiError'
components:
  parameters:
    fixtureIdStringRequired:
      name: fixtureId
      in: query
      required: true
      schema:
        type: string
      description: Single fixture ID (e.g. id1400003160574219).
  schemas:
    FixtureSettlementResponse:
      allOf:
        - $ref: '#/components/schemas/Fixture'
        - type: object
          properties:
            settlements:
              type: array
              items:
                $ref: '#/components/schemas/SettlementItem'
          required:
            - settlements
          additionalProperties: true
    Fixture:
      type: object
      properties:
        fixtureId:
          type: string
          description: >-
            Fixture identifier:
            `{providerSlug}{sportId}{tournamentId}{nativeId}` — see Core
            Concepts → ID structure.
        status:
          $ref: '#/components/schemas/Status'
          description: Lifecycle status of the fixture.
        sport:
          $ref: '#/components/schemas/SportRef'
          description: Sport reference.
        tournament:
          $ref: '#/components/schemas/TournamentRef'
          description: Tournament reference.
        season:
          $ref: '#/components/schemas/SeasonRef'
          description: Season reference, when resolved.
        venue:
          $ref: '#/components/schemas/VenueRef'
          description: Venue reference, when known.
        startTime:
          type: integer
          description: Epoch seconds (UTC).
        trueStartTime:
          type:
            - string
            - 'null'
          description: >-
            Actual start time (ISO 8601), once known — may differ from the
            scheduled `startTime`.
        trueEndTime:
          type:
            - string
            - 'null'
          description: Actual end time (ISO 8601), once known.
        participants:
          $ref: '#/components/schemas/ParticipantsRef'
          description: Both participants with names, rotation numbers and abbreviations.
        scores:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ScorePeriod'
          description: Score rows keyed by period (`result`, `p1`, …).
        clock:
          anyOf:
            - $ref: '#/components/schemas/Clock'
            - type: 'null'
          description: Live match clock, while in play.
        expectedPeriods:
          type:
            - integer
            - 'null'
          description: >-
            Number of regular periods expected for this fixture — use it (with
            `periodLength`) to interpret period keys per sport/league.
        periodLength:
          type:
            - integer
            - 'null'
          description: Length of a regular period in minutes.
        externalProviders:
          $ref: '#/components/schemas/ExternalProviders'
          description: >-
            Native identifiers of this fixture at external providers (betradar,
            pinnacle, …).
        bookmakers:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/BookmakerFixtureMeta'
          description: >-
            Per-bookmaker availability and freshness metadata. Contains only
            bookmakers that currently offer valid realtime odds for this
            fixture. Present on fixture and odds endpoints; omitted on CLV,
            historical-odds and settlement responses.
      required:
        - fixtureId
        - status
        - sport
        - tournament
        - season
        - venue
        - startTime
        - participants
        - scores
        - clock
        - externalProviders
      additionalProperties: true
    SettlementItem:
      type: object
      properties:
        marketId:
          type:
            - integer
            - 'null'
          description: Frozen market identifier the settlement refers to.
        marketType:
          type:
            - string
            - 'null'
          description: Market-type taxonomy value of the settled market.
        outcomeId:
          type:
            - integer
            - 'null'
          description: Frozen outcome identifier being graded.
        playerId:
          type:
            - integer
            - 'null'
          description: Player the settlement refers to; `0` for non-player markets.
        status:
          type:
            - string
            - 'null'
          description: >-
            Settlement grade: `WIN`, `LOSE`, `PUSH`, `HALFWIN`, `HALFLOSS`,
            `CANCELLED` or `UNDECIDED` — see Enumerations.
        margin:
          type:
            - number
            - 'null'
          description: Winning margin used for grading, when applicable.
        team1Score:
          type:
            - integer
            - 'null'
          description: Final score of participant 1 used for grading.
        team2Score:
          type:
            - integer
            - 'null'
          description: Final score of participant 2 used for grading.
        periods:
          type:
            - array
            - 'null'
          items:
            type: string
          description: Per-period scores used to grade period markets.
        reason:
          type:
            - string
            - 'null'
          description: >-
            Human-readable explanation — present on `CANCELLED` / `UNDECIDED`
            grades.
      additionalProperties: true
    Error:
      type: object
      description: Concrete error format returned by this API (no FastAPI detail wrapper).
      properties:
        error:
          type: integer
          description: HTTP status code
        message:
          type: string
          description: Human-readable error message
        details:
          description: Optional extra details (string/object/array depending on the error).
        reason:
          type: string
          description: Machine-readable reason code
      required:
        - error
        - message
      additionalProperties: true
    HTTPValidationError:
      title: HTTPValidationError
      type: object
      properties:
        detail:
          title: Detail
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
          description: List of validation errors.
    Status:
      type: object
      properties:
        live:
          type: boolean
          description: Convenience flag — true only while in play (`statusId` 1).
        statusId:
          type: integer
          description: >-
            Lifecycle status: `0` pregame, `1` live, `2` finished, `3`
            cancelled. Moves forward only — always branch on this ID.
        statusName:
          type: string
          description: >-
            Translated display label for the status. For logic, branch on
            `statusId`, never on this string.
      required:
        - live
        - statusId
        - statusName
      additionalProperties: true
    SportRef:
      type: object
      properties:
        sportId:
          type: integer
          description: Numeric sport identifier.
        sportName:
          type: string
          description: Sport display name, translated per the request language prefix.
      required:
        - sportId
        - sportName
      additionalProperties: true
    TournamentRef:
      type: object
      properties:
        tournamentId:
          type: integer
          description: Numeric tournament identifier.
        tournamentName:
          type: string
          description: Tournament display name, translated per the request language prefix.
        categoryName:
          type:
            - string
            - 'null'
          description: Category (usually country/region) display name, translated.
      required:
        - tournamentId
        - tournamentName
      additionalProperties: true
    SeasonRef:
      type: object
      properties:
        seasonId:
          type:
            - integer
            - 'null'
          description: Numeric season identifier, when known.
        seasonName:
          type:
            - string
            - 'null'
          description: Season display name, translated.
        seasonRound:
          type:
            - integer
            - 'null'
          description: Round number within the season, when applicable.
      additionalProperties: true
    VenueRef:
      type: object
      properties:
        venueId:
          type:
            - integer
            - 'null'
          description: Numeric venue identifier, when known.
        venueName:
          type:
            - string
            - 'null'
          description: Venue display name, translated.
        venueLocation:
          type:
            - string
            - 'null'
          description: Venue location (city), translated.
      additionalProperties: true
    ParticipantsRef:
      type: object
      properties:
        participant1Id:
          type: integer
          description: Identifier of participant 1 (home / first-listed side).
        participant1RotNr:
          type:
            - integer
            - 'null'
          description: >-
            Rotation number of participant 1 (US-book convention), when
            available.
        participant1Name:
          type:
            - string
            - 'null'
          description: Full name of participant 1, translated.
        participant1ShortName:
          type:
            - string
            - 'null'
          description: Short name of participant 1.
        participant1Abbr:
          type:
            - string
            - 'null'
          description: Abbreviation of participant 1.
        participant2Id:
          type: integer
          description: Identifier of participant 2 (away / second-listed side).
        participant2RotNr:
          type:
            - integer
            - 'null'
          description: >-
            Rotation number of participant 2 (US-book convention), when
            available.
        participant2Name:
          type:
            - string
            - 'null'
          description: Full name of participant 2, translated.
        participant2ShortName:
          type:
            - string
            - 'null'
          description: Short name of participant 2.
        participant2Abbr:
          type:
            - string
            - 'null'
          description: Abbreviation of participant 2.
      required:
        - participant1Id
        - participant2Id
      additionalProperties: true
    ScorePeriod:
      type: object
      properties:
        period:
          type: string
          description: >-
            Period key this score row refers to (`result` = overall scoreline;
            see Enumerations).
        participant1Score:
          type: integer
          description: Score of participant 1 for this period.
        participant2Score:
          type: integer
          description: Score of participant 2 for this period.
        updatedAt:
          type: string
          description: When this score value last changed.
      required:
        - period
        - participant1Score
        - participant2Score
        - updatedAt
      additionalProperties: true
    Clock:
      type: object
      properties:
        currentPeriod:
          type:
            - string
            - 'null'
          description: >-
            Period key currently being played (see the period vocabulary in
            Enumerations).
        currentTime:
          type:
            - string
            - 'null'
          description: Elapsed match time, `mm:ss`.
        remainingTime:
          type:
            - string
            - 'null'
          description: Remaining match time, `mm:ss` (count-down sports).
        remainingTimeInPeriod:
          type:
            - string
            - 'null'
          description: Remaining time in the current period, `mm:ss`.
        stopped:
          type:
            - boolean
            - 'null'
          description: True while the match clock is stopped.
      additionalProperties: true
    ExternalProviders:
      type: object
      additionalProperties: true
    BookmakerFixtureMeta:
      type: object
      properties:
        bookmaker:
          type: string
          description: Bookmaker slug.
        bookmakerFixtureId:
          type:
            - string
            - 'null'
          description: Native fixture identifier at the bookmaker.
        fixturePath:
          type:
            - string
            - 'null'
          description: Path of the fixture page on the bookmaker's site, when known.
        hasOdds:
          type: boolean
          description: True if the bookmaker currently publishes odds for this fixture.
        staleOdds:
          type: boolean
          description: >-
            Critical for trading: true if the connection to this bookmaker was
            lost or interrupted, so odds freshness can no longer be guaranteed.
        staleOddsResponseCode:
          type:
            - integer
            - 'null'
          description: HTTP status code observed during the staleness check, when any.
        suspended:
          type: boolean
          description: True while the bookmaker has suspended betting on this fixture.
        participantsRotated:
          type: boolean
          description: >-
            True if the bookmaker lists the participants in the opposite order
            (participant 1/2 swapped) relative to OddsPapi.
        meta:
          type:
            - object
            - 'null'
          additionalProperties: true
          description: Bookmaker-specific metadata.
        updatedAt:
          type: string
          description: When this bookmaker meta last changed.
      required:
        - bookmaker
        - hasOdds
        - staleOdds
        - suspended
        - participantsRotated
        - updatedAt
      additionalProperties: true
    ValidationError:
      title: ValidationError
      type: object
      required:
        - loc
        - msg
        - type
      properties:
        loc:
          title: Location
          type: array
          items:
            anyOf:
              - type: string
              - type: integer
          description: Location of the invalid parameter (path segments).
        msg:
          title: Message
          type: string
          description: Human-readable validation message.
        type:
          title: Error Type
          type: string
          description: Machine-readable error type.
  responses:
    ApiError:
      description: API error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            invalid_filters:
              summary: Invalid filters
              value:
                error: 400
                message: Invalid filters.
                reason: invalid_filters
            invalid_api_key:
              summary: Invalid apiKey
              value:
                error: 401
                message: invalid apiKey
                reason: invalid_api_key
            rate_limited:
              summary: Rate limited
              value:
                error: 429
                message: rate limit exceeded
                reason: rate_limited
                retryAfterSec: 1
    ValidationError:
      description: Validation Error (framework-level)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/HTTPValidationError'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: apiKey
      description: Your API key (query-based auth for v5).

````