Convert odds
One chance in every odds format, with what $10 wins and the XP a right call would earn.
GEThttps://backd.market/api/v1/oddscached 1 hour
Request
curl "https://backd.market/api/v1/odds?chance=0.58"Parameters
| Name | In | Type | Description |
|---|---|---|---|
chancerequired | query | number | A chance between 0 and 1. Example: 0.58 |
Response
200 OK
{
"ok": true, "chance": 0.58, "wins_on_10": 17.24, "profit_on_10": 7.24, "xp_if_right": 17,
"odds": { "percent": "58%", "decimal": "1.72", "fractional": "8/11", "american": "−138", "price": "58¢" }
}