Get instant access to live market results, full listings, and historical chart records.
This API provides live market results, full comprehensive market listings, and deep historical monthly chart data. All data payloads are returned in lightning-fast, structured JSON format.
https://api.codehap.com/dp/
All requests require authentication via an API Key. This should be passed directly inside your query parameters string on every request sequence.
https://api.codehap.com/dp/?key=YOUR_API_KEY
| Parameter | Required | Description |
|---|---|---|
key |
Yes | Your uniquely assigned developer security API key. |
Returns recently updated markets or markets scheduled to refresh or settle parameters within the next 15 minutes.
GET https://api.codehap.com/dp/?key=YOUR_API_KEY&type=live
| Parameter | Required | Description |
|---|---|---|
key |
Yes | API Key |
type |
Yes | Value parameter fixed exactly to live |
https://api.codehap.com/dp/?key=YOUR_API_KEY&type=live
{
"success": true,
"current_time": "2026-06-15 16:12:30",
"count": 17,
"data": [
{
"id": 32,
"game_name": "PAREL DAY",
"open_time": "14:00:00",
"close_time": "16:00:00",
"number_open": "257",
"number_main": "4",
"number_close": null,
"updated_at": "2026-06-15 14:24:19",
"status": "closed_recently"
},
{
"id": 60,
"game_name": "SUPER GOA DAY",
"open_time": "14:15:00",
"close_time": "16:15:00",
"number_open": "225",
"number_main": "9",
"number_close": null,
"updated_at": "2026-06-15 14:23:51",
"status": "running"
},
{
"id": 81,
"game_name": "ROSE BAZAR DAY",
"open_time": "14:30:00",
"close_time": "17:45:00",
"number_open": "178",
"number_main": "6",
"number_close": null,
"updated_at": "2026-06-15 14:54:44",
"status": "running"
},
{
"id": 65,
"game_name": "MEENA BAZAR DAY",
"open_time": "14:30:00",
"close_time": "16:30:00",
"number_open": "340",
"number_main": "7",
"number_close": "124",
"updated_at": "2026-06-15 16:10:02",
"status": "completed"
}
]
}
Returns all available registered markets coupled along with today's complete operational output results data mapping properties.
GET https://api.codehap.com/dp/?key=YOUR_API_KEY&type=markets
| Parameter | Required | Description |
|---|---|---|
key |
Yes | API Key |
type |
Yes | Value parameter fixed exactly to markets |
short |
No | Define property data field target rules sorting assignment. |
order |
No | Explicit arrangement processing order direction format flag. |
Users can sort data layouts cleanly via direction keys:
order=asc
order=desc
Example URL usage context pattern:
https://api.codehap.com/dp/?key=YOUR_API_KEY&type=markets&order=desc
You can execute explicit data sorting matching against any of these schema keys:
id
game_name
open_time
close_time
Example sort configurations implementation targeting properties:
https://api.codehap.com/dp/?key=YOUR_API_KEY&type=markets&short=game_name
https://api.codehap.com/dp/?key=YOUR_API_KEY&type=markets&short=game_name&order=asc
{
"success": true,
"date": "2026-06-15",
"count": 143,
"data": [
{
"id": 123,
"game_name": "NTR MORNING",
"open_time": "09:10:00",
"close_time": "10:10:00",
"number_open": "660",
"number_main": "20",
"number_close": "118",
"result_date": "2026-06-15"
},
{
"id": 116,
"game_name": "RATNA MORNING",
"open_time": "09:35:00",
"close_time": "10:30:00",
"number_open": "479",
"number_main": "08",
"number_close": "134",
"result_date": "2026-06-15"
},
{
"id": 134,
"game_name": "MANGAL MORNING",
"open_time": "09:35:00",
"close_time": "10:35:00",
"number_open": "339",
"number_main": "55",
"number_close": "780",
"result_date": "2026-06-15"
},
{
"id": 72,
"game_name": "SITA MORNING",
"open_time": "09:45:00",
"close_time": "10:45:00",
"number_open": "588",
"number_main": "17",
"number_close": "269",
"result_date": "2026-06-15"
},
{
"id": 117,
"game_name": "GEETA MORNING",
"open_time": "10:00:00",
"close_time": "11:00:00",
"number_open": "149",
"number_main": "48",
"number_close": "369",
"result_date": "2026-06-15"
}
]
}
Exposes structured query operations mapping historic data results directly inside standard monthly structural timeline matrix blocks.
GET https://api.codehap.com/dp/?key=YOUR_API_KEY&type=history&id=2
| Parameter | Required | Description |
|---|---|---|
key |
Yes | API Key |
type |
Yes | Value parameter fixed exactly to history |
id |
Yes | The targeted unique numerical entity identifier for the market. |
month |
No | Explicit target window calendar month filter set exactly as: YYYY-MM |
https://api.codehap.com/dp/?key=YOUR_API_KEY&type=history&id=2
https://api.codehap.com/dp/?key=YOUR_API_KEY&type=history&id=2&month=2026-05
{
"success": true,
"market": {
"id": 3,
"game_name": "SRIDEVI",
"open_time": "11:35:00",
"close_time": "12:35:00"
},
"month": "2026-06",
"records": 15,
"history": [
{
"result_date": "2026-06-15",
"number_open": "237",
"number_main": "23",
"number_close": "689"
},
{
"result_date": "2026-06-14",
"number_open": "239",
"number_main": "42",
"number_close": "679"
},
{
"result_date": "2026-06-13",
"number_open": "249",
"number_main": "54",
"number_close": "167"
},
{
"result_date": "2026-06-12",
"number_open": "158",
"number_main": "45",
"number_close": "159"
},
{
"result_date": "2026-06-11",
"number_open": "260",
"number_main": "88",
"number_close": "233"
}
]
}
Unsuccessful execution contexts will pass status code elements containing operational boolean error configurations alongside messaging explanations.
{
"status": false,
"message": "Invalid API Key"
}
{
"status": false,
"message": "Required parameter missing"
}
{
"status": false,
"message": "Market not found"
}
Get connected to infrastructure optimization networks if complex architectural configuration scaling deployment questions surface during integration cycles.
Contact Developer Support