TRX
TRX Win Go Predictor (IST) — Public API
Read-only JSON. Period Ymd-Index4. Next-period: Color, Digit, Big/Small, Odd/Even, Random Bet.
Base
Markets
Period
https://indialotteryapi.com/wp-json/wtrx/v1Markets
1, 3, 5, 10Period
Ymd-Index4Overview
- Deterministic:
color/digitderived fromSHA-256(period|salt)segments. - Random Bet is deterministic (seeded by hash) — stable for a given period.
Data Model
{
"market": 1,
"period": "20250929-0123",
"color": "Green",
"digit": 8,
"big_small": "Big",
"odd_even": "Even",
"random_bet": "Red • 4 • Small • Even"
}GET /meta
GET https://indialotteryapi.com/wp-json/wtrx/v1/meta
{
"markets":{"1":{"seconds":60},"3":{"seconds":180},"5":{"seconds":300},"10":{"seconds":600}},
"settings":{"theme":"green","sound":1},
"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/wtrx/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
| Param | Type / Default | Description |
|---|---|---|
market | int — required | 1|3|5|10 |
period | string | Exact period (Ymd-Index4) |
ymd | string | Alternative with idx to build period |
idx | int | Index in day |
n | int, default 1 | Next N when period not specified (1–200) |
GET https://indialotteryapi.com/wp-json/wtrx/v1/predict?market=1 GET https://indialotteryapi.com/wp-json/wtrx/v1/predict?market=5&period=20250929-0123 GET https://indialotteryapi.com/wp-json/wtrx/v1/predict?market=3&n=5
GET /batch
| Param | Type / Default | Description |
|---|---|---|
market | int — required | 1|3|5|10 |
n | int, default 10 | 1–200 |
start_period | string | Optional Ymd-Index4 start |
GET https://indialotteryapi.com/wp-json/wtrx/v1/batch?market=1&n=30&start_period=20250929-0001
Quick Examples
curl -s 'https://indialotteryapi.com/wp-json/wtrx/v1/meta' curl -s 'https://indialotteryapi.com/wp-json/wtrx/v1/next?market=10' curl -s 'https://indialotteryapi.com/wp-json/wtrx/v1/predict?market=5&n=6' curl -s 'https://indialotteryapi.com/wp-json/wtrx/v1/batch?market=1&n=50'