Offender Map API · v1.0.0

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.app

Who 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.

POST /v1/map/enable
curl -X POST https://api.offendersearch.app/v1/map/enable \
  -H "X-API-Key: $OFFENDERSEARCH_KEY" \
  -H "Content-Type: application/json" \
  -d '{"acceptMinimum": true}'
  1. acceptMinimum must be true. It is your agreement to the monthly minimum.
  2. The account needs a payment method on file.
  3. We charge the $300 minimum to the card at that moment. If the charge fails, nothing is turned on.
  4. 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

POST/v1/map/enableAuth: X-API-Key

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

Headers
FieldTypeDescription
X-API-Key
required
stringA secret API key. A dashboard session of an account admin can send Authorization: Bearer <token> instead. A map browser key is refused here.
Body · application/json
FieldTypeDescription
acceptMinimum
optional · default false
booleanSend 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

200 · application/json

The plan after the call, with what was charged.

Every field of the MapStatus object, plus:

FieldTypeDescription
changed
booleantrue when this call turned the Map API on. false when it was already on; nothing was charged.
invoiced
object or nullFor an account billed by invoice: the minimum this call put on the month-end invoice instead of charging it. null otherwise.
invoiced.usd
numberThe minimum, in dollars.
Example 300
invoiced.netDays
integerDays the invoice is due after it is issued.
Example 30
invoiced.covers
stringThe month it covers.
Example "October 2026"
charged
object or nullThe 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
numberThe amount, in dollars.
Example 300
charged.charged
booleantrue when this call took the payment.
charged.alreadyPaid
booleantrue when this month's minimum was already paid; nothing more was charged.
charged.pending
booleantrue for a bank payment that has not settled yet.
charged.invoice
string or nullThe invoice id. null when no invoice was created.
charged.covers
stringThe calendar month the minimum covers.
Example "October 2026"
Errors
StatusCodeWhen
401—The key is missing or invalid. The body is the plain detail string.
402payment_method_requiredNo payment method on file, or a free-trial account. payment_failed when the card was declined; nothing was turned on.
403business_account_requiredA personal account. admin_required for a dashboard seat that is not an admin.
422minimum_not_acceptedacceptMinimum 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.

POST /v1/map/disable
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 enable on an account that is already on changes nothing and charges nothing.

Sex offender map API: POST /v1/map/disable response fields

POST/v1/map/disableAuth: X-API-Key

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.

Headers
FieldTypeDescription
X-API-Key
required
stringA secret API key. A dashboard session of an account admin can send Authorization: Bearer <token> instead. A map browser key is refused here.

Response

200 · application/json

The plan after the call.

Every field of the MapStatus object, plus:

FieldTypeDescription
changed
booleantrue when this call turned the Map API off. false when it was already off.
Errors
StatusCodeWhen
401—The key is missing or invalid. The body is the plain detail string.
403admin_requiredA 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.

GET /v1/map/status
curl https://api.offendersearch.app/v1/map/status \
  -H "X-API-Key: $OFFENDERSEARCH_KEY"

Sex offender map API: GET /v1/map/status response fields

GET/v1/map/statusAuth: X-API-Key

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.

Headers
FieldTypeDescription
X-API-Key
required
stringA 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

200 · application/json

The plan and this month's usage.

FieldTypeDescription
enabled
booleantrue when the Map API is on for this account.
paused
booleantrue when we have paused the Map API for this account; the map routes then answer 403 map_paused.
sandbox
booleantrue when this account's plan answers every request in test mode.
everEnabled
booleantrue when the Map API has been turned on for this account at any time.
enabledAt
string (date-time) or nullWhen the Map API was last turned on. null when it never has been.
disabledAt
string (date-time) or nullWhen 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
integerPins start at this zoom; below it a view is clusters.
Example 13
nameMinZoom
integerNames start at this zoom; below it a pin carries no label.
Example 15
maxMarkers
integerThe most pins one answer carries. A denser view is answered as clusters.
Example 300
maxTilesPerRequest
integerThe most map tiles one view may cover at its zoom; a wider box is answered at a lower zoom.
Example 64
markerIdTtlSeconds
integerHow 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
objectThis account's two rates.
rates.requestUsdPer1k
numberDollars per 1,000 map requests.
Example 2
rates.recordOpenUsd
numberDollars 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
numberThe monthly minimum, in dollars.
Example 300
minimumWaivedUntil
string (date) or nullThe date a negotiated waiver of the minimum ends. null when the minimum is not waived.
minimumAppliesThisMonth
booleantrue when this calendar month is a minimum month for the account.
minimumPaidThisMonthUsd
numberWhat was charged toward this month's minimum when the Map API was turned on, in dollars. 0 when nothing was.
chargeAtTurnOnUsd
numberWhat 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 nullDays the month-end invoice is due after it is issued, for an account billed by invoice. null otherwise.
usageThisMonth
objectMap 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
integerMap requests so far this month.
usageThisMonth.recordOpens
integerRecord opens so far this month.
usageThisMonth.requestsUsd
numberThe map-request line in dollars, rounded down to the cent.
usageThisMonth.recordOpensUsd
numberThe record-open line in dollars, rounded to the nearest cent.
usageThisMonth.estimatedUsd
numberThe two lines together, before the minimum.
sweep
objectThe daily area budget for pins. It resets at 00:00 UTC; clusters and test mode never count.
sweep.tilesToday
integerDistinct areas (zoom-14 map tiles) pins were returned for today.
sweep.tilesPerDay
integerThe account's daily budget of distinct areas. Past it pin views answer 429 map_sweep_limit.
Example 20000
sweep.endUserTilesPerDay
integerThe 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
objectDaily limits set for this account. 0 means no limit. See Daily limits.
limits.recordOpensPerDay
integerDistinct 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
integerThe same, for each end user named in X-End-User. 0, the default, is no limit.
Example 0
limits.endUserRoutesPerDay
integerDistinct 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
objectHow routes are billed and limited. See Routes, stops and corridors.
routes.unitMiles
integerOne route unit per started this-many miles of corridor.
Example 1
routes.stopsPerUnit
integerOne route unit per started this-many stops measured with a radius.
Example 10
routes.maxRoutesPerCall
integerThe most routes in one POST /v1/map/routes.
Example 50
routes.profiles
objectThe limits of each profile.
routes.profiles.walk
MapRouteProfileThe walk profile.
routes.profiles.bus
MapRouteProfileThe bus profile.
terms
array of stringThe rates and the minimum, as sentences to show a person.
links
objectWhere to manage and read about the Map API.
links.dashboard
stringThe Map API page of the dashboard.
links.docs
stringThe Map API documentation.
Errors
StatusCodeWhen
401—The key is missing or invalid. The body is the plain detail string.
403origin_not_allowedA 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

CodeStatusCauseWhat to do
minimum_not_accepted422acceptMinimum was not true.Send {"acceptMinimum": true}.
payment_method_required402There 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_failed402The card was declined. Nothing was turned on and nothing was charged.Fix or replace the card, then try again.
business_account_required403The account is a personal account.Use a business account.
admin_required403The dashboard seat is not an admin of the account.Ask an account admin to turn it on, or use a secret key.

Product overview