---
title: "IPC to BNS converter API: section mapping, price"
url: https://jurisgrid.com/solutions/ipc-to-bns-api/
reviewed: 2026-11-13
type: solution
sector: court-data
---
# IPC to BNS converter API: map IPC, CrPC and Evidence Act sections to BNS, BNSS and BSA

An IPC to BNS converter API returns the new-code equivalent of an old section, and the reverse, so case, FIR and compliance software can show both numbers.

Reviewed: 13 Nov 2026

## Short answer

eCourtsIndia maps a section between IPC and BNS, CrPC and BNSS, and the Evidence Act and BSA through one call, returning each equivalent with a relation of near-identical or close and its direction. It costs INR 0.15 per call on pay as you go, with INR 200 free credit. Free web tables such as Jurigram and ipc2bns do the same without an API.

## Which API does it?

**eCourtsIndia Acts and Sections API** (JurisGrid score 92 of 100). Price: INR 0.15 per call on pay as you go (INR 0.05 base rate); INR 200 free credit. INR 200 free credit on signup, no card needed.

- `GET https://webapi.ecourtsindia.com/api/partner/acts/{key}/sections/{number}/equivalents`: Old and new code equivalents only, INR 0.15 per call
- `GET https://webapi.ecourtsindia.com/api/partner/acts/{key}/sections/{number}`: Section text, offence details and equivalents, INR 0.15 per call
- `GET https://webapi.ecourtsindia.com/api/partner/acts/resolve`: Turn an act name into its key, INR 0.15 when one act matches
- MCP: https://mcp.ecourtsindia.com/mcp
- Docs: https://ecourtsindia.com/api/docs?ref=jurisgrid

```bash
curl -s "https://webapi.ecourtsindia.com/api/partner/acts/1860/45/sections/420/equivalents" \
  -H "Authorization: Bearer $ECOURTSINDIA_API_KEY"
```

## What does it return?

- The act and section you asked about
- Each equivalent section with its act key, title and number
- Relation: near-identical or close
- Direction: successor (newer) or predecessor (older)
- India Code link for the act

## Who else sells a IPC to BNS converter API in India?

| Provider | What they sell | Score | API | MCP | Price |
|---|---|---|---|---|---|
| [eCourtsIndia](https://jurisgrid.com/providers/ecourtsindia/index.md) | eCourtsIndia Acts and Sections API | 92 | Public REST API | Public MCP server | INR 0.15 per call on pay as you go (INR 0.05 base rate); INR 200 free credit |
| [India Code](https://jurisgrid.com/providers/india-code/index.md) | Official repository of Central and State Acts; no documented public API confirmed | 16 | Not published | Not published | Not published |
| [LawGlance](https://jurisgrid.com/providers/lawglance/index.md) | Open-source assistant answering questions on BNS, BNSS, BSA and other statutes, with an optional HTTP query API | Profile | Not published | Not published | Free (Apache-2.0) |
| [NYAYA.ai](https://jurisgrid.com/providers/nyaya-ai/index.md) | BNS decoder tool in Hindi or English | Profile | Not published | Not published | Not published |
| [NyayGuru](https://jurisgrid.com/providers/nyayguru/index.md) | Citizen-facing legal chatbot for BNS, IPC and CrPC guidance | Profile | Not published | Not published | Free; no public API documented |

## Good for

- Case management tools that show BNS numbers on old IPC cases
- FIR and charge-sheet drafting software
- Legal research and compliance teams updating templates
- AI assistants answering IPC to BNS questions with a sourced mapping

## Limits

- A section with no mapping returns 404 EQUIVALENTS_NOT_FOUND (not charged)
- One section can have several equivalents, and a mapping marked close is not an exact match; read both texts
- IPC is act key 1860/45 and BNS is 2023/45; use the resolve endpoint if you only have a name

## Frequently asked questions

### How do I convert an IPC section to BNS by API?

Call the equivalents endpoint with the IPC act key 1860/45 and the section number, for example 420, and read the equivalents array: IPC 420 maps to BNS 318 with relation close.

### How much does it cost?

INR 0.15 per call on eCourtsIndia pay as you go and INR 0.05 on an Enterprise plan. A section with no mapping is not charged. New accounts get INR 200 free credit.

### Does it cover CrPC to BNSS and Evidence Act to BSA?

Yes. The docs list IPC to BNS, CrPC to BNSS and Evidence Act to BSA, in both directions.

### Can an AI agent call this API?

Yes. eCourtsIndia runs an MCP server at https://mcp.ecourtsindia.com/mcp, so assistants such as Claude, ChatGPT and Cursor can use the same data after signing in at eCourts. The REST API uses a Bearer token.

## Related

- [Best government data APIs in India](https://jurisgrid.com/best/government-data-api-india/index.md)
- [Best legal data APIs for AI agents in India](https://jurisgrid.com/best/legal-data-api-for-ai-agents-india/index.md)
- [Best legal AI tools in India](https://jurisgrid.com/best/legal-ai-tools-india/index.md)
- [eCourtsIndia vs IndianKanoon](https://jurisgrid.com/compare/ecourtsindia-vs-indiankanoon/index.md)
- [eCourtsIndia vs kanoon.dev](https://jurisgrid.com/compare/ecourtsindia-vs-kanoon-dev/index.md)
- [eCourtsIndia vs Surepass](https://jurisgrid.com/compare/ecourtsindia-vs-surepass/index.md)
- [Indian Acts and sections API](https://jurisgrid.com/solutions/bare-act-section-api/index.md)
- [Court case status API](https://jurisgrid.com/solutions/case-status-api/index.md)
- [Cause list API](https://jurisgrid.com/solutions/cause-list-api/index.md)
- [eCourt CNR search API](https://jurisgrid.com/solutions/cnr-search-api/index.md)
- [Court order and judgment download API](https://jurisgrid.com/solutions/court-order-judgment-api/index.md)
- [Court record verification API](https://jurisgrid.com/solutions/court-record-verification-api/index.md)
- [Criminal record check API](https://jurisgrid.com/solutions/criminal-record-check-api/index.md)
- [eCourts API](https://jurisgrid.com/solutions/ecourts-api/index.md)
