Pinnacle Odds

FREEMIUM
By Tipsters CO | Updated 4일 전 | Sports
Popularity

9.9 / 10

Latency

124ms

Service Level

100%

Health Check

100%

Back to All Discussions

Last parameter

Good day! Are you going to implement the original way of odds feed with the Last (From) parameter which returns only changed odds since then?
Rapid account: Tipsters
tipsters Commented 3년 전

We made it to new endpoints! Hooray!

Rapid account: Bases Lby KE 5 Jwd Qs
bases-LbyKE5JwdQs Commented 3년 전

No, two separate gateways for events list and odds would be enough, like:

request: api_url.com/getEvents?sport_id=1
Shows all upcoming events that have 1x2 odds among all leagues.
response:
[
[
“league”: “Argentina-Liga pro”,
“teams”: “Defensa Y Justicia - CA Central Cordoba”,
“start_ts”: 53809837,
“event_id”: 44333892
]
[
“league”: “France - Ligue 1”,
“teams”: “Lorient - Lille”,
“start_ts”: 53801000,
“event_id”: 23534626
]
[
“league”: “Korea Republic - K League 1”,
“teams”: “Seongnam - Daegu”,
“start_ts”: 56608000,
“event_id”: 56731255
]
]

request: api_url.com/getHAOdds?since=545243645&sport_id=1
Shows all 1x2 odds that have been changes since “since” timestamp parameter among all leagues.
Pinnacle uses not timestamp but some kind of other “since” number which is also possible to implement if timestamp is not good for some reason.
if “since” parameter is not set - return 1x2 odds for all upcoming events. Pinnacle restricts calling without since to one request in a minute, but with since parameter - one in a 8-10 second from my memory.

response:
[
[
“event_id”: 56731255,
“home”: 3.81,
“draw”: 3.42,
“away”: 2.08,
“last”: 545243645
]
[
“event_id”: 23534626,
“home”: 4.42,
“draw”: 3.48,
“away”: 1.92,
“last”: 545243645
]
[
“event_id”: 56731255,
“home”: 1.88,
“draw”: 3.57,
“away”: 4.39,
“last”: 545243645
]
]

Rapid account: Tipsters
tipsters Commented 3년 전

I did not quite understand.
You want to get all upcoming matches and moneyline odds with one request?
In the second version, you can get all the upcoming matches.

Rapid account: Bases Lby KE 5 Jwd Qs
bases-LbyKE5JwdQs Commented 3년 전

I definitely want to get your API once it has an interface to get:

  1. The list of the future events which have moneyline odds
  2. The list of moneyline odds for all future events

And both request could get ‘since’ parameter so I don’t have to save all the repeated data but only changes.
This could help to get a snapshot of the current events and odds for the upcoming matches and reduce server’s payload.

Unfortunately, I couldn’t find the way to send you PM here, so if you’ll implement these features, could you notify me? I’d like to buy API then.

Rapid account: Tipsters
tipsters Commented 3년 전

It’s just that the data that Pinnacle provides us for its partners is very limited by the sports, and the data format. I think he did it so that everyone would use his official version.
I plan to resolve the issue with obtaining all the coefficients.
You can write in private messages.

Rapid account: Bases Lby KE 5 Jwd Qs
bases-LbyKE5JwdQs Commented 3년 전

I was successfully parsing them every 10 seconds until they’ve became paid service. So if you’d be able to implement the same way as Pinnacle does (two endpoints, first returns All matches, second - All odds taking Since parameter and also for Odds would be useful ‘line-filter’, for example I need moneyline only) that would be great!

For now, I can’t even get odds from the leagues starting with ‘A’ letter within 60 seconds 😃

Do you have any other contact details ?

Rapid account: Tipsters
tipsters Commented 3년 전

We plan to. But they are updated so often that you have to implement a websocket in some way.
There are no historical ones. But there are companies that can provide you with them.

Rapid account: Bases Lby KE 5 Jwd Qs
bases-LbyKE5JwdQs Commented 3년 전

Never did it before, using PHP + JS to invoke parsing with interval. Is this Last parameter already available? Also I wonder if it’s possible to buy some historical data ?

Rapid account: Tipsters
tipsters Commented 3년 전

Hi. Yes, + add live odds.
Do you have the ability to use a websocket?

Join in the discussion - add comment below:

Login / Signup to post new comments