Get Lottery Results

GET http://api.sambad.com/lottery/result

Authorization

All requests must include an access token as a query parameter:

?access-token=your_access_token_here

Query Parameters

Parameter Type Description Required
access-token string Authentication token for API access Yes
date string Date in DD-MM-YYYY format Yes
timePm number Draw time (possible values: 1, 6, 8) Yes
fileType string File mime type (possible values: jpg, webp, pdf) No

Example Request

GET https: //api.sambad.com/lottery/result?access-token=your_token&date=01-01-2024&timePm=1&fileType=jpg

Successful Response

{
    "success": true,
    "data": {
        "date": "01-10-2024",
        "time": "1pm",
        "status": "ready",
        "image": "https://lottery.sambad.com/images/lottery-sambad-1pm-01-01-2024.jpg"
    },
    "statusCode": 200,
    "statusText": "OK"
}

Error Response

{
    "success": false,
    "data": {
        "name": "Internal Server Error",
        "message": "An internal server error occurred.",
        "code": 0,
        "status": 500
    },
    "statusCode": 500,
    "statusText": "Internal Server Error"
}

Get Lottery Prizes

GET http://api.sambad.com/lottery/prizes

Authorization

All requests must include an access token as a query parameter:

?access-token=your_access_token_here

Query Parameters

Parameter Type Description Required
access-token string Authentication token for API access Yes
date string Date in DD-MM-YYYY format Yes
timePm number Draw time (possible values: 1, 6, 8) Yes

Example Request

GET https: //api.sambad.com/lottery/prizes?access-token=your_token&date=26-10-2024&timePm=1

Response Structure

The successful response includes prize categories from 1 to 5, where:

  • 1st Prize: Single winning number with letter prefix
  • 2nd Prize: Ten 5-digit winning numbers
  • 3rd Prize: Ten 4-digit winning numbers
  • 4th Prize: Ten 4-digit winning numbers
  • 5th Prize: Multiple 4-digit winning numbers

Successful Response

{
    "success": true,
    "data": {
        "1": {
            "result": "71L 81186"
        },
        "2": {
            "result": "03458, 08067, 12653, 12655, 20340, 31597, 32149, 57966, 72556, 79314"
        },
        "3": {
            "result": "0162, 0258, 1361, 3662, 5881, 6044, 6787, 7227, 9526, 9879"
        },
        "4": {
            "result": "0212, 0769, 1484, 2791, 3089, 3988, 5603, 6858, 8336, 8577"
        },
        "5": {
            "result": "0000, 0045, 0065, 0206, 0235, 0260, 0443, 0450, 0576, 0617, ..."
        }
    },
    "statusCode": 200,
    "statusText": "OK"
}

Error Response

{
    "success": false,
    "data": {
        "errors": {
            "timePm": "TimePm must be one of these values: 1, 6, 8"
        }
    },
    "statusCode": 400,
    "statusText": "Bad Request"
}

Get Results Faster

Subscribe to get results first