DEVELOPER REFERENCE
Download Demo Kit (.ZIP)
Live Result API Documentation
Complete integration guide for Android, iOS, Web, PHP, Python and Node.js.
Download Integration Demo Code Kit (.ZIP) DROP-IN SDK
Get plug-and-play source code files including PHP web results table, MySQL auto-sync cron script (Sara/Rajdhani apps), Node.js, Python, Flutter / Dart, and an interactive browser live widget.
Base URL
http://mtkresultapi.com/api/v1/
Supported Methods
GET, POST (application/json)
Response Format
JSON (UTF-8, Uncompressed)
GET / POST
/api/v1/results.php
Returns all live matka market results along with user plan expiry status.
Query Parameters / JSON Body
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your unique account API Key generated in Dashboard. |
| domain_key | string | Optional | Domain key for authentication parity with existing scripts. |
| market | string | Optional | Filter results for a single market (e.g. ?market=KALYAN). |
Code Integration Examples
PHP Integration (Drop-in for Sara/Rajdhani apps)
$main_site_url = "http://mtkresultapi.com/api/v1/results.php";
$api_data = [
"api_key" => "YOUR_API_KEY",
"domain_key" => "YOUR_DOMAIN_KEY",
"domain" => "yourdomain.com"
];
$ch = curl_init($main_site_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($api_data));
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
curl_setopt($ch, CURLOPT_TIMEOUT, 15);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
// Access results: $data['results']['data']
Android (Java / Retrofit or Volley)
String url = "http://mtkresultapi.com/api/v1/results.php?api_key=YOUR_API_KEY";
JsonObjectRequest request = new JsonObjectRequest(Request.Method.GET, url, null,
response -> {
try {
JSONObject resultsObj = response.getJSONObject("results");
JSONArray data = resultsObj.getJSONArray("data");
for (int i = 0; i < data.length(); i++) {
JSONObject market = data.getJSONObject(i);
String marketName = market.getString("name");
String result = market.getString("result"); // e.g. "123-45-678"
}
} catch (JSONException e) {
e.printStackTrace();
}
},
error -> Log.e("API_ERROR", error.toString())
);
Sample JSON Response
{
"expiry": "2026-11-10",
"results": {
"status": true,
"message": "success",
"updated_at": "2026-10-11 16:30:00",
"total_markets": 165,
"data": [
{
"name": "KALYAN",
"open": "345",
"jodi": "29",
"close": "450",
"result": "345-29-450",
"open_time": "04:15 PM",
"close_time": "06:15 PM",
"date": "2026-10-11 16:30:00"
},
{
"name": "MILAN DAY",
"open": "112",
"jodi": "46",
"close": "277",
"result": "112-46-277",
"open_time": "03:00 PM",
"close_time": "05:00 PM",
"date": "2026-10-11 16:30:00"
}
]
}
}