{ }Matka Results APIby MatkaSoftware.com

API documentation

Base address: https://api.matkasoftware.com/v1. Every response is JSON. Times are Indian Standard Time (IST).

Quick start

  1. Create a free account. Your API key is shown once, right after sign-up. Copy it somewhere safe.
  2. Send it in the X-API-Key header with any request:
curl -H "X-API-Key: YOUR_KEY" https://api.matkasoftware.com/v1/results/sridevi

Every response has ok (true or false). When ok is true the answer is in data; when false, error.code and error.message say what went wrong.

Authentication

Send your key in one of these ways (the header is best):

HowExample
HeaderX-API-Key: mk_live_…
Bearer tokenAuthorization: Bearer mk_live_…
Query string?api_key=mk_live_… (avoid: addresses end up in logs)

Keep your key on your server. If it leaks, make a new key in your dashboard and revoke the old one. You can also lock a key to your server's IP address in the dashboard.

Limits

Each plan has a number of requests per day and per minute. The day resets at midnight IST. /v1/me is free and never counts. Every counted response has these headers:

HeaderMeaning
X-RateLimit-LimitRequests allowed today
X-RateLimit-RemainingRequests left today
X-RateLimit-ResetWhen the count resets (Unix time)
Retry-AfterSeconds to wait, after a per-minute limit

The free plan allows 50 requests a day and 5 a minute, with today's results only. The free allowance is per IP address too: several free accounts used from one server share it. See pricing for more.

Errors

{
  "ok": false,
  "error": { "code": "daily_limit", "message": "You have used all 50 requests for today…" }
}
HTTPcodeWhen
400bad_date, bad_range, market_requiredA parameter is wrong
401missing_key, invalid_keyNo key, or the key is wrong or revoked
403plan_feature, history_limit, ip_not_allowed, account_blockedYour plan or settings do not allow it
404unknown_market, not_foundNo such market or endpoint
429daily_limit, minute_limit, too_many_requests, too_many_bad_keysToo many requests (for your plan, from your IP address, or with wrong keys)
503maintenanceShort maintenance; try again soon

Markets

GET/v1/markets

All markets with their open and close times (24-hour IST) and the days they run. Use the slug in other endpoints.

{ "ok": true, "data": [
  { "market": "Kalyan", "slug": "kalyan", "open_time": "15:45", "close_time": "17:45",
    "closes_next_day": false, "open_days": ["Mon","Tue","Wed","Thu","Fri","Sat"],
    "holidays": [ { "from": "2026-11-08", "to": "2026-11-09", "note": "Diwali" } ] }
] }

holidays lists the market's announced holidays in the next 60 days. On a holiday the market's status is holiday.

Results for a day

GET/v1/results?date=YYYY-MM-DD

Every market's result for that date. Without date you get today's board (same as /v1/live). Dates older than your plan's history give history_limit.

One market

GET/v1/results/{market}?date=YYYY-MM-DD

One market. Without date you get the market's current day. Night markets that close after midnight (like Main Bazar) stay on the previous date until they close.

{ "ok": true, "data": {
  "market": "Kalyan", "slug": "kalyan", "date": "2026-12-03",
  "open_time": "15:45", "close_time": "17:45", "status": "declared",
  "open_patti": "128", "open_ank": 1, "close_ank": 9, "close_patti": "450",
  "jodi": "19", "result": "128-19-450",
  "open_declared_at": "2026-12-03T15:47:10+05:30", "close_declared_at": "2026-12-03T17:48:02+05:30"
} }

Live board

GET/v1/live?since=UNIX_TIME

Today's board for every market, with waiting_for set to "open" or "close" when a market's time has passed and its result has not come yet. Add since to get only markets that changed after that moment: use the meta.next_since value from your previous call. This is the cheapest way to poll.

{ "ok": true, "data": [ … ], "meta": { "server_time": 1796311204, "next_since": 1796311204 } }

Charts

GET/v1/charts/{market}?from=YYYY-MM-DD&to=YYYY-MM-DD

Day-by-day history for jodi and panel charts, oldest first. Defaults to the last 90 days; up to 10 years per request. Holidays are left out. Needs a plan with charts.

{ "ok": true, "data": [
  { "date": "2024-01-02", "day": "Tue", "open_patti": "337", "open_ank": 3, "close_ank": 8, "close_patti": "189", "jodi": "38" }
], "meta": { "market": "Kalyan", "slug": "kalyan", "from": "2024-01-01", "to": "2024-03-31", "count": 78 } }

