The Sex Offender Map API. Your map, our data.
Send the box on screen and the zoom. Get back clusters when zoomed out, pins closer in, names close up, and the full record when one is opened, across 58 US registries. Draw it with MapLibre, Leaflet or Google Maps. Metered per view, never per person.
No code? The same map runs in the dashboard. Sex offender search dashboard ›
curl -G https://api.offendersearch.app/v1/map/viewport \ -H "X-API-Key: $OFFENDERSEARCH_KEY" \ -d center=40.7357,-74.1724 -d radiusMiles=1 -d zoom=15
{ "mode": "markers", "zoom": 15, "total": 161, "radiusMiles": 1, "withinRadius": 161, "markers": [ { "id": "mk_8c21…", "lat": 40.7357, "lng": -74.1724, "precision": "street", "addressType": "home", "label": "J. Sample", "housingStatus": "housed", "hasPhoto": true, "registryState": "NJ", "distanceMiles": 0.3 }, … ], "unplaced": { "count": 96, "states": ["NJ"] }, "notice": "A pin shows a registered address, not a person's current location." }
Add a sex offender map to your website or app with one viewport call. Clusters below zoom 13, pins from 13, names from 15 and the full record on a click, drawn on your own tiles.
This is the real click sequence. Zoom in until the clusters become pins, then names. Click a pin to open its record. A pin shows a registered address, not a person's current location.
Sex offender map API zoom levels. Three levels of detail, chosen by the zoom: you send the box on screen and the zoom, and the API returns what a map at that height should draw. One request per view, whatever is in it.
Zoomed out: clusters
Below zoom 13 the answer is a count per area, with a breakdown by housing status. A cluster carries the box and the zoom that split it, so a click on it fits the map and the cluster comes apart.
Zoom 13 and closer: pins
One pin per registered address, with its position, how exact that position is, and whether it is a home, work or school address. No names yet. From zoom 15 each pin also carries a first initial and last name, housing status and whether a photograph exists.
On click: the full record
When someone opens a pin, one more request returns the complete record: photographs, aliases, addresses, offenses and the registry that holds it. It is the same record object the search API returns.
Along a route
Along a route: counts per leg and per stop, pins without names, records on click.
For transport and walking apps: send a walking or bus route as a line, an encoded polyline or a list of stops, and get back exact counts per leg and per stop, with distances along the route. A pin shows a registered address, not a person's current location. A count shows registered addresses near the route, not where anyone is, and is not a rating of the route. Each route is billed as map requests: 1 map request per started mile of corridor, plus 1 per 10 stops. See routes and stops, or the sex offender route API for bus stops and walking routes.
Send no zoom and the API works one out from the size of the box; the response always states the zoom it used. Parameters are in the viewport reference. A pin's full record is the same record object the sex offender API returns.
Sex offender map API for MapLibre, Leaflet and Google Maps. From your server, or straight from the browser. We do not host the map: the same viewport call feeds all three.
map.on("moveend", async () => { const b = map.getBounds(); const q = new URLSearchParams({ bbox: [b.getWest(), b.getSouth(), b.getEast(), b.getNorth()].join(","), zoom: Math.round(map.getZoom()), format: "geojson" }); // your server adds X-API-Key and forwards const fc = await (await fetch(`/api/map/viewport?${q}`)).json(); map.getSource("registry").setData(fc); });
const layer = L.geoJSON(null, { pointToLayer: pin }).addTo(map); map.on("moveend", async () => { const b = map.getBounds(); const bbox = [b.getWest(), b.getSouth(), b.getEast(), b.getNorth()]; const fc = await (await fetch( `/api/map/viewport?bbox=${bbox}&zoom=${map.getZoom()}&format=geojson` )).json(); layer.clearLayers().addData(fc); });
map.addListener("idle", async () => { const b = map.getBounds(), sw = b.getSouthWest(), ne = b.getNorthEast(); const bbox = [sw.lng(), sw.lat(), ne.lng(), ne.lat()]; const fc = await (await fetch( `/api/map/viewport?bbox=${bbox}&zoom=${map.getZoom()}&format=geojson` )).json(); map.data.forEach((f) => map.data.remove(f)); map.data.addGeoJson(fc); });
app.get("/api/map/viewport", async (req, res) => { const r = await fetch( "https://api.offendersearch.app/v1/map/viewport?" + new URLSearchParams(req.query), { headers: { "X-API-Key": process.env.OFFENDERSEARCH_KEY, "X-End-User": req.user.id } } ); res.status(r.status).set("ETag", r.headers.get("ETag")).send(await r.text()); });
Secret key, from your server
Your page asks your server; your server adds the secret key in X-API-Key and passes the request on. The key never reaches a browser, and you decide who may see the map. Phone apps work this way too.
Browser key, limited to your sites
A map browser key can be used in page code. It answers only the map routes, and only for requests from the sites you list for it. Used from anywhere else, it is refused.
One heavy user, not your account
Send an X-End-User header with any id of your choosing and one heavy user is limited before your whole account is.
Keys and a proxy sample are in Map API access.
Sex offender map API calls. What your app calls, and what each step costs.
Metered per view. Most clicks need no request at all: the answer for a view already holds what a hover or a popup shows. A cluster never traps the user; it always splits into smaller clusters, pins, or one pin that lists the people at a shared address.
The click sequence guide ›| The person | Your app calls | Charge |
|---|---|---|
| Opens the map, or types an address | viewport with the box in view | 1 map request |
| Pans or zooms | viewport again, once the map settles | 1 map request |
| Hovers a cluster | Nothing. The count and breakdown are already on it | Free |
| Clicks a cluster | Nothing. Fit the map to the cluster’s bbox at its expansionZoom | The next map request |
| Clicks a named pin | Nothing. The label and housing status are on the pin | Free |
| Clicks a pin that stands for several people | groups/{groupId} | 1 map request per page |
| Clicks “view record” | records/{markerId} | 1 record open |
| Closes the record and opens it again | records/{markerId}, the same id | Free |
| Saves or shares a record | Store the recordRef; open it later with records/{recordRef} | 1 record open, then free for 24 hours |
Sex offender map API response. What comes back at each level: the same envelope every time, and mode says which array is filled.
{ "mode": "clusters", "zoom": 9, "bbox": [-88.3, 41.5, -87.2, 42.2], "total": 1840, "breakdown": { "street": 1502, "housed": 310, "homeless": 96, "incarcerated": 41 }, "clusters": [ { "id": "c9_131_190", "lat": 41.8781, "lng": -87.6298, "count": 412, "bbox": [-87.70, 41.83, -87.60, 41.91], "expansionZoom": 11, "breakdown": { "street": 350, "housed": 80, "homeless": 22, "incarcerated": 9 } } ], "markers": [], "areas": [], "unplaced": { "count": 96, "states": ["IL"] }, "notice": "A pin shows a registered address, not a person's current location." }
Sex offender map API use cases. One route, eight kinds of map: property listings, school zones, visitor desks, care-at-home routes, with the same viewport call underneath.
A browse map
Pan and zoom freely across the country or down to one block. Any size of view is answered; the detail level follows the zoom.
A results list beside the map
At name zoom the markers array is the list: sorted by distance from the centre of the view, with the same ids as the pins and a total for the heading.
“Near this address”
Send a centre and a radius of up to 100 miles instead of a box. Each pin gains its distance in miles, and the response gives the exact count inside the circle.
A count badge for listing pages
Ask for detail=count and get numbers only: “3 within half a mile” on a property, school or venue page, for one map request.
Filters
Filter by housing status, or show exact street addresses only. Every cluster carries the breakdown, so filtered counts need no extra request.
Drawn areas and routes
Post a polygon for a school zone or a delivery area, or a route with a buffer either side for a walk to school. The answer is everyone inside the shape.
Saved links
Marker ids last 24 hours. Every opened record also returns a lasting reference, so a bookmark or a shared link opens the same record later.
Alerts on an area
When a user asks to be told about changes near a place, hand the view to a location monitor. Monitoring is a separate product on the same key.
Looking for one named person rather than a place? That is the sex offender search API: its records carry coordinates, so your app can plot them on the same map. Alerts are set up through sex offender monitoring. For map libraries that take a feature collection, see sex offender GeoJSON.
Sex offender map addresses. Approximate and unplaced addresses: a registry does not publish a street address for everyone, and the map says so instead of guessing.
- Exact pins. Across the 58 registries, the large majority of records carry mappable coordinates. A pin with precision "street" is at a registered street address.
- Areas. People placed only to a ZIP code, city or county come back in areas, along with anyone in custody or with no fixed address. Draw them as a labelled region marker with a count; the groups route lists who is in it.
- Unplaced. The number of people in the states in view with no mappable address. Show it beside the map: “96 more are registered in this state with no mapped address.”
Every response carries a notice to show on the map: “A pin shows a registered address, not a person's current location.” Showing it is a condition of use. A user should never read a pin as proof of where someone is today.
Sex offender map API pricing. Metered per view, never per person.
$2.00 per 1,000 map requests and $0.035 per record opened, with a $300 monthly minimum applied toward usage. A map request is one answer for one map view. It costs the same whether the view holds three people or three hundred.
The monthly minimum. The $300 monthly minimum is applied toward everything the account uses that month, search included. A month with $110 of usage is billed $300; a month with $1,100 is billed $1,100. Records opened and searches run in the same month count toward it too.
| Item | Price |
|---|---|
| Map requests | $2.00 per 1,000 map requests |
| Records opened | $0.035 per record opened. Volume accounts can be given their own per-record rate. |
| Routes | 1 map request per started mile of corridor, plus 1 per 10 stops |
| Monthly minimum | $300 monthly minimum, applied toward usage |
| Clusters and pins | Never charged per person |
| Reopening a marker, an unchanged view, the status route, test mode | Free |
| Worked month | Map requests | Records | Searches | Usage | Billed |
|---|---|---|---|---|---|
| Trial period with the minimum waived | 12,000 | 600 | 0 | $45.00 | $45.00 |
| Light month | 40,000 | 2,000 | 0 | $150.00 | $300.00 |
| Map plus search | 40,000 | 2,000 | 1,000 | $300.00 | $300.00 |
| Exactly at the minimum | 115,000 | 2,000 | 0 | $300.00 | $300.00 |
| Above the minimum | 400,000 | 20,000 | 0 | $1,500.00 | $1,500.00 |
Search calls are priced at the published per-call rate. Search prices, monitoring and volume terms are on the pricing page; line-by-line billing rules are in the Map API billing reference.
Sex offender map API access. Self-serve, on the key you already have: nobody has to approve access. Turn the Map API on from the dashboard and the same key answers map requests at once.
The day you turn it on
Any paying business account can turn the Map API on. Turning it on charges the $300 minimum that day, and it covers the rest of that calendar month.
Later months
From the next month the minimum is settled on the month-end invoice: you pay your usage, or the minimum if usage is lower.
Turning it off
Turn it off at any time and the map routes stop within seconds. A minimum already paid is not refunded, and turning it back on in the same month costs nothing more.
Sex offender map API limits: 300 pins per response, names from zoom 15, a 100-mile radius.
| Limit | Value |
|---|---|
| Pins per response | 300; denser views answer as clusters on a finer grid |
| Names on pins | From zoom 15 |
| Pins instead of clusters | From zoom 13 |
| Radius search | Up to 100 miles |
| People inline on a shared pin | 10, then the groups route |
| Marker ids, caching | 24 hours; no bulk copy or derived data set |
| Per end user | Limited by X-End-User before your account is |
Sex offender map API test mode. Build the whole map before you pay.
Test mode returns made-up people in the real response shape. Add sandbox=true to any map request. It needs no plan and is never charged. Every label in test mode starts with “Sample”, so a made-up person is never mistaken for a real one in a screenshot or a demo, and group and marker ids from a test-mode response open test-mode records, so the whole click sequence works.
curl -G https://api.offendersearch.app/v1/map/viewport \ -H "X-API-Key: $OFFENDERSEARCH_KEY" \ -d bbox=-87.70,41.83,-87.60,41.91 \ -d zoom=12 \ -d sandbox=trueHow to build a sex offender map ›
Sex offender map API: common questions
What is a sex offender map API?
It is an API that tells your map what to draw. You send the area on screen; it returns clusters, pins or named pins for that area, and the full registry record when a pin is opened. This one covers 58 US registries: the 50 states, DC and the US territories.Do you host the map?
No. You draw it with the map library you already use: MapLibre, Mapbox GL, Leaflet or Google Maps. The API returns positions, counts and labels as JSON or GeoJSON, and your code styles them.What does the Map API cost?
$2.00 per 1,000 map requests and $0.035 per record opened, with a $300 monthly minimum applied toward usage. Clusters and pins are never charged per person. A view that has not changed (HTTP 304), the status route and test mode are free.Is the monthly minimum charged on top of usage?
No. The $300 monthly minimum is applied toward everything the account uses that month, search included. A month with $110 of usage is billed $300; a month with $1,100 is billed $1,100.Why does a pin have no name until I zoom in?
Names start at zoom 15. Between zoom 13 and there, a pin is a position only. A wide view is for seeing where registered addresses are; a name appears when the user has gone to a street.What happens when a view holds a very large number of pins?
A response holds at most 300 pins. A denser view is answered as clusters on a finer grid, so the map stays fast and the user zooms in one more step.Are we charged twice for opening the same record?
A record open is the complete record behind one marker. Opening the same marker again is free. A new map request returns new marker ids, so opening that person from the new result is a new charge.Can we build before paying the minimum?
Yes. Test mode returns made-up people in the real response shape. Add sandbox=true to any map request. It needs no plan and is never charged.Can we store what the map returns?
The data is for display in your own application. You may cache a result for up to 24 hours; you may not keep a bulk copy or build a data set from it. The Map API section of the terms sets this out.How current is the data on the map?
The map shows the same continuously updated registry data the search API returns. Each record you open carries its own lastCheckedAt, so you can see how current it is.Is a map result a consumer report?
No. Results from the standard API, the map included, are not a consumer report and must not be used for FCRA-governed hiring, tenancy or credit decisions. Those run through FCRA Partner Access.Display, caching and storage rules are in the terms of service.
The OffenderSearch APIs
One account, one key, one bill.
Sex offender registry
Sex offender APISex offender databaseRegistered offender databaseBulk sex offender searchCriminal records
Criminal records APIInmate search APIHealthcare exclusion check APIBackground check APIEmployment screening APIBulk criminal record searchStatewide criminal searchFederal criminal recordsCriminal record verification APIWarrant search APIBuild with it
API documentationBackground check API pricingFree background check APIBackground check API in PythonBackground check API in Node.jsNSOPW APIMCP server for offender searchIntegrationsAI integrationScreening and compliance
Tenant background checkFCRA Partner AccessFCRA-compliant background check dataFCRA disputes APISex offender monitoringContinuous criminal monitoring APIWorkforce screening APITenant screening APIVisitor screening APISchool visitor screening APISenior living visitor screening APISex offender registry map API. Put the registry on your map.
Build in test mode today. Turn the Map API on when the map is ready to show real records.
Related sex offender map API pages
The rest of the developer surface, one anchor per page.