API - Get Lottery Results
Important Notice: Before using our API, please carefully review our License Terms. By accessing or utilizing our API services, you explicitly agree to comply with all conditions and obligations outlined therein. Failure to comply may result in the immediate suspension or termination of your API access, along with potential legal action.
GEThttps://api.sambad.com/lottery/result
Query Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| access-token | string | Authentication token for API access | Yes |
| date | string | Date in DD-MM-YYYY format (data is available for the last month only) | 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=18-07-2026&timePm=8&fileType=jpgSuccessful Response
{"success":true,"data":{"date":"18-07-2026","time":"8pm","status":"ready","image":"https://sambad.com/images/lottery-sambad-8pm-18-07-2026.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
GEThttps://api.sambad.com/lottery/prizes
Query Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| access-token | string | Authentication token for API access | Yes |
| date | string | Date in DD-MM-YYYY format (data is available for the last month only) | 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=18-07-2026&timePm=8Response 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":"67C 26249"},"2":{"result":"14920, 26631, 36036, 50247, 56753, 74292, 79563, 88304, 89479, 91288"},"3":{"result":"0728, 1398, 1518, 2049, 7036, 7133, 8431, 8615, 8960, 9911"},"4":{"result":"0125, 0804, 0831, 1390, 2611, 4707, 5650, 6135, 6675, 8098"},"5":{"result":"0119, 0156, 0328, 0356, 0373, 0443, 0468, 0557, 0632, 0736, ..."}},"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 YouTube Live Draw Video
GEThttps://api.sambad.com/lottery/video
Query Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| access-token | string | Authentication token for API access | Yes |
| date | string | Date in DD-MM-YYYY format (data is available for the last month only) | Yes |
| timePm | number | Draw time (possible values: 1, 6, 8) | Yes |
Example Request
GET https://api.sambad.com/lottery/video?access-token=your_token&date=19-07-2026&timePm=6Response Structure
The successful response returns the official YouTube live draw video for the requested date and draw time:
- videoId: YouTube video ID
- embedUrl: URL for embedding the video in an iframe
- watchUrl: Direct link to the video on YouTube
- embedCode: Ready-to-use HTML iframe embed code
Successful Response
{ "success": true, "data": { "date": "19-07-2026", "time": "6pm", "videoId": "igfHuvrW3QA", "embedUrl": "https://www.youtube.com/embed/igfHuvrW3QA", "watchUrl": "https://www.youtube.com/watch?v=igfHuvrW3QA", "embedCode": "<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/igfHuvrW3QA\" title=\"Lottery Sambad 6 PM Live Draw\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen></iframe>" }, "statusCode": 200, "statusText": "OK" }Error Response
{ "success": false, "data": { "errors": { "video": "Video is not available for this date and draw yet." } }, "statusCode": 404, "statusText": "Not Found" }