🇮🇳India•IEX/State-Wise DAM

State-Wise DAM — Hourly Rollup

24-hour state-level aggregated drawals, injection volumes, and weighted regional prices.

Aggregates four 15-minute intervals per hour for a specific state code. Filter by state, date, and optional hour.
⚡1 credit per requestMarket:IEX
GET/api/v1/iex/state-dam/hourly/list/

Headers

Pass in HTTP request headers
X-API-Keystring (header)required
X-API-Key: YOUR_API_KEY

Developer 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/json

Expected response format.

Query Parameters (7)

Set optional filters below to customize the query
statestring (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: MH
datestring (YYYY-MM-DD)optional

Target market trading date.

Accepted format: 2024-03-15Typical default: 2024-03-15
start_datestring (YYYY-MM-DD)optional

Range query start date.

Accepted format: 2024-03-01
end_datestring (YYYY-MM-DD)optional

Range query end date.

Accepted format: 2024-03-15
hourinteger (1-24)optional

Hour of trading day (1 to 24).

Accepted format: 18
pageintegeroptional

Pagination page number.

Accepted format: 1Typical default: 1
page_sizeintegeroptional

Records per page (max 100).

Accepted format: 24Typical default: 24

Response Schema Attributes

FieldTypeDescription
market_datestring (date)Target market delivery date.
hourinteger (1-24)Hour of trading day (1 to 24).
stateobjectState identity containing { code: "MH", identity: "Maharashtra" }.
cleared_buystring (decimal MW)Total state cleared buy volume in MW.
cleared_sellstring (decimal MW)Total state cleared sell volume in MW.
price_mwhstring (decimal INR)Average MCP in INR per MWh.
price_kwhstring (decimal INR)Average MCP in INR per kWh.
weighted_price_mwhstring (decimal INR)Volume-weighted price in INR per MWh.
weighted_price_kwhstring (decimal INR)Volume-weighted price in INR per kWh.

Error Responses & HTTP Status Codes

Full Error Spec
StatusTrigger / ReasonResponse Envelope Schema
400 Bad RequestHistorical plan limit exceeded / invalid date or filter format{"date": ["Your Free plan allows access..."]}
401 UnauthorizedMissing credentials / Invalid gm_live_ API key / Inactive hash{"detail": "Authentication credentials were not provided."}
403 ForbiddenExpired subscription plan / Cancelled subscription{"detail": "Your Developer plan expired on 2026-11-16. Pleas..."}
429 Too Many RequestsPer-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/hourly/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": 24,
    "next": null,
    "previous": null,
    "results": [
      {
        "market_date": "2024-03-15",
        "hour": 18,
        "state": {
          "code": "MH",
          "identity": "Maharashtra"
        },
        "cleared_buy": "5400.00",
        "cleared_sell": "4100.00",
        "price_mwh": "5840.00",
        "price_kwh": "5.84",
        "weighted_price_mwh": "5812.50",
        "weighted_price_kwh": "5.8125"
      }
    ]
  },
  "status": "success"
}