FIR Lookup API

The FIR Lookup API checks whether eCourtsIndia holds the PDF of one Indian police FIR, named by state, police station, FIR number and year, before you download it. It answers with a status such as AVAILABLE, FETCHABLE, FETCHING or WITHHELD and, when known, the FIR's id, registration date, page count and station details.

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

Overview

Before downloading an FIR, it helps to know whether a copy exists and where it stands. The police portal may not have it, may list it without a copy, or may need to be asked. The FIR Lookup API answers that in one quick call and also confirms you named the right station, which matters because station names repeat across districts.

GET /api/partner/fir/lookup takes the state, the FIR number as printed, the year and either a stationCode or a station name with district. The response gives a status and, when known, an fir object with firId, state, district and station codes and names, year, number, display form, registration date, page count, size and a SHA-256 hash. AVAILABLE means download now; FETCHABLE and FETCHING mean the FIR PDF Download API can read it from the portal.

Input
state, firNumber as printed, year (unless in the number), and stationCode or station plus district
Returns
Status (AVAILABLE, FETCHABLE, FETCHING, NOT_DOWNLOADED, WITHHELD, NOT_FOUND, NOT_IN_INDEX) and FIR details when known
Coverage
State police portals in most states and union territories; Sikkim and Nagaland are not offered
Source
eCourtsIndia FIR index built from state police portals
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

status

Where the FIR stands, for example AVAILABLE or FETCHABLE

fir.firId

Id to download the PDF with /fir/firs/{firId}/pdf

fir.stationCode / stationName

The police station the FIR belongs to

fir.districtCode / districtName

The district of the station

fir.firDisplay

FIR number in display form, for example 0045/2026

fir.registrationDate

Date the FIR was registered

fir.pageCount / byteLength

Number of pages and file size of the PDF

fir.sha256

Hash of the stored PDF, to check integrity

error.details (on 404/409)

Suggested or candidate stations when the station is unknown or ambiguous

Use cases

Check before download

A law firm receives an FIR reference from a client by phone. Its system runs a lookup first: AVAILABLE goes straight to download, FETCHABLE triggers a request to the portal, and WITHHELD is reported back to the client as listed without a published copy, saving a wasted request.

Resolving the right station

A verification analyst types a station name that exists in two districts. The lookup answers 409 AMBIGUOUS_STATION with both candidates, their district codes and station codes. The analyst picks the right one and repeats the lookup with the exact stationCode.

Integrity checks on stored copies

An insurer stores FIR PDFs with its claims. Its records team keeps the sha256 and pageCount from each lookup, and later checks archived files against them, so any copy that has been altered or truncated is easy to spot during an audit.

How to use it

  1. Get the stationCode from the Police Station Catalog API, or use the station name with district.
  2. Call GET /api/partner/fir/lookup with state, firNumber, year and the station.
  3. Read status: AVAILABLE, download now; FETCHABLE or FETCHING, download via the FIR PDF Download API once the portal returns it.
  4. On 404 UNKNOWN_STATION or 409 AMBIGUOUS_STATION, use the suggestions in error.details and try again.

Parameters

NameInDescription
state required query State code. Example: MH
firNumber required query FIR number. Example: 0045/2026
year query Year, if not in the number. Example: 2026

Example

Request

curl "https://webapi.ecourtsindia.com/api/partner/fir/lookup?state=MH&firNumber=0045%2F2026" \
  -H "Authorization: Bearer eci_live_YOUR_KEY"

Response (illustrative)

// GET /api/partner/fir/lookup?state=MH&station=Shivajinagar&district=Pune%20City&firNumber=0045/2026
{
  "data": {
    "status": "AVAILABLE",
    "fir": {
      "firId": 5123456,
      "stateCode": "MH",
      "districtCode": "19372",
      "districtName": "Pune City",
      "stationCode": "19372021",
      "stationName": "Shivajinagar",
      "firYear": 2026,
      "firNumber": 45,
      "firDisplay": "0045/2026",
      "registrationDate": "2026-01-14",
      "pageCount": 4,
      "byteLength": 412877,
      "sha256": "9f2c4b1e8a7d3c6f5e0b2a4d6c8e1f3a5b7d9c0e2f4a6b8d0c1e3f5a7b9d2c4e",
      "storedAt": "2026-01-16T03:12:44Z"
    }
  },
  "meta": { "request_id": "req_example033" }
}

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

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.
Fetchable FIR
An FIR not yet stored by eCourtsIndia but in a state whose police portal can be read on request. The FIR PDF Download API asks the portal for it, waits up to 60 seconds and otherwise returns a request id to poll.
Police station code
The code a state police system uses for each station, such as 19372021 for one station in Pune City. Codes are the exact way to name a station; a code used in two districts of a state also needs the district.

Good to know

  • Sikkim and Nagaland are not covered; a request naming either answers 404 UNKNOWN_STATE.

Frequently asked questions

How do I check whether an FIR copy is available online?

Call GET /api/partner/fir/lookup with the state code, the police station, the FIR number as printed and the year. The status tells you whether the PDF is AVAILABLE now, FETCHABLE from the police portal, already FETCHING, WITHHELD by the portal or NOT_FOUND.

What do the lookup statuses mean?

AVAILABLE can be downloaded now. FETCHABLE and FETCHING can be downloaded once the police portal returns them. WITHHELD means the portal lists the FIR without a copy. NOT_DOWNLOADED, NOT_FOUND and NOT_IN_INDEX mean there is no PDF to provide at present for that reference.

What if I do not know the police station code?

Send the station name with district instead of stationCode. If the name is not recognised you get 404 UNKNOWN_STATION with up to five suggestions; if it matches stations in more than one place you get 409 AMBIGUOUS_STATION with the candidates. The Police Station Catalog API lists every code.

How is this different from searching the police portal by hand?

By hand you open the right state portal, pick the district and station from long lists and type the number in the format that portal expects. The lookup uses one format for every covered state, tolerates common number styles and tells you immediately whether a copy exists.

Can AI assistants check FIRs?

Yes. On the eCourtsIndia MCP server, lookup_fir checks whether an FIR is held, named by state, police station, FIR number and year. Ambiguous station names return the candidates so the assistant can ask you which one you meant before going further.

Does the lookup return the FIR contents?

No. It returns the status and details about the stored document, such as id, registration date, page count, size and hash. To read the FIR, download the PDF with the FIR PDF Download API using the same parameters or the firId.