K3 24h IST Predictor — Public API

Read-only JSON. Periods snap to IST minute grids (1/3/5/10). Always the next period.

Base https://indialotteryapi.com/wp-json/k3/v1
Markets 1, 3, 5, 10
Period index_only | ymd_index4 | ymdhi | ymdhi_index2 | ymdhi_tail

Overview

  • Markets: 1, 3, 5, 10 minutes.
  • Server-side produces next-period based on IST grid; same math as client.
  • period_format / tail_source from 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

ParamTypeReqDescription
marketint (1|3|5|10)YesMinute 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

ParamType / DefaultDescription
marketint — required1|3|5|10
periodstringPredict exactly this period string (per settings)
ymdstringYmd part if building period
histringHHmm for the grid
idxintIndex within the day
nint, default 1When 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

ParamType / DefaultDescription
marketint — required1|3|5|10
nint, default 101–200
start_ymdstringOptional start Ymd
start_idxintOptional 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'