What it returns
Live cross-bookmaker price for a same-game multi of two or more legs. Requires the Pro plan. Never cached.
Request body
sportrequiredSport key, lower case.
homerequiredHome team name.
awayrequiredAway team name.
legsrequiredTwo or more player-prop legs from the same game. Each leg names the player, the stat, the line and the side, e.g. {"player": "Nick Daicos", "stat": "DISP", "line": 29.5, "side": "OVER"}. A line of "30+" is 29.5.
booksoptionalLimit the quote to these bookmaker ids. Omit for every bookmaker.
Request
curl --compressed -X POST "https://www.haterpicks.app/api/v1/sgm-quote" \
-H "Authorization: Bearer hp_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{"sport":"afl","home":"Carlton","away":"Richmond","legs":[{"player":"Sam Walsh","stat":"DISP","line":24.5,"side":"OVER"},{"player":"Jack Martin","stat":"GOAL","line":0.5,"side":"OVER"}]}'import requests
resp = requests.post(
"https://www.haterpicks.app/api/v1/sgm-quote",
headers={"Authorization": "Bearer hp_live_your_key_here"},
json={
"sport": "afl",
"home": "Carlton",
"away": "Richmond",
"legs": [
{"player": "Sam Walsh", "stat": "DISP", "line": 24.5, "side": "OVER"},
{"player": "Jack Martin", "stat": "GOAL", "line": 0.5, "side": "OVER"},
],
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())const res = await fetch("https://www.haterpicks.app/api/v1/sgm-quote", {
method: "POST",
headers: { Authorization: "Bearer hp_live_your_key_here", "Content-Type": "application/json" },
body: JSON.stringify({
"sport": "afl",
"home": "Carlton",
"away": "Richmond",
"legs": [
{
"player": "Sam Walsh",
"stat": "DISP",
"line": 24.5,
"side": "OVER"
},
{
"player": "Jack Martin",
"stat": "GOAL",
"line": 0.5,
"side": "OVER"
}
]
}),
});
if (!res.ok) throw new Error(`HTTP ${res.status}`);
console.log(await res.json());Replace the key with yours. Responses are gzipped for clients that ask, which is why curl has --compressed. Get a free key at /developer.
Related
Get a key
The Free plan is permanent: 1,000 calls a month, no card. Plans, allowances and prices are on the pricing page; current feed freshness is on the status page.
Get your key