API reference

States

Per-jurisdiction coverage: which agencies we carry and how fresh each one is. Base URL https://dataquoll.io/api/v1.

GET/states

Feed health by state

Returns the status of each state feed, including last poll time, health, and incident count.

Responses

StatusDescription
200Feed status for all states
402Pay per request: no key was sent, so the answer is a price. The WWW-Authenticate header carries an MPP Payment challenge; pay it and send the request again with Authorization: Payment. Also sent, with a fresh price, when a payment fails its checks or its price has expired. Only while pay per request is on; otherwise a request without a key gets 401.
Request
curl "https://dataquoll.io/api/v1/states" \
  -H "Authorization: Bearer YOUR_API_KEY"