# Each-Way Betting Integration

**Each-Way markets have** <mark style="color:orange;">IsEW</mark> key in markets extraParameters:\
`Market.ExtraParameters : { "IsEW": "normal" or "handicap" }`\
Value "normal" or "handicap" is used for Place Terms calculation which is described below.

\
**Each-Way market** is mainly targeted for Thoroughbred, Greyhounds and Harness and is a form of wagering that consists of **two separate bets placed on the same racing events selection**:

1. **Win Bet** – the selection must finish **first**.
2. **Place Bet** – the selection must finish **within the specified placing positions.**

If a bettor places **€10 Each-Way**, the wager is structured as:

* **€10 on the selection to win**
* **€10 on the selection to place**

**Total stake:** <mark style="color:$danger;">€20</mark>

### Settlement of Each-Way Bets

The outcome of an Each-Way bet depends on the final finishing position of the selection.

#### 1. Selection Wins (1st Place)

Both parts of the bet are successful:

* The **win portion** is paid at the **full advertised odds**.
* The **place portion** is paid at **reduced odds**, a fraction of the win odds (e.g., 1/4 or 1/5)

#### 2. Selection Places but Does Not Win

* The **win portion loses**.
* The **place portion wins** at the applicable **place odds fraction**.

#### 3. Selection Finishes Outside the Place Positions

* Both the **win and place portions lose**.

#### 4. Selection is Scratched

* Both the **win and place portions are refunded**.

#### 5. A Scratching Happens in the Race

* Deductions get applied that **will affect the payout for 1. and 2. point above**.

### Place Terms

The number of finishing positions that qualify as a **place** depends on the **type of event and number of participants**.&#x20;

The **place odds** are calculated as a **fraction of the win odds** (for example, 1/4 or 1/5).\
\
**Calculation formula** for Each-Way place odds: \
(Win Odds - 1) / Fraction Denominator + 1 = Place Odds

| Number of Participants  | Places Paid | Place Terms                       (Fraction Denominator) |
| ----------------------- | ----------- | -------------------------------------------------------- |
| 1–4 Runners             | Top 1       | Win Only                                                 |
| 5–7 Runners             | Top 2       | 1/4th of the odds (4)                                    |
| Non Handicap 8+ Runners | Top 3       | 1/5th of the odds (5)                                    |
| Handicap 8-11 Runners   | Top 3       | 1/5th of the odds (5)                                    |
| Handicap 12-15 Runners  | Top 3       | 1/4th of the odds (4)                                    |
| Handicap 16+ Runners    | Top 4       | 1/4th of the odds (4)                                    |

## Scratchings and Deductions

If a **runner is scratched (withdrawn)** from the race **after a bet has been placed**, **deductions may apply**.

**Key principles:**

* **Deductions reduce potential winnings, not the original odds displayed at the time of the bet.**
* **Deductions apply separately to both the Win and Place parts of an Each-Way bet.**
* **If multiple runners are scratched, the deductions are cumulative and added together.**

These deductions are applied to **any returns** if the selection wins or places.

### Place Terms

**If the number of runners decreases after scratchings and fewer places are paid, the place portion of the bet is not automatically refunded.**

* The **stake and odds remain unchanged**
* Only the **number of paid placing positions and potential payout conditions change**

### Impact of Scratchings on Place Terms

#### 5–7 Runner Races

If a scratching reduces the field size so that **place betting no longer applies**:

* The **Place portion of the Each-Way bet is refunded**.
* The **Win portion remains valid**.

However:

* **Deductions still apply to the Win portion** due to the scratched runner.

#### 7–8 Runner Races

If the race originally qualifies for **Top 3 places** but **one runner is scratched**, reducing the field:

* The race may now only pay **Top 2 places**.
* The **Place part of the Each-Way bet remains active and is not refunded**.
* The selection must now finish **Top 2** to win the Place portion.

## Summary of Key Rules

* **Initial stake needs to be sent as doubled**
* **Each-Way bet = Win bet + Place bet**
* **Scratchings may trigger deductions**
* **Deductions reduce winnings, not the odds**
* **Deductions apply to both Win and Place parts**
* **Multiple scratchings result in cumulative deductions**
* **Place terms depend on the final number of runners**
* **Changes in field size can reduce the number of paid places**
* **Place bets are only refunded if the race no longer qualifies for place betting**

### API snapshot of Each-Way market:

