Bet Settlement API Documentation
Requirement
You need an API key to use OddsBlaze. Request access at www.oddsblaze.com.
Description
This endpoint returns bet results: Won
, Lost
, Refunded
, or Pending
.
API Endpoint
https://api.oddsblaze.com/v1/grader
Parameters
key
(required)
Your OddsBlaze API key.
grade
The grade
field from the odds.
POST Body
odds
Settle multiple bets by including an array of odds you want to grade. Include only the grade
field from the odds:
{
"odds": [
{
"grade": "dExxL0hhVUZ3aDJtNnVHQU9GL1JoVE9za1JpSWxXcTBvTEZGVUZPbFVGTE96MlZ6akErYnhmbUUrWWJSeUZ0eU50dmJiVDVhRFo0M3U5SU5LN0xiTFlocG81QUx5WVhXRFVGZ2c1dWNIbGM9"
},
{
"grade": "dExxL0hhVUZ3aDJtNnVHQU9GL1JoU2NZcnRhM2JqWmFvTXIzUGJsalBBa0I0YXoxM29QRnlnU2dNWG9Ga2xiS1VlZXhYdm1QS24zanNZYi9IbzZXQzZ3MW1ta3NhNmFibHR5Vm90OUFEVlk9"
}
]
}
Example URL
Settle one bet:
https://api.oddsblaze.com/v1/grader?key=your_key&grade=dExxL0hhVUZ3aDJtNnVHQU9GL1JoVE9za1JpSWxXcTBvTEZGVUZPbFVGTE96MlZ6akErYnhmbUUrWWJSeUZ0eU50dmJiVDVhRFo0M3U5SU5LN0xiTFlocG81QUx5WVhXRFVGZ2c1dWNIbGM9
Example cURL Request
Settle multiple bets:
curl 'https://api.oddsblaze.com/v1/grader?key=your_key' \
--data '{
"odds": [
{
"grade": "dExxL0hhVUZ3aDJtNnVHQU9GL1JoVE9za1JpSWxXcTBvTEZGVUZPbFVGTE96MlZ6akErYnhmbUUrWWJSeUZ0eU50dmJiVDVhRFo0M3U5SU5LN0xiTFlocG81QUx5WVhXRFVGZ2c1dWNIbGM9"
},
{
"grade": "dExxL0hhVUZ3aDJtNnVHQU9GL1JoU2NZcnRhM2JqWmFvTXIzUGJsalBBa0I0YXoxM29QRnlnU2dNWG9Ga2xiS1VlZXhYdm1QS24zanNZYi9IbzZXQzZ3MW1ta3NhNmFibHR5Vm90OUFEVlk9"
}
]
}'
Example Response
{
"odds": [
{
"grade": "ektsMWhkZUtNMTVNZG5hb1A5RDFURmkwWjRrUkxrNHY0YVU3alpQcnJSNm5xazZVUHNQUFA0U0R0YWg3L2JRdXpLNTNIaVYvT3d0RVlGT2dDYjhKZG9nN1phcVFQRTZmVE53MUN4SXhYVkk9",
"market": "Player Earned Runs",
"name": "Kyle Gibson Over 2.5",
"game": {
"id": "mlb:st._louis_cardinals:washington_nationals:2024-07-07",
"teams": {
"away": {
"id": "mlb:st._louis_cardinals",
"name": "St. Louis Cardinals",
"abbreviation": "STL",
"score": 8
},
"home": {
"id": "mlb:washington_nationals",
"name": "Washington Nationals",
"abbreviation": "WSH",
"score": 3
}
},
"status": "Final",
"live": false
},
"players": [
{
"name": "Kyle Gibson",
"position": "P",
"score": 3
}
],
"result": "Won"
}
]
}