Turn it on
Who can turn it on, what is charged when you do, and what turning it off does.
Livehttps://api.offendersearch.appSandboxhttps://sandbox.offendersearch.appWho can turn it on
Any paying business account. There is no application and no review. An account on the free trial cannot turn it on: add a payment method first. To build before paying, use test mode.
How to turn it on
In the dashboard, open Map API and turn it on. Or call POST /v1/map/enable with a secret key.
curl -X POST https://api.offendersearch.app/v1/map/enable \
-H "X-API-Key: $OFFENDERSEARCH_KEY" \
-H "Content-Type: application/json" \
-d '{"acceptMinimum": true}'acceptMinimummust betrue. It is your agreement to the monthly minimum.- The account needs a payment method on file.
- We charge the $300 minimum to the card at that moment. If the charge fails, nothing is turned on.
- The plan is active at once, on the same key. A confirmation email is sent.
The response is the same object GET /v1/map/status returns, plus changed and a charged object with the amount, the month it covers and the invoice.
Sex offender map API: POST /v1/map/enable request and response fields
Turn the Map API on. Any paying business account can, with a secret key or an account admin's dashboard session. The monthly minimum is charged to the card at that moment and covers the current calendar month; if the charge fails, nothing is turned on. On an account that is already on it changes nothing and charges nothing.
Request
| Field | Type | Description |
|---|---|---|
| X-API-Key required | string | A secret API key. A dashboard session of an account admin can send Authorization: Bearer <token> instead. A map browser key is refused here. |
| Field | Type | Description |
|---|---|---|
| acceptMinimum optional · default false | boolean | Send true: you agree to the monthly minimum, which is charged now. Left out or false, an account whose Map API is off is refused with 422 minimum_not_accepted; an account whose Map API is already on gets 200 with changed: false.Example true |
Response
The plan after the call, with what was charged.
Every field of the MapStatus object, plus:
| Field | Type | Description |
|---|---|---|
| changed | boolean | true when this call turned the Map API on. false when it was already on; nothing was charged. |
| invoiced | object or null | For an account billed by invoice: the minimum this call put on the month-end invoice instead of charging it. null otherwise. |
| invoiced.usd | number | The minimum, in dollars. Example 300 |
| invoiced.netDays | integer | Days the invoice is due after it is issued. Example 30 |
| invoiced.covers | string | The month it covers. Example "October 2026" |
| charged | object or null | The minimum charged by this call. null when no charge was due: the Map API was already on, or the account owes no minimum this month. |
| charged.usd | number | The amount, in dollars. Example 300 |
| charged.charged | boolean | true when this call took the payment. |
| charged.alreadyPaid | boolean | true when this month's minimum was already paid; nothing more was charged. |
| charged.pending | boolean | true for a bank payment that has not settled yet. |
| charged.invoice | string or null | The invoice id. null when no invoice was created. |
| charged.covers | string | The calendar month the minimum covers. Example "October 2026" |
| Status | Code | When |
|---|---|---|
| 401 | — | The key is missing or invalid. The body is the plain detail string. |
| 402 | payment_method_required | No payment method on file, or a free-trial account. payment_failed when the card was declined; nothing was turned on. |
| 403 | business_account_required | A personal account. admin_required for a dashboard seat that is not an admin. |
| 422 | minimum_not_accepted | acceptMinimum was not true. |
What the charge covers
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.
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.
- It is a floor, not a fee on top. The $300 is applied toward everything the account uses that month: map requests, record opens and search.
- The first month. The $300 is paid on the day you turn it on. At month end that month is invoiced as
max(total usage, 300) − 300 already paid. With $150 of usage the month-end invoice adds nothing. With $1,500 of usage it adds $1,200. - 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.
- The day of the month does not change the amount. The minimum covers the calendar month it is paid in, whichever day that is.
See Billing for the rates and worked months.
If the card is declined
Nothing is turned on and nothing is charged. The call answers 402 payment_failed. Fix or replace the card and call it again.
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.
curl -X POST https://api.offendersearch.app/v1/map/disable \
-H "X-API-Key: $OFFENDERSEARCH_KEY"- Within seconds the map routes answer
403 map_not_enabled. Test mode still works. - The month it was on in stays a minimum month.
- Calling
enableon an account that is already on changes nothing and charges nothing.
Sex offender map API: POST /v1/map/disable response fields
Turn the Map API off. Free. The map routes stop within seconds; test mode keeps working. The month stays a minimum month, a minimum already paid is not refunded, and turning it on again in the same month charges nothing more.
Request
No parameters and no body.
| Field | Type | Description |
|---|---|---|
| X-API-Key required | string | A secret API key. A dashboard session of an account admin can send Authorization: Bearer <token> instead. A map browser key is refused here. |
Response
The plan after the call.
Every field of the MapStatus object, plus:
| Field | Type | Description |
|---|---|---|
| changed | boolean | true when this call turned the Map API off. false when it was already off. |
| Status | Code | When |
|---|---|---|
| 401 | — | The key is missing or invalid. The body is the plain detail string. |
| 403 | admin_required | A dashboard seat that is not an admin. |
Checking the plan
GET /v1/map/status is free and works whether the plan is on or off. It is how a client finds out which.
curl https://api.offendersearch.app/v1/map/status \
-H "X-API-Key: $OFFENDERSEARCH_KEY"Sex offender map API: GET /v1/map/status response fields
The Map API plan, rates, limits and this month's usage. Free, and it answers for an account whose Map API is off: it is how a client finds out that it is.
Request
No parameters and no body.
| Field | Type | Description |
|---|---|---|
| X-API-Key required | string | A secret API key (from your server), or a map browser key os_map_pk_… sent from a site on that key's list. A dashboard session can send Authorization: Bearer <token> instead. |
Response
The plan and this month's usage.
| Field | Type | Description |
|---|---|---|
| enabled | boolean | true when the Map API is on for this account. |
| paused | boolean | true when we have paused the Map API for this account; the map routes then answer 403 map_paused. |
| sandbox | boolean | true when this account's plan answers every request in test mode. |
| everEnabled | boolean | true when the Map API has been turned on for this account at any time. |
| enabledAt | string (date-time) or null | When the Map API was last turned on. null when it never has been. |
| disabledAt | string (date-time) or null | When the Map API was last turned off. null while it is on (turning it on clears it) and when it has never been turned off. |
| pinMinZoom | integer | Pins start at this zoom; below it a view is clusters. Example 13 |
| nameMinZoom | integer | Names start at this zoom; below it a pin carries no label.Example 15 |
| maxMarkers | integer | The most pins one answer carries. A denser view is answered as clusters. Example 300 |
| maxTilesPerRequest | integer | The most map tiles one view may cover at its zoom; a wider box is answered at a lower zoom. Example 64 |
| markerIdTtlSeconds | integer | How long marker ids and group ids work, in seconds. Example 86400 |
| markerFields | string one of "basic", "named" | How labels read on this plan: basic gives J. Smith, named gives John Smith. |
| rates | object | This account's two rates. |
| rates.requestUsdPer1k | number | Dollars per 1,000 map requests. Example 2 |
| rates.recordOpenUsd | number | Dollars per record opened: this account's rate. $0.035 by default; accounts that had the Map API before 2026-10-18 keep $0.015, and a volume account may have its own rate. Example 0.035 |
| minimumUsd | number | The monthly minimum, in dollars. Example 300 |
| minimumWaivedUntil | string (date) or null | The date a negotiated waiver of the minimum ends. null when the minimum is not waived. |
| minimumAppliesThisMonth | boolean | true when this calendar month is a minimum month for the account. |
| minimumPaidThisMonthUsd | number | What was charged toward this month's minimum when the Map API was turned on, in dollars. 0 when nothing was. |
| chargeAtTurnOnUsd | number | What POST /v1/map/enable would charge right now, in dollars: the minimum, or 0 when the Map API is already on, this month's minimum is already paid, or the account owes no minimum this month (a waiver, a plan in test mode, or an account we do not bill).Example 300 |
| minimumBilledOn | string one of "card", "invoice" | How the monthly minimum is collected: card (charged when the Map API is turned on) or invoice (a line on the month-end invoice, for accounts billed by invoice; nothing is charged at turn-on).Example "card" |
| invoiceNetDays | integer or null | Days the month-end invoice is due after it is issued, for an account billed by invoice. null otherwise. |
| usageThisMonth | object | Map usage since the start of this calendar month (UTC), before the minimum. Search usage is on the account's billing, not here. |
| usageThisMonth.periodStart | string (date-time) | The start of the month counted. |
| usageThisMonth.requests | integer | Map requests so far this month. |
| usageThisMonth.recordOpens | integer | Record opens so far this month. |
| usageThisMonth.requestsUsd | number | The map-request line in dollars, rounded down to the cent. |
| usageThisMonth.recordOpensUsd | number | The record-open line in dollars, rounded to the nearest cent. |
| usageThisMonth.estimatedUsd | number | The two lines together, before the minimum. |
| sweep | object | The daily area budget for pins. It resets at 00:00 UTC; clusters and test mode never count. |
| sweep.tilesToday | integer | Distinct areas (zoom-14 map tiles) pins were returned for today. |
| sweep.tilesPerDay | integer | The account's daily budget of distinct areas. Past it pin views answer 429 map_sweep_limit.Example 20000 |
| sweep.endUserTilesPerDay | integer | The daily budget for each end user named in X-End-User. Past it that user's pin views answer 429 map_end_user_limit.Example 2000 |
| limits | object | Daily limits set for this account. 0 means no limit. See Daily limits. |
| limits.recordOpensPerDay | integer | Distinct records the account may open in a UTC day. 0, the default, is no limit. Past it, GET /v1/map/records answers 429 map_open_limit; a record already opened that day still opens.Example 0 |
| limits.endUserOpensPerDay | integer | The same, for each end user named in X-End-User. 0, the default, is no limit.Example 0 |
| limits.endUserRoutesPerDay | integer | Distinct routes one end user may check in a UTC day. Past it a new route answers 429 map_end_user_route_limit. 0 is no limit.Example 20 |
| routes | object | How routes are billed and limited. See Routes, stops and corridors. |
| routes.unitMiles | integer | One route unit per started this-many miles of corridor. Example 1 |
| routes.stopsPerUnit | integer | One route unit per started this-many stops measured with a radius. Example 10 |
| routes.maxRoutesPerCall | integer | The most routes in one POST /v1/map/routes.Example 50 |
| routes.profiles | object | The limits of each profile. |
| routes.profiles.walk | MapRouteProfile | The walk profile. |
| routes.profiles.bus | MapRouteProfile | The bus profile. |
| terms | array of string | The rates and the minimum, as sentences to show a person. |
| links | object | Where to manage and read about the Map API. |
| links.dashboard | string | The Map API page of the dashboard. |
| links.docs | string | The Map API documentation. |
| Status | Code | When |
|---|---|---|
| 401 | — | The key is missing or invalid. The body is the plain detail string. |
| 403 | origin_not_allowed | A browser key used from a site not on its list. |
Negotiated accounts
An account with a negotiated plan, such as a trial period with the minimum waived, is turned on by us. Nothing is charged at that point, and the minimum starts the month after the waiver ends. Contact us to arrange one.
Errors in this flow
| Code | Status | Cause | What to do |
|---|---|---|---|
minimum_not_accepted | 422 | acceptMinimum was not true. | Send {"acceptMinimum": true}. |
payment_method_required | 402 | There is no card on the account, or it is on the free trial. | Add a payment method in the dashboard under Billing, then try again. |
payment_failed | 402 | The card was declined. Nothing was turned on and nothing was charged. | Fix or replace the card, then try again. |
business_account_required | 403 | The account is a personal account. | Use a business account. |
admin_required | 403 | The dashboard seat is not an admin of the account. | Ask an account admin to turn it on, or use a secret key. |