```json
    {
      "id": 71356478,
      "name": "Each way",
      "tradingStatus": 0,
      "selections": [
        {
          "id": 43256028,
          "name": "Magic Carats",
          "probability": 0.46219265,
          "price": 0,
          "originalPrice": 0,
          "status": 1,                // Scratched selection
          "settlement": 0,
          "deadHeatFactor": 0,
          "extraParameters": {
            "CompetitorId": "864348",
            "EWPlacePrice": "0.8"
          },
          "isBetBuilderSupported": false,
          "competitorId": 864348
        },
        {
          "id": 41009286,
          "name": "Invasore",
          "probability": 0.07579959,
          "price": 5.5,               // Price that needs to be sent in Each-Way bet request
          "originalPrice": 5.5,
          "status": 0,
          "settlement": 0,
          "deadHeatFactor": 0,
          "extraParameters": {
            "CompetitorId": "651667",
            "EWPlacePrice": "1.9".    // Each-Way place price, used for Place calculation
          },
          "isBetBuilderSupported": false,
          "competitorId": 651667
        },
        {
          "id": 43001466,
          "name": "Ginger Fizz",
          "probability": 0.011647254,
          "price": 34,
          "originalPrice": 34,
          "status": 0,
          "settlement": 0,
          "deadHeatFactor": 0,
          "extraParameters": {
            "CompetitorId": "845302",
            "EWPlacePrice": "7.6"
          },
          "isBetBuilderSupported": false,
          "competitorId": 845302
        },
        {
          "id": 47631768,
          "name": "Newhaven Prince",
          "probability": 0.12987614,
          "price": 3.3,
          "originalPrice": 3.3,
          "status": 0,
          "settlement": 0,
          "deadHeatFactor": 0,
          "extraParameters": {
            "CompetitorId": "1094833",
            "EWPlacePrice": "1.46"
          },
          "isBetBuilderSupported": false,
          "competitorId": 1094833
        },
        {
          "id": 47609717,
          "name": "Billionaire's Row",
          "probability": 0.054076537,
          "price": 7.5,
          "originalPrice": 7.5,
          "status": 0,
          "settlement": 0,
          "deadHeatFactor": 0,
          "extraParameters": {
            "CompetitorId": "1093390",
            "EWPlacePrice": "2.3"
          },
          "isBetBuilderSupported": false,
          "competitorId": 1093390
        },
        {
          "id": 40526804,
          "name": "Luna Ballet",
          "probability": 0.12201886,
          "price": 3.5,
          "originalPrice": 3.5,
          "status": 0,
          "settlement": 0,
          "deadHeatFactor": 0,
          "extraParameters": {
            "CompetitorId": "621658",
            "EWPlacePrice": "1.5"
          },
          "isBetBuilderSupported": false,
          "competitorId": 621658
        },
        {
          "id": 39848162,
          "name": "I'm Back Baby",
          "probability": 0.004621926,
          "price": 91,
          "originalPrice": 91,
          "status": 0,
          "settlement": 0,
          "deadHeatFactor": 0,
          "extraParameters": {
            "CompetitorId": "548439",
            "EWPlacePrice": "19"
          },
          "isBetBuilderSupported": false,
          "competitorId": 548439
        },
        {
          "id": 47433661,
          "name": "Bambun Girl",
          "probability": 0.021260861,
          "price": 18,
          "originalPrice": 18,
          "status": 0,
          "settlement": 0,
          "deadHeatFactor": 0,
          "extraParameters": {
            "CompetitorId": "1088238",
            "EWPlacePrice": "4.4"
          },
          "isBetBuilderSupported": false,
          "competitorId": 1088238
        },
        {
          "id": 43645483,
          "name": "Queen Selyse",
          "probability": 0.100757994,
          "price": 4.2,
          "originalPrice": 4.2,
          "status": 0,
          "settlement": 0,
          "deadHeatFactor": 0,
          "extraParameters": {
            "CompetitorId": "885946",
            "EWPlacePrice": "1.64"
          },
          "isBetBuilderSupported": false,
          "competitorId": 885946
        },
        {
          "id": 46552572,
          "name": "Impending Lass",
          "probability": 0.009798484,
          "price": 41,
          "originalPrice": 41,
          "status": 0,
          "settlement": 0,
          "deadHeatFactor": 0,
          "extraParameters": {
            "CompetitorId": "981591",
            "EWPlacePrice": "9"
          },
          "isBetBuilderSupported": false,
          "competitorId": 981591
        },
        {
          "id": 47695612,
          "name": "Princess Toronado",
          "probability": 0.007949714,
          "price": 51,
          "originalPrice": 51,
          "status": 0,
          "settlement": 0,
          "deadHeatFactor": 0,
          "extraParameters": {
            "CompetitorId": "1097137",
            "EWPlacePrice": "11"
          },
          "isBetBuilderSupported": false,
          "competitorId": 1097137
        }
      ],
      "type": 16517745,
      "isBestLine": false,
      "parameters": {},
      "extraParameters": {
        "MarketFeatures": "EachWay",
        "LastScratchedAt": "2026-03-17T11:36:06.8270000Z",  // When last scratching happened
        "ScratchedPositions": "[0]",  // Showing competitor 1 as scratched, counting from 0
        "IsExotics": "false",
        "IsFixedExotics": "false",
        "IsEW": "normal",  // Each-Way market indicator. 
                           // Value "normal" or "handicap" is used for Place Terms
        "Runners": "11" // Amount of runners in event, used for Place Terms
      },
      "isBetBuilderSupported": false
    }
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.odds88.io/integration-process/recommended-integration-flow/optional-features/each-way-betting-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
