Criminal Records API · v1.0.0

Jurisdictions & codes

The two neutral code shapes, the record-kind vocabulary, and the jurisdictions catalog.

Livehttps://api.offendersearch.appSandboxhttps://sandbox.offendersearch.app

A code names a state and a jurisdiction, and nothing else

A jurisdiction code is the neutral handle for one place the product covers. It is what sources[].code reports on a record, what you pass as live.jurisdictions to verify at a source, and what the website resolver returns. There is deliberately no token for how the data is obtained — no portal, platform or vendor ever appears in a code, a source name, a coverage total, or an error. A code is a jurisdiction handle, and it is vendor-neutral by construction.

Treat a code as an opaque handle you got from the catalog. The two-shape rule below is enough to recognise a code; it is not a licence to synthesise one. A code that resolves is a code the catalog returns — enumerate the live values rather than building strings by hand.

The two shapes

ShapeFormExamples
County a county-level jurisdiction<ST>-<COUNTY>AL-BALDWIN, TX-DALLAS, TX-HARRIS
Statewide / federal a system, named by the kind of record it holds<ST>-<RECORD-KIND>TX-DOC, OK-COURT, US-WARRANT

<ST> is the two-letter USPS state code (US for a federal system). <COUNTY> is the county name, upper-cased, non-alphanumerics dropped and spaces hyphenated — Palm Beach → PALM-BEACH. Most county codes are the county name alone; some carry an extra word that tells two places apart (TX-ANDREWS-COUNTY, IN-DUBOIS-COUNTY-JAIL) — one more reason to read codes from the catalog rather than build them.

The record-kind vocabulary

For a statewide or federal system the suffix is the kind of record the system publishes — one token from a fixed set. So TX-DOC is the Texas state prison system, OK-COURT is Oklahoma statewide court records, and US-WARRANT is a federal warrant system.

SuffixMeansExample
DOCa state prison / Department of Corrections inmate systemTX-DOC
COURTstatewide court records / dispositionsOK-COURT
WARRANTa warrant systemUS-WARRANT
REGISTRYa statewide registryFL-REGISTRY
JAILa statewide county-jail roster systemIL-JAIL

GET /v1/criminal/jurisdictions

Covered jurisdictions as codes — every jurisdiction in the product’s manifest, with live on each row, plus an honest per-product coverage summary. This is where you enumerate the codes you will send in a search; do not build them by hand. Requires an API key. Three query parameters filter it, and they combine (AND):

  • state — one state, case-insensitive.
  • recordKind — one kind of record.
  • live=true — only jurisdictions reachable for live verification.

Every parameter and response field is in the jurisdictions request and response tables below.

Request
One state, live only
curl -s -G "https://api.offendersearch.app/v1/criminal/jurisdictions" \
  -H "X-API-Key: $OFFENDERSEARCH_KEY" \
  --data-urlencode "state=TX" \
  --data-urlencode "live=true"
Response
200 OK
{
  "coverage": { "jurisdictions_total": 1566, "jurisdictions_live_connector": 1183,
                "jurisdictions_pending_connector": 383, "states_covered": 52, "…": "…" },
  "jurisdictions": [
    { "code": "TX-DOC", "state": "TX", "county": "(statewide)",
      "recordKind": "doc-inmate", "level": "state", "live": true },
    { "code": "TX-ANGELINA", "state": "TX", "county": "Angelina",
      "recordKind": "jail-roster", "level": "county", "live": true }
  ],
  "count": 41
}

Each row is a JurisdictionInfo: { code, state, county, recordKind, level, live }. An unmatched state simply yields an empty jurisdictions[] with the coverage summary intact — never an error. The recordKind values are the ones below:

recordKindEnumerates
jail-rosterCounty jail booking rosters.
courtStatewide court records and dispositions.
doc-inmateState Department of Corrections inmate systems.
registryStatewide registries.
warrantWarrant / most-wanted systems.
exclusionGovernment health-program and federal award exclusion lists.
The coverage block is honest and vendor-scrubbed. It reports the true totals from the product’s own manifest — covered today versus known-but-pending — so a jurisdiction not yet covered is counted, never silently dropped. No portal, platform or vendor token ever appears here: only states, counties, record kinds and neutral codes. For the public, no-key currency picture of every source, read GET /v1/criminal/sources.

How a code is used

A code shows up in two places, and they are different controls. A cached search is scoped by query.state and query.county — the location filter — while a live verification names the exact jurisdictions to re-check by their public codes in live.jurisdictions.

PurposeFieldExample
Filter a cached search to one jurisdictionquery.county + query.state{ "state": "TX", "county": "Bexar" }
Verify live at explicit jurisdictionslive.jurisdictions: [codes]["TX-BEXAR", "TX-DOC"]
Cached — scope by state + county
query.state + query.county
{
  "query": { "lastName": "Hamilton", "state": "TX", "county": "Bexar" }
}
Live — verify at explicit codes
live.jurisdictions: [codes]
{
  "query": { "lastName": "Hamilton", "state": "TX" },
  "live": { "jurisdictions": ["TX-BEXAR", "TX-DOC"] }
}

query.county is matched case-insensitively (and is also accepted as query.jurisdiction). State and county filter the record's jurisdiction; city, ZIP and street address filter the residence where a source publishes one; there is no radius filter. live.jurisdictions takes the public codes; one public county code may cover more than one system, and each reports its own row in sourceStatus[].

An unrecognised live code is never fatal. A code that resolves to nothing is reported ok: false with incompleteReason: "not_searched" and is never billed — the rest of the search proceeds, and even a search whose only code is unrecognised runs and reports it that way rather than failing. Confirm a code against the catalog rather than parsing it for meaning beyond state and place.

Criminal jurisdictions API request and response fields

GET/v1/criminal/jurisdictionsAuth: X-API-Key

Every covered jurisdiction by public code, state, county and record kind, filtered by the query parameters. Not billed.

Request

Query parameters
FieldTypeDescription
state
optional
stringTwo-letter state, case-insensitive. Keeps rows in that state.
Example "TX"
recordKind
optional
string
one of "jail-roster", "court", "doc-inmate", "registry", "warrant"
Keeps rows of that kind.
Example "court"
live
optional
booleantrue keeps only jurisdictions that can be re-verified live. Any other value applies no filter.
Example true

Response

200 · application/json

The filtered list.

FieldTypeDescription
coverage
CoverageTotals by jurisdiction for the whole product (not filtered).
jurisdictions
array of JurisdictionInfoThe matching jurisdictions.
count
integerRows in jurisdictions[] after filtering.
Errors
StatusCodeWhen
401—Missing or invalid X-API-Key. Body: GatewayError.
402—Free trial used up, or no active subscription. Body: GatewayError.
503unavailableCriminal Search could not be reached. Retry with backoff.
504upstream_timeoutCriminal Search took longer than 65 seconds to answer. Retry, or narrow the query.

The JurisdictionInfo object — one covered jurisdiction

One covered jurisdiction: its public code and its place, nothing else.

Returned or accepted by GET /v1/criminal/jurisdictions.

FieldTypeDescription
code
stringPublic jurisdiction code.
Example "TX-BEXAR"
state
stringTwo-letter state, or US.
Example "TX"
county
string or nullCounty name; "(statewide)" on a statewide row; null when the catalog names none.
Example "Bexar"
recordKind
string
one of "jail-roster", "court", "doc-inmate", "registry", "warrant", "exclusion"
jail-roster, court, doc-inmate, registry, warrant or exclusion.
level
string
one of "county", "state", "federal"
county, state or federal.
live
booleantrue when the jurisdiction can be re-verified live (live.jurisdictions).

Product overview