Free APIs for India.

Pincodes, IFSC, GSTIN, holidays and Indian-language tools. No key needed to start; a free key raises the limits.

curl https://api.dharun.dev/v1/pincode/637001?utm_medium=home
{
  "data": {
    "pincode": "637001",
    "district": "Namakkal",
    "stateCode": "TN",
    "state": "Tamil Nadu",
    "offices": [
      {
        "name": "Namakkal H.O",
        "type": "Head Office",
        "delivery": true,
        "division": "Namakkal",
        "region": "Western Region, Coimbatore",
        "circle": "Tamilnadu",
        "district": "Namakkal",
        "stateCode": "TN",
        "state": "Tamil Nadu",
        "latitude": 11.2155833,
        "longitude": 78.1702778
      },
      {
        "name": "Namakkal Bazaar S.O",
        "type": "Post Office",
        "delivery": false,
        "division": "Namakkal",
        "region": "Western Region, Coimbatore",
        "circle": "Tamilnadu",
        "district": "Namakkal",
        "stateCode": "TN",
        "state": "Tamil Nadu",
        "latitude": 11.2240556,
        "longitude": 78.1703333
      },
      {
        "name": "Namakkal Fort S.O",
        "type": "Post Office",
        "delivery": false,
        "division": "Namakkal",
        "region": "Western Region, Coimbatore",
        "circle": "Tamilnadu",
        "district": "Namakkal",
        "stateCode": "TN",
        "state": "Tamil Nadu",
        "latitude": 11.238,
        "longitude": 78.166
      }
    ]
  },
  "meta": {
    "source": {
      "name": "All India Pincode Directory",
      "url": "https://www.data.gov.in/resource/all-india-pincode-directory-till-last-month",
      "licence": "Government Open Data License - India (GODL)",
      "version": "23760720 bytes",
      "retrieved": "2026-10-13",
      "attribution": "Contains data from the All India Pincode Directory, Department of Posts, published on data.gov.in under the Government Open Data License - India."
    }
  }
}

No key to start

Call it from your server or straight from a browser. CORS is open, and every answer has the same { data, meta } shape. A free key raises the limits.

Open source

The code is on GitHub under AGPL-3.0. Every response names its data source, its version and its licence.

Private by default

No cookies, no ads, no IP addresses in the logs. Personal values you send are never logged. Details

Every API.

81 APIs in one shape. Each has its own page with parameters, a real response and code to copy.

Money and business

Ready for AI assistants.

Connect the MCP server and Claude, ChatGPT, Cursor or VS Code can look up Indian data on their own. Add the Agent Skill and your coding agent knows the whole API.

Set it up
claude mcp add --transport http india-api https://api.dharun.dev/mcp
npx skills add dharunashokkumar/api.dharun.dev

Guides.

Real tasks, solved with code you can paste.

Questions.

Is it free?

Yes, and there is no paid plan. Most endpoints need no key: each address gets 600 units a minute, and a few endpoints that do heavy work count as more than one. A free API key raises that to 3000 a minute per key, and the model endpoints (OCR, speech, translation, embeddings and the like) will need one after a notice period.

Do I need an API key?

Not for most endpoints. A free key gives you your own, larger allowance; get one at /signup with just your email address (we mail you a code; no password). Send it as Authorization: Bearer <key>. The model endpoints will need a key from the date on /keys.

Can I use it in a commercial app?

Yes. Calling the API puts no licence on your app. The data keeps the licence of its source, named in every response under meta.source; a few sources ask for a credit line. The code examples on this site are MIT-0, so you can paste them anywhere.

Where does the data come from?

From official publications such as the Reserve Bank of India, India Post, NSE and the GST council, and from open datasets such as OurAirports and Wikipedia. Every response says which source it used, its version and when it was retrieved.

What do you log?

One line per request with the path, the status, the time taken and roughly where it came from (country, state, city and internet provider, looked up from the address). IP addresses are never written to the log, and endpoints that take personal values (phone numbers, email addresses, text you send) leave their input out of the log entirely.

Is my text sent to an AI company?

No. Translation, speech to text, moderation, name detection, embeddings and the other model-based APIs run open models on this server itself. What you send is not passed to any other service, not kept and not used to train anything.

Can I run it myself?

Yes. The whole service is open source under AGPL-3.0: one Go program and its datasets. The README explains how to build and run it.

Does it work with AI assistants?

Yes. There is an MCP server at /mcp with no authentication, an Agent Skill, a Claude Code plugin, an OpenAPI description and llms.txt.