K3
K3 24h IST Predictor — Public API
Read-only JSON. Periods snap to IST minute grids (1/3/5/10). Always the next period.
Base
Markets
Period
https://indialotteryapi.com/wp-json/k3/v1Markets
1, 3, 5, 10Period
index_only | ymd_index4 | ymdhi | ymdhi_index2 | ymdhi_tailOverview
- Markets:
1,3,5,10minutes. - Server-side produces next-period based on IST grid; same math as client.
period_format/tail_sourcefrom plugin settings affect output.
Data Model
{
"market": 1,
"period": "20250929-0123", // depends on period_format
"sum": 11,
"two_same": true,
"three_same": false,
"all_diff": false,
"pair_val": 3,
"triple_val": null,
"big_small": "Big",
"odd_even": "Odd",
"confidence": 89
}GET /meta
GET https://indialotteryapi.com/wp-json/k3/v1/meta
{
"markets":{"1":{"seconds":60},"3":{"seconds":180},"5":{"seconds":300},"10":{"seconds":600}},
"settings":{"period_format":"ymd_index4","tail_source":"index2"},
"ist_now":{"ymd":"20250929","h":14,"m":22,"s":18}
}GET /next
| Param | Type | Req | Description |
|---|---|---|---|
market | int (1|3|5|10) | Yes | Minute grid |
GET https://indialotteryapi.com/wp-json/k3/v1/next?market=1
{
"market":1,"period":"20250929-0123","ymd":"20250929","hi":"1530","idx":123,
"remain":42,"seconds_per_period":60,"ist_now":{"ymd":"20250929","h":15,"m":29,"s":18}
}GET /predict
| Param | Type / Default | Description |
|---|---|---|
market | int — required | 1|3|5|10 |
period | string | Predict exactly this period string (per settings) |
ymd | string | Ymd part if building period |
hi | string | HHmm for the grid |
idx | int | Index within the day |
n | int, default 1 | When not specifying period/ymd+hi+idx, return next N |
GET https://indialotteryapi.com/wp-json/k3/v1/predict?market=3 GET https://indialotteryapi.com/wp-json/k3/v1/predict?market=1&period=20250929-0123 GET https://indialotteryapi.com/wp-json/k3/v1/predict?market=5&ymd=20250929&hi=1530&idx=12 GET https://indialotteryapi.com/wp-json/k3/v1/predict?market=10&n=5
GET /batch
| Param | Type / Default | Description |
|---|---|---|
market | int — required | 1|3|5|10 |
n | int, default 10 | 1–200 |
start_ymd | string | Optional start Ymd |
start_idx | int | Optional start index |
GET https://indialotteryapi.com/wp-json/k3/v1/batch?market=1&n=20&start_ymd=20250929&start_idx=1
Quick Examples
curl -s 'https://indialotteryapi.com/wp-json/k3/v1/meta' curl -s 'https://indialotteryapi.com/wp-json/k3/v1/next?market=1' curl -s 'https://indialotteryapi.com/wp-json/k3/v1/predict?market=3&n=5' curl -s 'https://indialotteryapi.com/wp-json/k3/v1/batch?market=10&n=10'