Cluster Living Database HomeSources › mospi

Ministry of Statistics and Programme Implementation, India

As built

DatasetConsumer Price Index, All India
Dataset idmospi.cpi
Series2,376
Observations122,893
Countries1
Period range2011-01-01 to 2026-07-01
Vintages2
Last fetched2026-09-10 11:33
Poll interval7 days
Archivemospi/cpi/*.json.gz
LicenceGovernment Open Data License - India
Redistributablewith-attribution
Terms read by a person2026-09-11
AttributionSource: 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.

https://www.data.gov.in/godl

What building it taught us

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.