Learn APIs by example
Every guide here runs against the OffenderSearch sandbox, so the examples are real requests and real responses, not toy data.
Updated November 3, 2026
How to run a background check with the API
Start here by goal. Integrate a check: the background check API tutorial, then the response explained. Verify a webhook: the webhook example and the API signature page, checked in the browser on the webhook tester. Test for free: test a background check integration on the public API for testing with an os_test_ key. Read the reference: the API documentation, the SDKs (publishing with the first registry release) and the Postman collection. The products behind every guide: the background check API, the sex offender API, the criminal records API, the free background check API and the employment screening API.
Start here: the first call on the sandbox, the response read field by field, a test suite, the three shapes of "nothing", and a resilient client. Each guide runs against the background check API with a free test key.
- Background Check API Tutorial: First Check in 10 Minutes — How to run a background check with an API, end to end: a free test key, two POST calls against the sandbox, the order to read the response in, the citation to store, and the two-line change that takes it to production.
- Background Check API Response Explained Field by Field — One real sandbox response, read group by group: what each key in the envelope, the sourceStatus rows and the record means, which fields decide identity, and how the criminal response differs.
- Test a Background Check API Integration on the Sandbox — A free test key, a fixed set of documented test people, and the same response shapes as production: everything you need to write a test suite that proves your integration reads clear, matched, unverified, partial and error answers correctly before a single call is billed.
- No-Match and Multiple-Match Background Check Results — A zero-record answer is only "clear" when it is complete; a name-only hit is a lead, not an identification. This tutorial shows how to tell the shapes apart in the response and what to do with each.
- API Rate Limits, Retries and Idempotency for Screening — A resilient client retries the right statuses, waits as long as the server asks, never runs a billed search twice by accident, and treats every webhook as a possible duplicate. This page is that client, in Python and Node.
- Bulk Background Check API: Run a CSV Through /v1/batch — Send a roster as JSON or as a text/csv body, get one result per row in input order, write recordId, personRef, matchState and the source link back to a CSV, and chunk a 25,000-row file without a burst.
How to search registries, criminal records and court records by API
The sex offender API and the criminal records API, one task per guide: a registry check by name and date of birth, criminal records by name and date of birth, court records, an inmate search tool, and a standing watch with signed webhooks.
- Check if Someone Is a Registered Sex Offender via API — A sex offender check API call, done properly: name plus date of birth to POST /v1/search, the 58-registry fan-out and what an incomplete registry means, scoping by state without hiding out-of-state registrants, match modes, aliases, typo tolerance, and the shape of a hit and of a clear answer.
- Search Criminal Records by Name and Date of Birth (API) — A criminal records API by name, walked through on the sandbox: the required surname, the three answers one name gives with and without a date of birth, how to read a disposition, the record kinds you will see, scoping by state and county, and when a live search answers 202.
- Court Records API Tutorial: Cases, Charges, Dispositions — Court cases are one layer of the criminal records search. This tutorial makes the request, walks the case object field by field, reads a disposition, filters and sorts by date, scopes to a county, pages, and renders a PDF, all against the sandbox.
- Build an Inmate Search Tool with the Criminal Records API — One endpoint, two record kinds and a handful of custody fields are the whole tool. This page walks the request, the fields to show, sorting and paging, coverage by jurisdiction, live re-verification and the UI rules that keep a booking from reading as a conviction.
- Monitor a Person for New Criminal Records with Webhooks — Create a standing watch on one person with
POST /v1/monitors, receive a signedmonitor.alertthe moment a record appears, changes or is removed, verify it in Express or FastAPI, deduplicate it, and reconcile against the alert history. - Arrest Records API Example: Look Up a Booking by Name — One request to the criminal records API, one jail_booking record back: what an arrest record carries, how to tell a current booking from an old one, how to follow it to court, and how to be told when a new booking appears.
How to add background checks to a product
Marketplaces, rental platforms and HR systems, and the FCRA order path for the decisions the law treats as consumer reports — see the employment screening API and tenant screening API pages for the products behind these guides, and the free background check API to start.
- Background Checks for Marketplaces: an API Walkthrough — Where the check sits in onboarding, the two calls that run it, how to route each result, what to store with the decision, how to re-screen the provider base and watch it afterwards, and where the FCRA line falls.
- Build a Tenant Screening Flow: API Integration Guide — For the engineer behind property software: what the records layer covers and what it does not, the fields to collect, the two calls, the async path for a long search, how to read a result, how the rental decision runs as an FCRA order, and what to store.
- Background Check API for HR Systems and ATS Integration — For an engineer at an HR platform or applicant tracking system: where the check sits in the hiring flow, why it must be an FCRA order rather than a standard search, and the exact calls from offer to result.
- FCRA Adverse Action API: Pre-Adverse Notice to Decision — For engineers at approved FCRA partners: what each adverse-action endpoint does, from the complete order through the pre-adverse notice, the waiting period, disputes, the post-adverse notice and the recorded decision. The process itself is for your counsel.
- Background Check API vs Building Your Own Records Pipeline — What it costs to write and keep your own integrations against county court portals, jail rosters and state registry sites, what one API with one schema gives you instead, what it does not, and how to evaluate both with the same twenty names.
- Background Check MCP Server Tutorial: Claude and Cursor — Connect an MCP client to the OffenderSearch server, see which of the eight tools an agent reaches for, give it the rules that keep a registry answer honest, and read one run against the sandbox.
API fundamentals, by example
- RESTful API Example: One Request, One Response, Explained — Most "REST API example" pages stop at GET /users/123. This one runs a real request against a real public-records API, shows the real response, and explains every field — then builds the client.
- What Is an API? Definition, Examples and a Call You Can Run — An API is a contract that lets one program use another. This page defines the term, shows a real call, and then defines every word you will meet while working with APIs.
- Webhooks vs API Polling: When Each One Is Right — An API call is you asking. A webhook is the service telling you. Both are HTTP; the difference is who starts the conversation — and that decides everything about cost, latency and failure handling.
- Free Public APIs for Developers: Lists, Data APIs and Ours — Every "free APIs" list repeats the same weather and cat-fact endpoints. This one is about public records and government data: what is actually free, what each one needs, and what to build with it.
- API Key vs OAuth Client Credentials: Which to Use — An API key identifies your application. OAuth proves that a user, or a machine, granted it something. Here is each flow as it actually runs, and the decision rule that picks one.
- API Documentation Example: What Good Docs Look Like — Instead of describing good API documentation, this page takes a real developer portal apart and shows what each piece is for.
- API Token Example: Create, Scope, Rotate and Revoke a Key — A real key format, a real header, and the lifecycle a credential goes through — shown on an API you can call for free.
- Postman API Documentation: Public Workspace, Live Sandbox — A collection generated from the OpenAPI contract, an environment pointed at a free sandbox, and the requests pre-filled with names the sandbox answers — import both and send.
- API Errors: Designing Codes a Client Can Act On — A good API error tells a program what to do next and a person what went wrong. Every example here is a real response from a public-records API, so you can run it against the sandbox.
- Webhook Example: Receive, Verify and Retry in 40 Lines — A real webhook, end to end: the URL you register, the exact payload that arrives, the signature you check, the code that receives it in Node and Python, and what the sender does when you are down.
- API Signature: HMAC Signing for Requests and Webhooks — An API signature proves that a message came from the holder of a secret and was not changed on the way. This page explains the scheme behind one real signature header, gives you a known-answer vector to test against, and shows a verifier in Python, Node, Go and PHP.