Live API

WinGo
Lottery API

Real-time data for 30s, 1m, 3m, 5m

4Endpoints
โšกReal-time
๐Ÿ”’Secure
24/7Uptime

๐Ÿ“ก Endpoint

GET /api.php with key & type

GET
/api.php?key=YOUR_KEY&type={30s|1m|3m|5m}

๐Ÿ“Š Types

Choose your interval

โšก
30s
30 Sec
โฑ๏ธ
1m
1 Min
โฐ
3m
3 Min
๐Ÿ“…
5m
5 Min

Tester

Live

๐Ÿ’ป Examples

Quick snippets to get started

๐Ÿ’ปcURL
# Fetch 30s data
curl -X GET "https://ethbd.site/api.php?key=YOUR_KEY&type=30s" \
  -H "Accept: application/json"
๐ŸŸจJavaScript
fetch('https://ethbd.site/api.php?key=YOUR_KEY&type=1m')
  .then(r => r.json())
  .then(d => console.log(d))
  .catch(e => console.error(e));
๐ŸPython
import requests

url = 'https://ethbd.site/api.php'
params = {'key': 'YOUR_KEY', 'type': '3m'}
r = requests.get(url, params=params)
print(r.json())
๐Ÿ˜PHP
$key = 'YOUR_KEY';
$type = '30s';
$url = "https://ethbd.site/api.php?key=$key&type=$type";

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$res = curl_exec($ch);
curl_close($ch);
print_r(json_decode($res, true));

๐Ÿ“ฆ Sample Response

โœ“ 200 OK
{
  "status": "success",
  "data": {
    "issue": "20240814001",
    "number": "123456",
    "timestamp": "2024-08-14 10:30:00"
  },
  "source": "WinGo 30s"
}