Prices API

How come the prices API only displays the bid and offer prices in percentage format? Maybe I’m wrong here but the results seem to be in the percentage format rather than fractional or decimal, atleast for horse racing selections.

If the responses are only displayed in the percentage format, is there a way to convert it to the decimal format?

In the old oddsfeed.xml, you could get the format in decimal and fractional formats too.

  "31274144": {
    "bids": [
      {
        "price": 6711,
        "quantity": 229197
      },
      {
        "price": 6369,
        "quantity": 866287
      },
      {
        "price": 6289,
        "quantity": 1055422
      }
    ],
    "offers": [
      {
        "price": 7246,
        "quantity": 1364156
      },
      {
        "price": 7752,
        "quantity": 1524454
      },
      {
        "price": 7812,
        "quantity": 2069360
      }
    ]
  },

Hi,

We chose not to display prices in fractional or decimal format in the API as our exchange’s internal systems are built with percentage odds and decimals or fractional would be approximates. You can convert on the client side with the formulas that are provided in the api docs.

Thanks, João

Hey Joao,

Thank you very much!

Instantly found the guide.

Ugnius