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

# Résultat & settlement

> Score final, statut et règlement par ligne (win/loss/push).



## OpenAPI

````yaml /api-reference/openapi.json get /api/results
openapi: 3.1.0
info:
  title: apinn — Pinnacle Data API
  version: 1.0.0
  description: Cotes Pinnacle en temps réel, format iso Pinnacle Data API.
servers:
  - url: https://api.apinn.io
security:
  - ApiKeyAuth: []
paths:
  /api/results:
    get:
      summary: Résultat & settlement
      description: Score final, statut et règlement par ligne (win/loss/push).
      parameters:
        - name: event_id
          in: query
          required: true
          schema:
            type: integer
          example: 1632370816
      responses:
        '200':
          description: Résultat
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Results'
              example:
                event_id: 1632370816
                score_home: 0
                score_away: 0
                status: ended
                settled_at: '2026-07-16T01:13:02'
                settlement:
                  - line_id: 812345678
                    event_id: 1632370816
                    period: 0
                    market: moneyline
                    line: null
                    outcome_home: loss
                    outcome_draw: win
                    outcome_away: loss
                    score_home: 0
                    score_away: 0
                    settled_at: '2026-07-16T01:13:02'
components:
  schemas:
    Results:
      type: object
      properties:
        event_id:
          type: integer
        score_home:
          type:
            - integer
            - 'null'
        score_away:
          type:
            - integer
            - 'null'
        status:
          type: string
        settled_at:
          type:
            - string
            - 'null'
        settlement:
          type: array
          items:
            $ref: '#/components/schemas/Settlement'
    Settlement:
      type: object
      properties:
        line_id:
          type: integer
        event_id:
          type: integer
        period:
          type: integer
        market:
          type: string
        line:
          type:
            - number
            - 'null'
        outcome_home:
          type:
            - string
            - 'null'
          enum:
            - win
            - loss
            - push
            - null
        outcome_draw:
          type:
            - string
            - 'null'
          enum:
            - win
            - loss
            - push
            - null
        outcome_away:
          type:
            - string
            - 'null'
          enum:
            - win
            - loss
            - push
            - null
        score_home:
          type:
            - integer
            - 'null'
        score_away:
          type:
            - integer
            - 'null'
        settled_at:
          type:
            - string
            - 'null'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````