| Dataset | Consumer Price Index, All India |
|---|---|
| Dataset id | mospi.cpi |
| Series | 2,376 |
| Observations | 122,893 |
| Countries | 1 |
| Period range | 2011-01-01 to 2026-07-01 |
| Vintages | 2 |
| Last fetched | 2026-09-10 11:33 |
| Poll interval | 7 days |
| Archive | mospi/cpi/*.json.gz |
| Licence | Government Open Data License - India |
| Redistributable | with-attribution |
| Terms read by a person | 2026-09-11 |
| Attribution | Source: Ministry of Statistics and Programme Implementation, India, Consumer Price Index, eSankhyiki (https://esankhyiki.mospi.gov.in/). Published under the Government Open Data License - India (https://www.data.gov.in/godl). This does not imply endorsement by the data provider. |
The connector's own docstring, verbatim. It lives beside the code so it cannot drift from it.
India MoSPI connector: national CPI at item depth across three bases.
The eSankhyiki API is the Ministry's current, keyless publication route. The 2024-base release carries 668 national Combined categories and a source-made headline back series for 2013--2024. The retired 2012 and 2010 bases remain available and are kept as separate series sets.
Only `All India / Combined` is taken. Bases are never spliced: MoSPI's own 2024-base Back and Current rows share an id because the source publishes them as non-overlapping segments of one base; 2010 and 2012 stay separate. The 2024 classification is COICOP 2018, not the COICOP 1999 vocabulary used by the IMF flow, so it remains source-namespaced below the headline.
MoSPI publishes index and year-over-year inflation fields. Both are stored as published; month-over-month is not derived. A response page can change alone after a revision, so deriving across pages would not replay that revision.
The API server requires OpenSSL's legacy-server-connect compatibility bit. Unlike the Ministry's reference client, certificate and hostname verification remain enabled; only the legacy renegotiation option changes.