
Sambad Result API
Send 1 PM, 6 PM and 8 PM Lottery Sambad result images and text securely to another website.
What is the Sambad Result API?
The Sambad Result API is a simple delivery system for websites that want to receive Lottery Sambad result data from Sambad.tv. After a website is connected, result images and result text can be sent automatically for the allowed draw times.
What can the API deliver?
The image may be delivered first. If result text is not ready yet, the sender checks again and sends the text when it becomes available.
Connect a WordPress Website
Use this option for any external WordPress website. The connector registers the website securely with the Sambad API central server at https://admin.sambad.tv. No custom PHP coding is required.
Before you start
- Ask the Sambad API administrator for a valid Connection Token.
- The website must be publicly accessible over HTTPS.
- Use the token only on the website that you want to connect. The one-time token is cleared locally after a successful registration.
WordPress setup — step by step
- Download the connector. Click Download Sambad API Connector v1.0.0 above.
- Install the ZIP. In the external WordPress dashboard go to Plugins → Add Plugin → Upload Plugin, upload the ZIP, click Install Now, then Activate.
- Open the connector settings. Go to Settings → Sambad API Connector.
- Central Server URL. Keep
https://admin.sambad.tv. - Site Name. Enter a clear name for the connected website, for example
Example Lottery Website. - Connection Token. Paste the token supplied from admin.sambad.tv → API Connections.
- Save Settings. Click Save Settings.
- Connect. Click Connect to Sambad API. A successful connection shows Connected and a Site ID.
- Add shortcodes. Place the required result shortcodes on any WordPress page, post, widget or shortcode-compatible template area.
WordPress Shortcodes
[sambad_result_image slot="1pm"][sambad_result_text slot="1pm"][sambad_result_image slot="6pm"][sambad_result_text slot="6pm"][sambad_result_image slot="8pm"][sambad_result_text slot="8pm"]Previous date: add date="16-08-2026", for example [sambad_result_image slot="1pm" date="16-08-2026"]. Date-wise data is returned when it is available on the central API.
Connection status and control
After registration, the website appears in admin.sambad.tv → API Connections. The central administrator can see the website, connector type, version and connection status, and can revoke or restore access when required.
Connect a Normal PHP / HTML Website
Use this option for a normal PHP/HTML website that does not use WordPress. The package includes its own setup page, secure central connection, iframe display files and a JSON result endpoint.
Before you start
- Your hosting must support PHP and HTTPS.
- Get a valid Connection Token from the Sambad API administrator.
- Upload the complete connector folder; do not upload only individual files.
PHP / HTML setup — step by step
- Download and extract the ZIP. The extracted folder is
sambad-standalone-api-connector. - Upload the complete folder to the public web directory of the external website. Example:
https://example.com/sambad-standalone-api-connector/. - Open the uploaded folder URL. The connector setup screen will open.
- Central Server URL. Keep
https://admin.sambad.tv. - Website Name. Enter a clear name for the website.
- Connection Token. Paste the token supplied from admin.sambad.tv → API Connections.
- Connect. Click Connect to Sambad API. The page will show Connected after successful registration.
- Add a display method. Use one of the iframe examples below, or use the JSON endpoint for a custom PHP/JavaScript layout.
Easy iframe examples
<iframe src="YOUR-RECEIVER/embed.php?slot=1pm&type=image" style="width:100%;border:0" loading="lazy"></iframe><iframe src="YOUR-RECEIVER/embed.php?slot=1pm&type=text" style="width:100%;border:0" loading="lazy"></iframe><iframe src="YOUR-RECEIVER/embed.php?slot=1pm&type=both" style="width:100%;border:0" loading="lazy"></iframe><iframe src="YOUR-RECEIVER/embed.php?slot=6pm&type=both" style="width:100%;border:0" loading="lazy"></iframe><iframe src="YOUR-RECEIVER/embed.php?slot=8pm&type=both" style="width:100%;border:0" loading="lazy"></iframe>Replace YOUR-RECEIVER with the public URL of the uploaded connector folder, for example https://example.com/sambad-standalone-api-connector. The type value can be image, text or both.
JSON result endpoint for developers
YOUR-RECEIVER/api/result.php?slot=1pmFor 6 PM or 8 PM, change the slot to 6pm or 8pm. For a previous date, add:
YOUR-RECEIVER/api/result.php?slot=1pm&date=16-08-2026The standalone connector keeps the central credentials server-side. Do not expose the Connection Token, Site Secret or other private credentials in HTML or JavaScript.
Use the Lottery Sambad Telegram Bot
@LotterySambadTV_bot can be used in a private Telegram chat and can also publish Lottery Sambad results automatically to Telegram Channels, Groups and Supergroups. The bot is managed centrally from admin.sambad.tv.
Start the bot in a private chat
- Open @LotterySambadTV_bot in Telegram.
- Tap Start or send
/start. - The quick menu gives direct access to 1 PM, 6 PM, 8 PM, Today, Latest, Yesterday, Date, Month, Status, Prize, Alerts, Language, Website, Channel and Help.
- Select a result. Every result message can include action buttons such as Check Ticket, PDF, Image Only, Text Only and Share.
Quick bot commands
/1pm/6pm/8pm/latest/today/yesterday/date/old 25-08-2026/status/helpDate selector: the bot can show the previous 10 dates as clickable buttons. Use Enter Other Date for an older date in DD-MM-YYYY format.
Check a ticket against the exact result
Use the Check Ticket button shown under a result. The check is tied to that exact result date and draw time; it does not silently switch to another draw.
- 1st Prize, Consolation Prize and 2nd Prize use the full 5-digit ticket number.
- 3rd Prize, 4th Prize and 5th Prize compare the last four digits of the entered 5-digit ticket number with the 4-digit winning numbers.
- The bot reports the matching prize when found, or a no-match message when the ticket does not match that result.
PDF behavior
- For a current single-draw result, the PDF button opens the PDF for that draw.
- For Yesterday or a selected/old date, the PDF button can open the full-day PDF containing the available 1 PM, 6 PM and 8 PM results.
Automatically send results to a Telegram Channel or Group
- Open the Telegram Channel, Group or Supergroup where you want Lottery Sambad results.
- Add @LotterySambadTV_bot.
- Promote the bot to Administrator.
- For a Channel, allow the bot to Post Messages. For a Group/Supergroup, allow the bot to send messages and media. Pin permission is also required if Auto Pin is enabled.
- The central system automatically detects the Channel/Group and can add it directly to the active list without a pending-approval step.
- When the bot first becomes an administrator, the latest available result for that day can be sent once to the new Channel/Group.
- After that, fresh 1 PM, 6 PM and 8 PM results are posted automatically when the corresponding draw result becomes available.
Automatic post actions: result posts in Channels and Groups can also include the Check Ticket and PDF buttons. The Check Ticket button opens the bot with the exact date + draw context of that result.
Channel and Group controls in admin.sambad.tv
The Telegram admin panel can show each detected destination in one row with:
Duplicate manual/auto-detected records are merged by username or numeric Chat ID so the same Telegram destination is shown only once.
Manual Date + Time Send / Resend
The central administrator can select a saved result date and 1 PM / 6 PM / 8 PM, then send or resend the result to:
- All enabled Channels and Groups.
- Only selected enabled Channels/Groups.
- Manual resend intentionally bypasses the normal automatic duplicate lock.
Private bot tools
Affiliate and referral features
The bot also supports an optional, admin-controlled referral program. The recommended default is Tracking Only, with no cash value. Telegram users can become eligible through the bot itself, and the administrator may require the user to join the official Telegram Channel before a referral link is generated.
- Unique referral links can be generated for eligible private bot users.
- Self-referrals and duplicate referral credits are blocked.
- Points, badges, ranks, leaderboard titles and special bot access can be awarded for valid referrals.
- Official Telegram Channel membership can be required before a referral link is generated.
- No Google account registration is required for the Telegram referral flow.
- Affiliate availability, points and access rules are controlled by the Sambad TV administrator and may be changed or disabled.
/affiliate/referrals/points/rank/rewards/leaderboardReliability, safety and maintenance
- Automatic result posts use duplicate protection so the same draw is not posted repeatedly.
- Temporary Telegram failures can be retried automatically using a retry queue.
- Failure alerts can be sent to a configured Telegram admin chat after retries are exhausted.
- Bot Health shows webhook status, last successful/failed post, connected destinations and usage statistics.
- Auto Pin / Auto-Unpin, Silent Post, caption templates, spam limits and log retention can be controlled from the Telegram admin settings.
- Old Telegram logs can be cleaned automatically according to the configured retention period.
Important Telegram notes
- The bot token is private and must never be shared publicly.
- If a Channel/Group shows Not Admin, promote the bot again and grant the required message/media permissions.
- If the bot is removed or demoted, automatic posting to that destination stops.
- Telegram controls the visual color of normal bot keyboard buttons; the bot uses short labels and emojis for clear identification.
How the secure connection works
- The central administrator provides a Connection Token for the new website registration.
- The connector sends a timestamped, HMAC-signed registration request to
admin.sambad.tv. - After successful registration, the connector receives its own Site ID and private Site Secret.
- The one-time Connection Token is not used for normal result requests after registration.
- Every result request is authenticated before data is returned.
- The central administrator can revoke or restore a connected website from API Connections.
Optional Result Source credit
Connected websites may show a Sambad.tv Result Source credit to identify where the result data comes from. This credit is optional and is not required for API delivery.
Removing or hiding this optional source credit does not pause image or result-text delivery.
Which receiver should I use?
WordPress Website
Choose Sambad API Connector v1.0.0. Install the plugin, enter the central URL and Connection Token, connect once, then use the documented shortcodes.
Download WordPress ConnectorNormal PHP Hosting
Choose Sambad Standalone API Connector v1.0.0. Upload the folder, connect it to admin.sambad.tv, then use iframe or JSON.
Download Standalone ConnectorQuick troubleshooting
Connection Token does not connect
Check that the Connection Token is valid, the Central Server URL is https://admin.sambad.tv, the website is publicly accessible over HTTPS, and the token has not already been revoked or replaced.
Image arrives but text does not appear yet
This can be normal when the result image becomes available before the text. The sender can send the image first and send the text automatically when it becomes available.
Can localhost receive results?
No. The sender must be able to reach the receiver endpoint from the internet. Use a public HTTPS domain, subdomain, temporary hosting URL or staging URL.
Can I use only 1 PM or only 6 PM?
Yes. The connector can request only the supported result slots provided by the central API.
Where do I get a Connection Token?
Connection Tokens are issued from admin.sambad.tv → API Connections by the Sambad API administrator. Contact Sambad TV if you need a new website connection.
Need a Connection Token or integration help?
Contact Sambad TV and tell us whether your website uses WordPress or normal PHP hosting.
Results are for reference only; accuracy is not guaranteed.