India API

About

India API puts the reference data that Indian apps need behind one free, consistent API.

It is built and run by Dharun Ashokkumar. Requests for new APIs and reports of wrong data are welcome as GitHub issues.

Why it exists

Every Indian app needs the same lookups: a pincode's district, a branch's IFSC, whether a GSTIN is well formed, which days the banks are shut in a state, how much is "1,25,000" in words. The data is public, but it is scattered across government portals, spreadsheets and PDFs, in a different shape each time, and every team ends up scraping and cleaning it again. India API does that once, in the open, and answers in one shape: { data, meta }, with the source and licence of the data in every answer.

How it works

  • One service, plain addresses. Every API is a path under /v1, answering JSON over HTTPS with open CORS. Most need no key; a free key raises the limits, and the model endpoints need one.
  • Data kept fresh by the service itself. Each dataset is rebuilt from its source on a schedule (IFSC weekly, mutual fund NAVs daily, rates every few hours), checked against the copy in use, and swapped in without a restart. A source that changes shape is refused rather than served half-read.
  • Models run here. OCR, speech, translation, embeddings and the small language model run on this service; what you send is not passed to another company and not used to train anything.
  • Written for programs and for people. The same catalogue makes the documentation, the OpenAPI file, llms.txt, an MCP server for AI assistants, the playground and the free tools.

What it will not do

  • Say that an identifier was issued: format checks confirm the shape and the check digit, not that a GSTIN, PAN or Aadhaar number belongs to anyone.
  • Keep or log what you send to the private endpoints. The privacy page says exactly what is kept.
  • Use data whose terms forbid it. Each dataset's source and licence were checked before it was added; see the table below.

Contact

Issues and data corrections: GitHub. Security problems: see the security page.

Licences

  • Calling the API puts no licence on your app.
  • The code is free software under the GNU AGPL-3.0. You may run, study and change it; if you run a changed copy as a service for others, you must offer them your changes.
  • Code examples in the documentation and the guides, the Agent Skill and the Claude Code plugin are MIT-0: use them anywhere, no credit needed.
  • Data keeps the licence of its source, listed below and named in every response under meta.source.
  • Company logos are trademarks of their owners and are shown to identify the companies.

Data sources

Source Licence Retrieved
Indian listed company logos Logos are trademarks of the companies they identify 2026-10-15
Global stock logos Logos are trademarks of the companies they identify 2026-11-11
Indian brand logos Logos are trademarks of the brands they identify; Commons files under their own free licence (public domain, CC0, CC BY, CC BY-SA), named per brand 2026-11-11
Crypto, index, ETF and commodity logos Coin, index and fund marks belong to their owners; spothq icons CC0 1.0; commodity icons drawn for this API 2026-11-11
All India Pincode Directory Government Open Data License - India (GODL) 2026-10-13
IFSC dataset Public domain (dataset), as stated by the publisher 2026-11-24T02:51:14Z
List of Regional Transport Office districts in India CC BY-SA 4.0 2026-11-12T00:38:28Z
Bank holidays in India Official publication 2026-11-12T00:38:28Z
Central government holidays Official publication 2026-10-13
Trading and clearing holidays, NSE equities Official publication 2026-11-12T00:38:28Z
HSN and SAC codes Statute and gazette notification; reproduction permitted by section 52(1)(q) of the Copyright Act, 1957 2026-10-13
Net asset values of mutual fund schemes Published by AMFI under SEBI's disclosure rules 2026-11-28T20:53:04Z
Mutual fund NAV history Published by AMFI under SEBI's disclosure rules 2026-11-28T13:35:01Z
DB-IP Lite: IP to City and IP to ASN CC BY 4.0 2026-11-04T14:39:19Z
Disposable email domains CC0 1.0 2026-11-24T02:51:14Z
List of railway stations in India CC BY-SA 4.0 2026-11-12T00:38:28Z
Mobile telephone numbering in India CC BY-SA 4.0 2026-10-13
Maps of assembly and parliamentary constituencies Assembly boundaries CC BY 2.5 India; parliamentary boundaries (simplified, 2019) CC0 2026-10-13
OurAirports Public domain 2026-11-12T00:38:28Z
Thirukkural Public domain text and translations; the compilation is Apache-2.0 2026-10-13
IndicNER and bert-base-NER (int8) MIT 2026-10-15T12:28:44Z
Toxicity classifiers (int8): Unitary multilingual, Hinglish, Tanglish Apache-2.0 (Unitary, Tanglish); MIT (Hinglish, base model L3Cube HingRoBERTa CC BY 4.0) 2026-10-15T12:28:44Z
IndicXlit, English to Indic v1.0 MIT 2026-10-15T12:28:44Z
RDAP bootstrap registries CC0 1.0 2026-11-27T10:36:30Z
CelesTrak current GP element sets None stated by CelesTrak. USSPACECOM allows redistribution of basic space situational awareness data with credit; only results computed from it are published here 2026-11-28T20:53:04Z
Space weather data Public domain (work of the US government) 2026-11-28T21:58:04Z
IS-Net (DIS), general-use weights Apache-2.0 2026-10-14T20:48:57Z
Piper voices Each voice keeps its training data's licence, named with every answer 2026-10-14T20:48:57Z
Whisper small (5-bit, whisper.cpp) MIT 2026-10-15T12:28:44Z
multilingual-e5-small (int8) MIT 2026-10-15T12:28:44Z
bge-reranker-v2-m3 (uint8) Apache-2.0 2026-10-15T14:01:13Z
IndicTrans2 distilled 200M (int8) MIT 2026-10-15T12:28:44Z
RBI current rates Public statements of the Reserve Bank of India, credited 2026-11-28T20:53:04Z
Gold, silver and platinum rates Published by IBJA; reused under this project's data rule, credited 2026-11-27T13:41:11Z
NSE index constituents Published by NSE Indices Limited; reused under this project's data rule, credited 2026-11-11T09:32:14Z
Current daily price of various commodities from various markets (Mandi) Government Open Data License - India 2026-11-28T14:40:04Z
Real time Air Quality Index from various locations Government Open Data License - India 2026-11-28T21:58:04Z
Correspondence tables of the new criminal laws (BNS-IPC, BNSS-CrPC, BSA-IEA) Section correspondence and the Acts' section titles (facts and statute text); the tables' summaries are not used 2026-11-11
Local Government Directory (LGD): districts, sub-districts, villages and their PIN codes Government Open Data License - India 2026-11-11T17:17:28Z
National Hospital Directory with geo code (May 2016) Government Open Data License - India 2026-11-11T17:17:28Z
Census of India 2011, Primary Census Abstract (India, states, districts, sub-districts and towns) Government of India publication, published openly in the Census Digital Library; credited 2026-11-12T15:42:17Z
National Numbering Plan (2003), Annex II: list of SDCA codes Government of India publication, published openly; credited 2026-11-12T15:40:00Z
BIN List Data CC BY 4.0 2026-11-12T17:29:28Z
Aathichoodi, Bhagavad Gita (Sanskrit) and Kabir's sakhis, as transcribed on Wikisource Public domain texts (Avvaiyar, the Mahabharata, Kabir); Wikisource credited for the transcription 2026-11-12T15:40:00Z
Qwen2.5-1.5B-Instruct (4-bit GGUF, Q4_K_M) Apache-2.0 2026-11-12T17:29:28Z