api-sports / public-roadmap

82 stars 7 forks source link

Request to improve the functionality of the /odds/live endpoint #241

Open Laterport opened 1 year ago

Laterport commented 1 year ago

Hello! I just wanted to express my appreciation for your API and its well-structured, stable data. It's been really useful for me. There are more than enough information from the pre-match data available. However, I do have a suggestion for improving the /odds/live endpoint. I am sure that it may be in demand not only from me. I really need the data that is currently missing from this endpoint.

Right now, we have a lot of diverse data available for various types of bets from different bookmakers, but only for pre-match events on the /odds endpoint. In my case, I specifically need access to the Goals Over/Under First Half data from 1xBet.

Example of a request to /odds enpoint for getting pre-match data ``` "response": [ { "league": { "id": 39, "name": "Premier League", "country": "England", "logo": "https://media-2.api-sports.io/football/leagues/39.png", "flag": "https://media-1.api-sports.io/flags/gb.svg", "season": 2022 }, "fixture": { "id": 868129, "timezone": "Europe/Budapest", "date": "2023-01-05T23:00:00+01:00", "timestamp": 1672948800 }, "update": "2023-01-05T19:00:27+01:00", "bookmakers": [ { "id": 11, "name": "1xBet", "bets": [ { "id": 6, "name": "Goals Over/Under First Half", "values": [ { "value": "Over 3.5", "odd": "13.00" }, { "value": "Under 3.5", "odd": "1.02" }, { "value": "Over 1.5", "odd": "2.54" }, { "value": "Under 1.5", "odd": "1.49" }, { "value": "Over 4.5", "odd": "67.00" }, { and so on ... ```

The situation changes quite dramatically when we move to the /odds/live endpoint. Unfortunately, there is no longer a choice of bookmakers and the available types of bets are presented as handicaps. I'm not sure why handicaps are being used when we need to count goals by totals. This is a controversial issue, I know, but I'm certain that I need the Goals Over/Under First Half data, at least from some popular bookmakers such as B365, 1xBet or Marathonbet. Could you please let me know if it is possible to implement this feature and, if so, give an estimate for the time frame? Thank you for your attention to this matter.

Example of a request to /odds/live enpoint for getting live data ``` "id": 49, "name": "Over/Under (1st Half)", "values": [ { "value": "Over", "odd": "1.363", "handicap": "1", "main": false, "suspended": false }, { "value": "Under", "odd": "3", "handicap": "1", "main": false, "suspended": false }, { "value": "Over", "odd": "19", "handicap": "4", "main": false, "suspended": false }, { "value": "Under", "odd": "1.02", "handicap": "4", "main": false, "suspended": false }, { and so on ... ```
ninjaroot-509 commented 1 month ago

hello guys! i hope you fine ! any update about this ?