🇮🇳India•IEX/State-Wise DAM
State-Wise DAM — Daily Settlement
End-of-day state-level cleared buy/sell volumes (MW) and regional settlement prices across 36 States & UTs.
Returns whole-day aggregate metrics for a state code. Filter by state and date or start_date & end_date.
⚡1 credit per requestMarket:IEX
GET/api/v1/iex/state-dam/daily/list/
Headers
Pass in HTTP request headersX-API-Keystring (header)required
X-API-Key: YOUR_API_KEYDeveloper API key starting with gm_live_. Passed in the X-API-Key HTTP header.
Security & Key Usage
API keys are secret credentials revealed only once upon creation in your dashboard. Store your key in an environment variable (e.g. GRIDMAP_API_KEY) on your server or device, and pass it in the x-api-key header with each request.
Acceptstring (header)optional
Accept: application/jsonExpected response format.
Query Parameters (6)
Set optional filters below to customize the querystatestring (code)required
Two-letter Indian State / UT code (e.g. MH for Maharashtra, GJ for Gujarat, KA for Karnataka, TN for Tamil Nadu, DL for Delhi). Query /api/v1/iex/meta/?section=states to see all 36 supported codes.
Accepted format:
MHTypical default: MHdatestring (YYYY-MM-DD)optional
Exact date.
Accepted format:
2024-03-15Typical default: 2024-03-15start_datestring (YYYY-MM-DD)optional
Range query start date.
Accepted format:
2024-03-01end_datestring (YYYY-MM-DD)optional
Range query end date.
Accepted format:
2024-03-15pageintegeroptional
Pagination page number.
Accepted format:
1Typical default: 1page_sizeintegeroptional
Records per page (max 100).
Accepted format:
30Typical default: 30Response Schema Attributes
| Field | Type | Description |
|---|---|---|
| market_date | string (date) | Market date. |
| state | object | State identity containing { code: "MH", identity: "Maharashtra" }. |
| cleared_buy | string (decimal MW) | State total cleared buy volume in MW. |
| cleared_sell | string (decimal MW) | State total cleared sell volume in MW. |
| price_mwh | string (decimal INR) | Arithmetic daily MCP in INR per MWh. |
| price_kwh | string (decimal INR) | Arithmetic daily MCP in INR per kWh. |
| weighted_price_mwh | string (decimal INR) | Daily volume-weighted price in INR/MWh. |
| weighted_price_kwh | string (decimal INR) | Daily volume-weighted price in INR/kWh. |
Error Responses & HTTP Status Codes
Full Error Spec| Status | Trigger / Reason | Response Envelope Schema |
|---|---|---|
| 400 Bad Request | Historical plan limit exceeded / invalid date or filter format | {"date": ["Your Free plan allows access..."]} |
| 401 Unauthorized | Missing credentials / Invalid gm_live_ API key / Inactive hash | {"detail": "Authentication credentials were not provided."} |
| 403 Forbidden | Expired subscription plan / Cancelled subscription | {"detail": "Your Developer plan expired on 2026-11-16. Pleas..."} |
| 429 Too Many Requests | Per-minute burst limit or daily quota exceeded (Header: Retry-After) | {"detail": "Per-minute rate limit of 30 requests exceeded..."} |
curl "http://52.66.240.39:8000/api/v1/iex/state-dam/daily/list/" \
-H "Accept: application/json" \
-H "x-api-key: YOUR_API_KEY"{
"total_credits": 100,
"used_credits": 1,
"remaining_credits": 99,
"credit_used": 1,
"data": {
"count": 1,
"next": null,
"previous": null,
"results": [
{
"market_date": "2024-03-15",
"state": {
"code": "MH",
"identity": "Maharashtra"
},
"cleared_buy": "112000.00",
"cleared_sell": "91500.00",
"price_mwh": "4580.00",
"price_kwh": "4.58",
"weighted_price_mwh": "4620.80",
"weighted_price_kwh": "4.6208"
}
]
},
"status": "success"
}