Police Station Catalog API

The Police Station Catalog API lists every state, district and police station for which eCourtsIndia holds FIR PDFs, with their codes and names, the number of FIRs available and the range of years covered, all in one call. It turns a station name a user gives into the exact stationCode the FIR endpoints expect.

GET https://webapi.ecourtsindia.com/api/partner/fir/catalog

Overview

FIR lookups and downloads need the right police station, and station names repeat across districts of the same state. The Police Station Catalog API gives you the full tree in one response: states, their districts and the stations in each district, each with a code, name, FIR count and year range. Apps use it to build station pickers, and backends cache it to resolve names to codes.

GET /api/partner/fir/catalog returns generatedAt and a states array; each state has districts, and each district has stations. The catalog is rebuilt hourly, so fetch it once, cache it and refresh at most once an hour. If you prefer smaller calls, /api/partner/fir/states, /states/{state}/districts and /states/{state}/stations?district= return the same data one level at a time. Codes feed the FIR Lookup and FIR PDF Download APIs.

Input
None for the full catalog; state and district for the level-by-level calls
Returns
States, districts and police stations with codes, names, FIR counts and year ranges
Coverage
State police portals in most states and union territories; Sikkim and Nagaland are not offered
Freshness
Rebuilt hourly
Auth
Bearer API key or OAuth via the MCP server
Register
eCourtsIndia (ecourtsindia.com)
Data source
Public court records published by the Supreme Court, High Courts, district courts and tribunals, harvested daily and refreshed on demand.

What it returns

generatedAt

When the catalog was built

states[].stateCode / stateName

State code and name, for example MH and Maharashtra

states[].firCount

FIR PDFs available in the state

states[].minYear / maxYear

Range of FIR years covered

districts[].districtCode / districtName

Police district code and name

stations[].stationCode

Police station code to use in lookups and downloads

stations[].stationName

Name of the police station

stations[].firCount / minYear / maxYear

FIRs available at the station and their year range

Use cases

Station picker in a legal app

A legal app asks users which police station registered their FIR. It loads the catalog once an hour, shows states, then districts, then stations with their year ranges, and passes the chosen stationCode to the FIR Lookup API, so users never type an ambiguous station name.

Resolving names in bulk

A verification firm receives FIR references with station names typed by field staff. A nightly job matches each name within its district against the cached catalog and writes the stationCode back, flagging names that match nothing or more than one station for review.

Coverage planning

A product team deciding where to offer FIR retrieval reads firCount and year ranges per state and district. It sees which districts have deep history and which only recent years, and sets user expectations in each region accordingly before launch.

How to use it

  1. Call GET /api/partner/fir/catalog with your Bearer API key.
  2. Cache the response and refresh it at most once an hour.
  3. Match a station name within its district to get the stationCode; keep the district with the name, since names repeat.
  4. Pass state and stationCode to the FIR Lookup or FIR PDF Download API.

Example

Request

curl "https://webapi.ecourtsindia.com/api/partner/fir/catalog" \
  -H "Authorization: Bearer eci_live_YOUR_KEY"

Response (illustrative)

{
  "data": {
    "generatedAt": "2026-11-27T06:00:00Z",
    "states": [
      {
        "stateCode": "MH",
        "stateName": "Maharashtra",
        "firCount": 250000,
        "minYear": 2019,
        "maxYear": 2026,
        "districts": [
          {
            "districtCode": "19372",
            "districtName": "Pune City",
            "firCount": 12000,
            "stations": [
              { "stationCode": "19372021", "stationName": "Shivajinagar", "firCount": 900, "minYear": 2019, "maxYear": 2026 }
            ]
          }
        ]
      }
    ]
  },
  "meta": { "request_id": "req_example034" }
}

Authenticate with Authorization: Bearer eci_live_…. Every response field is documented in the eCourtsIndia API documentation. Assistants can also call this through the eCourtsIndia MCP server.

Glossary

Police district
The unit a state police force uses to organise its stations. It often matches the revenue district, but large cities can be separate police districts, such as Pune City in Maharashtra. The catalog groups stations by these police districts.
Police station code
The code a state police system uses for each police station, for example 19372021 for Shivajinagar in Pune City. It is the exact way to name a station in FIR lookups and downloads.
FIR (First Information Report)
The report police record when they receive information about a cognizable offence. It carries an FIR number, the police station, the year and date of registration, and the sections invoked. Many state police portals publish FIR copies online.

Good to know

  • Station names repeat across districts; always keep the district with the name.

Frequently asked questions

Where can I get a list of police stations with codes for FIR search?

Call GET /api/partner/fir/catalog. It returns every state, district and police station for which FIR PDFs are held, with codes, names, FIR counts and year ranges. Use the stationCode from it in the FIR Lookup and FIR PDF Download APIs, keeping the district alongside since names repeat.

How often is the catalog updated?

It is rebuilt hourly. Fetch it once, cache it, and refresh it at most once an hour. The generatedAt field tells you when the copy you hold was built, so you can decide when to reload without fetching more often than needed.

Can I get one state or one district at a time?

Yes. GET /api/partner/fir/states lists states, /states/{state}/districts lists a state's districts, and /states/{state}/stations lists its stations; add ?district= with a district code to limit it to one district. The data is the same as in the full catalog, just split into smaller responses.

Why are some states missing?

Sikkim and Nagaland are not offered because their police portals publish no FIR number. They do not appear in the catalog, and a request naming either answers 404 UNKNOWN_STATE. Other states appear as their FIRs are held, with counts and year ranges for each.

How is this easier than using the state police portal's station list?

Each state portal has its own district and station dropdowns, and station names repeat. The catalog gives one consistent list for all covered states as JSON, with codes and FIR counts, so a program can match names and pick the right station without browsing each portal.

Can AI assistants use the police station catalog?

Yes. On the eCourtsIndia MCP server, get_fir_locations lists the states, districts and police stations FIR PDFs are held for, with codes, counts and year ranges. Claude or ChatGPT can use it to find the right station before looking up an FIR.