AT
Assam Teer — Public API
Read-only JSON for four markets: Juwai, Shillong, Khanapara, Night. Returns today & history with First Round (FR) and Second Round (SR).
Base
Markets
Auth
https://indialotteryapi.com/wp-json/teer/v1Markets
juwai | shillong | khanapara | nightAuth
Not required (read-only)Overview
- Endpoints are
GETand returnapplication/json. marketis mandatory for every endpoint.- Only records marked Published in admin appear in
/latestand/range./by-datecan fetch drafts if the date exists. - Numbers are two digits (e.g.
07,32). Empty values returnnullor render as"XX"on UI.
Data Model
{
"market": "khanapara",
"date": "2025-10-09",
"status": 1, // 1=Published, 0=Draft
"updated_at": "2025-10-09 15:12:03",
"first_round": "32", // "00"–"99" or null
"second_round": "15" // "00"–"99" or null
}GET /latest
Returns the most recent published date for the given market.
| Param | Type | Req | Description |
|---|---|---|---|
market | string | Yes | juwai | shillong | khanapara | night |
GET https://indialotteryapi.com/wp-json/teer/v1/latest?market=khanapara
{
"market":"khanapara","date":"2025-10-09","status":1,
"updated_at":"2025-10-09 15:12:03","first_round":"32","second_round":"15"
}GET /by-date
Returns the record (published or draft) for the exact date. Responds 404 if not found.
| Param | Type | Req | Description |
|---|---|---|---|
market | string | Yes | juwai | shillong | khanapara | night |
date | string (YYYY-MM-DD) | Yes | Draw date |
GET https://indialotteryapi.com/wp-json/teer/v1/by-date?market=shillong&date=2025-10-09
{
"market":"shillong","date":"2025-10-09","status":1,
"updated_at":"2025-10-09 12:11:02","first_round":"07","second_round":null
}GET /range
Returns a list of published days for the market in the date range, sorted by date descending.
| Param | Type | Req | Description |
|---|---|---|---|
market | string | Yes | juwai | shillong | khanapara | night |
start | string (YYYY-MM-DD) | Yes | Start date (inclusive) |
end | string (YYYY-MM-DD) | Yes | End date (inclusive) |
GET https://indialotteryapi.com/wp-json/teer/v1/range?market=juwai&start=2025-10-01&end=2025-10-09
[
{"market":"juwai","date":"2025-10-09","status":1,"updated_at":"2025-10-09 15:05:01","first_round":"23","second_round":"56"},
{"market":"juwai","date":"2025-10-08","status":1,"updated_at":"2025-10-08 15:04:12","first_round":"11","second_round":"49"}
]Quick Examples
curl -s 'https://indialotteryapi.com/wp-json/teer/v1/latest?market=khanapara' curl -s 'https://indialotteryapi.com/wp-json/teer/v1/by-date?market=shillong&date=2025-10-09' curl -s 'https://indialotteryapi.com/wp-json/teer/v1/range?market=juwai&start=2025-10-01&end=2025-10-09'
Error Codes
| Status | Code | When | Body |
|---|---|---|---|
| 400 | bad_market | market not one of juwai|shillong|khanapara|night | {"code":"bad_market","message":"invalid market"} |
| 404 | not_found | No record for date / no published day in range | {"code":"not_found","message":"no data"} |
| 200 | — | Success | JSON as shown above |