SportID for Maxbet API
| sportid |
Description |
| 1 |
Soccer |
| 44 |
Muay thai |
| 5 |
Tennis |
| 2 |
Basketball |
| 8 |
Baseball |
| 6 |
Volleyball |
Errors
| Error Code |
Description |
| UNDER_MAINTENANCE |
API is under maintenance, we'll annouce it |
| AUTHORIZE_FAILED |
Token is not provided or incorrect. |
| TOO_MANY_REQUESTS |
API rate limit exceeded. |
| PERMISSION_DENIED |
You're not allowed, contact Support if it is wrong. |
Whenever you see pager in the API response, it means you can go next page by passing page=2 etc. there are 2 elements inside which means:
| Error Code |
Description |
| page |
Current page |
| totalpage |
how many results in total. use it to indicate that it has next page or not. |
time_status
| Error Value |
Description |
| 0 |
Not Started |
| 1 |
InPlay |
| 3 |
Live period 1H |
| 5 |
Half Time |
| 7 |
Live period 2H |
| 9 |
Ended |
| 10 |
Abandoned 1H |
| 11 |
Abandoned 2H |
| 12 |
Postponed/Refund |