---
title: "Convert Odds"
method: POST
path: "/v1/convert/odds"
tags: ["convert"]
---

# Convert Odds

`POST /v1/convert/odds`

## Request

- Base URL: `https://api.infersports.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infersports.dev/v1/convert/odds`
- Auth: none declared

## Request body

- ConvertOddsRequest
  - `value` number, required
  - `from` string, required
  - `to` string[], required
  - `bookmaker` string, nullable: Optional bookmaker key (e.g. 'crown') whose Malay-odds rounding to apply; omitted → canonical rounding.

## Response `200`

Successful Response

- ConvertOddsResponse
  - `decimal` number, nullable
  - `hk` number, nullable
  - `malay` number, nullable
  - `american` integer, nullable
  - `indonesian` number, nullable
  - `probability` number, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/infersports/apis/infersports-api.md) · [All operations](https://skmtc.dev/infersports/apis/infersports-api/llms.txt) · [OpenAPI document](https://skmtc.dev/infersports/apis/infersports-api/revisions/1a1c3b357ea7?raw)
