Criminal Records API · v1.0.0

Access & keys

The X-API-Key header, automatic access to Criminal Search and live mode, and what a key controls.

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

The X-API-Key header

Authenticate every /v1/criminal/* request with your secret key in the X-API-Key header. Keys are created, named, rotated and revoked from the API keys page, and a key’s secret is shown in full only once, at creation. It is the same key you already use for the Sex Offender API — this is a product on your existing account, not a separate credential.

curl "https://api.offendersearch.app/v1/criminal/jurisdictions?state=TX" \
  -H "X-API-Key: os_live_…"

A missing or invalid key returns 401, and an account whose free trial is used up or that has no active subscription returns 402. The gateway answers both before Criminal Search runs, so their body is the flat {"detail": "…"} sentence, not the nested criminal error — see Errors & status codes.

Criminal Search and live verification are automatic

There is nothing to enable and no entitlement to request:

  • Criminal Search is available on every account. Any valid key on an account with an active trial or subscription can call every /v1/criminal/* endpoint immediately — search, coverage, resolver, and reports. There is no 403 for Criminal Search; the one access answer besides 401 is 402, when the account cannot be billed.
  • Live verification is included too. A live request works from any account with no separate add-on. You pay per live source that completes (see What a live check costs), but nothing is gated behind an entitlement.
GET /v1/criminal/sources needs no key at all, so you can audit coverage before you even sign up. See Coverage today.

What a key controls

An API key carries no per-key feature flags of its own — it simply authenticates you. Every option in these docs — nameStrategy, include, live, prefixMatch — is a per-request parameter available to any key on any account.

Rotation. Issue a second key, deploy it, then revoke the first — both are valid at once, so rotation needs no downtime window. Each key can be revoked on its own, which is the practical reason to issue one key per environment or per service rather than sharing a single credential across a fleet.

Already have an account and a key? You can start calling /v1/criminal/* right now — no activation step.

Product overview