> For the complete documentation index, see [llms.txt](https://docs.odds88.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.odds88.io/integration-process/recommended-integration-flow/optional-features/betbuilder-integration/bet-placement.md).

# Bet Placement

It’s important to note that while BetBuilder has a unique endpoint for fetching prices, the process of bet placement is still done via the betplacement endpoint.

{% content-ref url="/pages/2l7cTFxJAk5U4UAqv2Er" %}
[Bets API](/odds88-client-api/odds88-api-endpoints/bets-api.md)
{% endcontent-ref %}

To perform the placement of a bet, which includes BetBuilder, the client needs to specify the following parameters in the request. `marketId` and `selectionId` should be `-1`\
"**betBuilderBetItems**" should contain a list of markets and selections from BetBuilder bet.

Single BetBuilder bet placement request body example:

```json
{
  "id": "bet-id",
  "player": {...},
  "amount": {
    "currency": "USD",
    "value": 50000,
    "precision": 4
  },
  "priceChange": 1,
  "items": [
    {
      "eventId": 4780136,
      "marketId": -1,
      "selectionId": -1,
      "racingSelection": "",
      "betBuilderBetItems": [
        {
            "marketId": 1,
            "selectionId": 1
        },
        {
          "marketId": 67,
          "selectionId": 20
        }
      ],
    "price": 6.75
    }
  ]
}
```

Multibet bet placement with BetBuilder as one of the legs request example:

```json
{
  "id": "bet-id",
  "player": {...},
  "amount": {
    "currency": "USD",
    "value": 50000,
    "precision": 4
  },
  "priceChange": 1,
  "items": [
    {
      "eventId": 4780136,
      "marketId": -1,
      "selectionId": -1,
      "racingSelection": "",
      "betBuilderBetItems": [
        {
          "marketId": 1,
          "selectionId": 1
        },
        {
          "marketId": 67,
          "selectionId": 20
        }
      ],
      "price": 6.75
    },
    {
      "eventId": 4870489,
      "marketId": 1,
      "selectionId": 1,
      "racingSelection": "",
      "betBuilderBetItems": [],
      "price": 2.76
    }
  ]
}
```
