Documentation Index
Fetch the complete documentation index at: https://docs.novig.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
When working with the Novig API, it’s important to understand how outcomes are organized. The order of outcomes in an array does not determine their meaning—theindex field does.
The Index Field
Each outcome object contains anindex field that identifies which side of the market it represents:
| Index | Meaning |
|---|---|
0 | Home / Yes side |
1 | Away / No side |
Example
Consider this response from the API:- The first item in the
outcomesarray (14e8323b-...) hasindex: 1, making it the Away/No side - The second item in the
outcomesarray (c84fa737-...) hasindex: 0, making it the Home/Yes side
Market Type Mapping
The meaning ofindex: 0 depends on the market type:
| Market Type | Index 0 | Index 1 |
|---|---|---|
MONEY | Home | Away |
SPREAD | Home | Away |
TOTAL | Over | Under |
TEAM_TOTAL | Over | Under |
For game-level markets (MONEY, SPREAD), index 0 always corresponds to the home team. For totals and player props, index 0 corresponds to the Over or Yes side.
