India Data.gov Scraper - Government Open Datasets
Pricing
Pay per usage
India Data.gov Scraper - Government Open Datasets
Affordable India data.gov scraper: government open datasets. $1/1,000 results, 25 free, pay-per-result, no subscription. Works in Claude, ChatGPT & any MCP-compatible AI agent.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
India Government Data (data.gov.in) β Trade, Prices, Census & More
Pull any Indian government open dataset from data.gov.in β the official Open Government Data platform β as clean, structured JSON, through the official OGD API. Foreign trade (export/import), mandi commodity prices, census, agriculture, health, energy and thousands more. Filter, paginate, and stream straight into your pipeline. No anti-bot, no scraping fragility β this is the government's own API.
Keywords: data.gov.in API, India open data, OGD platform, India foreign trade data, export import India, mandi prices API, Indian government datasets, India statistics API.
Why this actor
India publishes a vast amount of open data through data.gov.in β but the OGD API is per-dataset, returns inconsistent envelopes, paginates by offset, and needs an API key. This actor wraps all of that into a single, reliable tool: give it a dataset's resource ID and it streams the whole dataset (or your filtered slice) as flat records.
- Any dataset β trade, prices, census, agriculture, health, transport, energy. If it's on data.gov.in, this pulls it.
- Server-side filters β narrow by any field the dataset exposes (state, commodity, yearβ¦).
- Full pagination β pull a sample or the entire dataset.
- Official API, no anti-bot β this is the government's own endpoint, so it's stable and legitimate.
- Bring your own free key β use the shared sample key for testing, your own free data.gov.in key for production.
Featured use case: India foreign trade (export / import)
India's DGCIS / DGFT foreign-trade statistics β exports and imports by principal commodity and by country β are published on data.gov.in. Find the dataset you want on data.gov.in (search "foreign trade" or "export import"), copy its resource ID, and this actor pulls it: commodity, country, year, value β structured and ready for analysis. The same actor also gives you mandi prices, census, and the rest of the catalog.
How to find a resource ID
- Go to data.gov.in and search for your dataset (e.g. "foreign trade", "export", "mandi price").
- Open the dataset and click its API tab (or look at the resource URL).
- Copy the resource ID β a UUID like
9ef84268-d588-465a-a308-a864a43d0070. - Paste it into
resourceId.
Input
| Field | Type | Description |
|---|---|---|
resourceId | string | The data.gov.in dataset resource ID. Required. |
apiKey | string | Your free data.gov.in API key. Blank = shared sample key (rate-limited; testing only). |
filters | string[] | field=value filters (e.g. state=Maharashtra, commodity=Onion). Combined with AND. |
maxResults | integer | Max records to return (default 1000). |
Example input
{"resourceId":"9ef84268-d588-465a-a308-a864a43d0070","filters":["state=Maharashtra","commodity=Onion"],"maxResults":500,"apiKey":"your-free-data-gov-in-key"}
Output
Each record is returned exactly as the dataset defines it (schemas vary by dataset), plus _resource_id and _scraped_at. For the mandi-price dataset, for example:
{"state":"Maharashtra","district":"Mumbai","market":"Mumbai-Onion & Potato Market APMC","commodity":"Onion","variety":"Red","arrival_date":"11/06/2026","min_price":1000,"max_price":1600,"modal_price":1350,"_resource_id":"9ef84268-d588-465a-a308-a864a43d0070","_scraped_at":"2026-06-11T13:00:00.000Z"}
A final {"_type": "summary"} record reports the dataset title, how many records were returned, and the total available.
Pricing
Your first 25 records are free β every Apify account, no card, no trial clock. After that it is a flat $0.001 per record.
- First 25 records free per account (lifetime), then $0.001/record ($1 per 1,000)
- Zero charge on empty runs
- No monthly minimum, no rental
FAQ
Do I need an API key? A free data.gov.in key is recommended for production (instant signup at data.gov.in β My Account). The actor falls back to a shared sample key for testing, but it's heavily rate-limited.
Can I get India's export/import data? Yes β the DGCIS/DGFT foreign-trade datasets are on data.gov.in. Find the resource ID and pass it in.
Which datasets are supported? All of them β data.gov.in hosts hundreds of thousands of resources across every ministry. This actor works against any of them.
Is this legal / reliable? Yes β it uses the government's own official OGD API. No scraping of rendered pages, no anti-bot circumvention.
