WGO
WinGo Predictor (IST 30s/1/3/5) — Public API
Read-only JSON API. No auth. Deterministic client-IST schedule; always predicts the next period.
Base
Markets
Period
https://indialotteryapi.com/wp-json/wingo/v1Markets
0.5, 1, 3, 5Period
Ymd-Index4Overview
- All times are computed in IST (Asia/Kolkata).
market:0.5(30s),1,3,5minutes.- Always predicts the next period; daily reset at 00:00 IST.
Data Model
Prediction Object
{
"market": "1",
"period": "20250929-0123",
"digit": 7,
"bigSmall": "Big",
"oddEven": "Odd",
"color": "Green",
"conf": 88
}Meta Object
{
"markets": {"0.5":{"seconds":30},"1":{"seconds":60},"3":{"seconds":180},"5":{"seconds":300}},
"mapping": {"green":[1,3,7,9],"red":[2,4,6,8],"violet":[0,5]},
"ist_now": {"ymd":"20250929","h":14,"m":22,"s":08}
}GET /meta
GET https://indialotteryapi.com/wp-json/wingo/v1/meta
GET /next
Return the next period info for a market.
| Param | Type | Req | Description |
|---|---|---|---|
market | string (0.5|1|3|5) | Yes | Market duration (minutes; 0.5=30s) |
GET https://indialotteryapi.com/wp-json/wingo/v1/next?market=1
{
"market":"1",
"period":"20250929-0123",
"ymd":"20250929","idx":123,
"remain":42,"seconds_per_period":60,
"ist_now":{"ymd":"20250929","h":14,"m":22,"s":18}
}GET /predict
Predict one or many periods.
| Param | Type / Default | Description |
|---|---|---|
market | string — required | 0.5|1|3|5 |
period | string | Predict exactly this period (Ymd-Index4) |
ymd | string | Alternative: Ymd + idx to build the period |
idx | int | Index 1..N in that day |
n | int, default 1 | If no period/ymd+idx, returns next N periods |
GET https://indialotteryapi.com/wp-json/wingo/v1/predict?market=1 GET https://indialotteryapi.com/wp-json/wingo/v1/predict?market=1&period=20250929-0123 GET https://indialotteryapi.com/wp-json/wingo/v1/predict?market=1&ymd=20250929&idx=123 GET https://indialotteryapi.com/wp-json/wingo/v1/predict?market=0.5&n=5
GET /batch
Generate predictions for N consecutive periods starting from a given start (or next).
| Param | Type / Default | Description |
|---|---|---|
market | string — required | 0.5|1|3|5 |
n | int, default 10 | 1–200 |
start_period | string | Optional starting period (Ymd-Index4) |
GET https://indialotteryapi.com/wp-json/wingo/v1/batch?market=1&n=20&start_period=20250929-0001
Quick Examples
curl -s 'https://indialotteryapi.com/wp-json/wingo/v1/meta' curl -s 'https://indialotteryapi.com/wp-json/wingo/v1/next?market=3' curl -s 'https://indialotteryapi.com/wp-json/wingo/v1/predict?market=5&n=5' curl -s 'https://indialotteryapi.com/wp-json/wingo/v1/batch?market=0.5&n=10&start_period=20250929-0001'
fetch('https://indialotteryapi.com/wp-json/wingo/v1/predict?market=1&n=3')
.then(r => r.json()).then(console.log)