Skip to main content

EUROPE TRUE VIEW / DEVELOPERS

Incident data API

Query published incident records and keep your own dataset in sync with updates and withdrawals.

/api/v1JSON over HTTPS

API request and response The partner app sends a GET request. The API queries the archive, receives records and returns a JSON response to the partner app. GET Query JSON Records Partner appAPI v1 Archive

Quickstart

Request access for your organization. After approval, store the token in a server-side secret store and pass it in the authorization header.

Partner API token required. API requests use a separate bearer token. To display the map on your website, request a domain-specific key in the map embed configurator.

Terminal · curl
curl --header "Authorization: Bearer ${ETV_API_TOKEN}" \
  'https://remigmaster.urij.eu/api/v1/incidents?country=DE&country=AT&severity_min=3&limit=50'

Endpoints

Keep the same filters when passing page.next_cursor as cursor. A null list cursor means you reached the end. Each page contains up to 100 records.

Read parameters and response schemas · Download OpenAPI JSON

Use the JSON file to import the API into Postman or generate a client. The reference above presents the same contract as a web page.

Keep a local copy in sync

  1. With a token that allows the change feed, save the cursor from /api/v1/changes?cursor=latest.
  2. Import the incident pages. Use id as your stable key.
  3. Resume the change feed from the saved cursor. Fetch the current detail on upsert. Remove the local record on withdraw or a detail response of 404.
  4. Process updates in feed order and make updates safe to repeat. Save the new cursor after processing each page, even if it is empty.

Repeat the initial import if your saved cursor becomes invalid.

Limits and errors

Default limits are 60 requests per minute per token and 10,000 per organization per UTC day. Wait for Retry-After on 429 or 503 when supplied.

400 means an invalid query, 401 invalid or missing credentials, 403 missing permission and 404 an unavailable record.

Exact coordinates, reporting forms, staff information and drafts are excluded. Terms · Privacy