Kalyan Jackpot

GET/v1/jackpot?date=YYYY-MM-DD

A card every 5 minutes from 9:00 AM to 1:00 AM: a number card with its suit, or a JOKER. You get the day's draws, oldest first, and the latest one in meta.latest. The game day runs past midnight, so a draw at 12:30 AM belongs to the day before; without date you get the current game day. Past days follow your plan's history window.

{ "ok": true, "data": [
  { "no": 1, "time": "09:05", "card": "7", "suit": "diamonds", "symbol": "♦", "joker": false, "label": "7 ♦" },
  { "no": 2, "time": "09:10", "card": "JOKER", "suit": null, "symbol": null, "joker": true, "label": "JOKER" }
], "meta": { "game": "Kalyan Jackpot", "date": "2026-12-03", "start": "09:00", "end": "01:00", "every_minutes": 5, "count": 2,
  "latest": { "no": 2, "time": "09:10", … }, "next_draw": "09:15", "server_time": 1796311204 } }

Kolkata FF

GET/v1/kolkata-ff?date=YYYY-MM-DD

The day's Kolkata FF (Kolkata Fatafat) board: 8 bazis Monday to Saturday, 4 on Sunday. Each bazi gives a patti and its single (the last digit of the patti's digit sum). status is upcoming, waiting (time passed, result not in yet), declared or holiday.

{ "ok": true, "data": [
  { "bazi": 1, "time": "10:30", "status": "declared", "patti": "128", "single": 1, "declared_at": "2026-12-03T10:41:12+05:30" },
  { "bazi": 2, "time": "12:00", "status": "upcoming", "patti": null, "single": null, "declared_at": null }
], "meta": { "game": "Kolkata FF", "date": "2026-12-03", "holiday": null, "server_time": 1796311204 } }
GET/v1/kolkata-ff/chart?from=YYYY-MM-DD&to=YYYY-MM-DD

One row a day with every bazi's result (null for a bazi without one), oldest first. Defaults to the last 30 days; up to 10 years per request. Needs a plan with charts.

{ "ok": true, "data": [
  { "date": "2024-01-02", "day": "Tue", "results": [ { "patti": "128", "single": 1 }, { "patti": "390", "single": 2 }, null, … ] }
], "meta": { "game": "Kolkata FF", "from": "2024-01-01", "to": "2024-01-31", "count": 26 } }

Your account

GET/v1/me

Your plan, its limits and how many requests you have used today. Not counted in the daily limit (it does count in the per-minute limit).

Result fields

FieldMeaning
statuspending (nothing yet), open_declared, declared (open and close), holiday
open_patti, close_pattiThree-digit panna as a string ("128", "550"); null until declared
open_ank, close_ankLast digit of the patti's digit sum
jodiOpen ank followed by close ank, as a string ("19", "05")
resultReady to show: 128-19-450, 128-1*-*** or ***-**-***
*_declared_atWhen the API received that half (ISO 8601, IST)

Webhooks

On plans with webhooks, set a URL in your dashboard. Each time a result is published, corrected or removed we send a POST with a JSON body:

{ "event": "result.open", "sent_at": "2026-12-03T20:50:04+05:30", "data": { …same as /v1/results/{market}… } }

Events: result.open, result.close, result.corrected, result.removed, market.holiday. Answer with any 2xx code within 6 seconds. If you do not, we retry after 1, 5 and 30 minutes.

Every webhook has a X-MK-Signature: sha256=… header: an HMAC-SHA256 of the raw body with your webhook secret (in your dashboard). Check it before trusting the data:

// PHP
$body = file_get_contents('php://input');
$sig  = 'sha256=' . hash_hmac('sha256', $body, 'YOUR_WEBHOOK_SECRET');
if (!hash_equals($sig, $_SERVER['HTTP_X_MK_SIGNATURE'] ?? '')) { http_response_code(401); exit; }
$event = json_decode($body, true);

// Node.js (Express, with express.raw({ type: 'application/json' }))
const sig = 'sha256=' + crypto.createHmac('sha256', SECRET).update(req.body).digest('hex');
if (!crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(req.get('X-MK-Signature') || ''))) return res.sendStatus(401);

Good practice

  • Poll /v1/live?since=… once a minute around result times instead of calling every market separately. Better still, use webhooks.
  • Cache chart history on your side; it does not change once a day is complete.
  • Show result as it is for the board, and use the separate fields for charts and statistics.
  • Results can very rarely be corrected. Listen for result.corrected or compare with /v1/results later in the day.