
Catalog UUID vs. Resource ID
A common point of confusion when working with OGD India datasets is mixing up a Catalog UUID with a Resource ID. A single catalog can contain multiple resources—for example, separate yearly tables, state-wise files, or updated editions.
When querying the Data API, you must pass the Resource ID. Passing a catalog UUID to the records endpoint will not return table rows.
- Catalog UUID: Identifies the parent dataset collection (/catalog/<slug>/<catalog-uuid>).
- Resource ID: Identifies one specific table or file inside that catalog (/resource/<slug>/<resource-uuid>).
How to Locate a Resource ID in Data Khoj
Use the browser workflow below to find any live Resource ID:
- Go to Browse Data and search or filter by Sector or Ministry.
- Click a catalog to open its resources list.
- Look for resources marked with an API Available badge.
- Click View Records on that resource. The Resource ID is the UUID segment at the end of the page URL.

Why Some Resources Cannot Be Queried via API
Not every resource on data.gov.in is backed by a structured Data API. Upstream metadata distinguishes them using the is_api_available flag: API-enabled (1) supports paginated JSON queries, filtering, and Chart Analysis, while file-only (0) points to a static downloadable document.