Gov APIdtl.gov.in ↗
Find and access detailed information about India's power utilities organized by state, including distribution companies (DISCOs), generation companies (GENCOs), transmission companies (TRANSCOs), and state electricity regulators (SERCs) from Delhi Transco Limited's official directory. Quickly search through the complete list of power utilities to locate the specific provider or regulatory body you need for any state in India.
curl -X GET 'https://api.parse.bot/scraper/b082f74e-9054-4a65-9014-a8b07021ca78/list_discoms?state=Delhi' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace dtl-gov-in-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
"""Walkthrough: DTL Power Utilities Directory — bounded, re-runnable; every call capped."""
from parse_apis.dtl_gov_in_api import Dtl, ParseError
client = Dtl()
# List DISCOMs filtered by a specific state
for discom in client.discoms.list(state="Delhi", limit=3):
print(discom.name, discom.state, discom.website)
# List all utilities of a specific function type
for utility in client.utilities.list(state="Andhra Pradesh", function_type="GENCO", limit=3):
print(utility.name, utility.function, utility.website)
# Get the first DISCOM from all states
first = client.discoms.list(limit=1).first()
if first:
try:
print(first.name, first.state, first.section)
except ParseError as e:
print(f"error: {e}")
print("exercised: discoms.list, utilities.list")
Lists all distribution companies (DISCOMs) across Indian states and union territories. Each record includes the DISCOM name, state, functional role, and official website URL. Results are from a single directory page and not paginated upstream.
| Param | Type | Description |
|---|---|---|
| state | string | Filter by state or UT name (case-insensitive substring match, e.g. 'Delhi', 'Andhra Pradesh'). Omitting returns all DISCOMs across all states. |
{
"type": "object",
"fields": {
"total": "integer count of DISCOMs returned",
"discoms": "array of DISCOM records with state, section, name, function, website"
},
"sample": {
"data": {
"total": 5,
"discoms": [
{
"name": "Tata Power Delhi Distribution Ltd. [TPDDL]",
"state": "Delhi (NCT)",
"section": "States",
"website": "https://www.tatapower-ddl.com",
"function": "DISCOM"
},
{
"name": "BSES Rajdhani Power Ltd. (BRPL)",
"state": "Delhi (NCT)",
"section": "States",
"website": "https://www.bsesdelhi.com/web/brpl/home",
"function": "DISCOM"
},
{
"name": "BSES Yamuna Power Ltd. (BYPL)",
"state": "Delhi (NCT)",
"section": "States",
"website": "https://www.bsesdelhi.com/web/bypl/home",
"function": "DISCOM"
},
{
"name": "New Delhi Municipal Council (NDMC)",
"state": "Delhi (NCT)",
"section": "States",
"website": "https://www.ndmc.gov.in",
"function": "DISCOM"
},
{
"name": "Military.Engineer Services Delhi",
"state": "Delhi (NCT)",
"section": "States",
"website": "https://mesbai.co.in/index.aspx",
"function": "DISCOM"
}
]
},
"status": "success"
}
}About the Gov API
The Gov API on Parse exposes 2 endpoints for the publicly available data on dtl.gov.in. Calls return JSON over HTTPS and are billed per successful response.
Pin a release with the API-Snapshot-Version header so canonical updates don't silently change your contract.