3 Useful for checking if the service and database is running. The JSON output also shows
4 when the database was last updated.
8 * `format=[text|json]` (defaults to 'text')
16 https://nominatim.openstreetmap.org/status.php
19 will return HTTP status code 200 and print `OK`.
21 On error it will return HTTP status code 500 and print a message, e.g.
22 `ERROR: Database connection failed`.
29 https://nominatim.openstreetmap.org/status.php?format=json
32 will return HTTP code 200 and a structure
38 "data_updated": "2020-05-04T14:47:00+00:00",
39 "software_version": "3.6.0-0",
40 "database_version": "3.6.0-0"
44 The `software_version` field contains the version of Nominatim used to serve
45 the API. The `database_version` field contains the version of the data format
48 On error will also return HTTP status code 200 and a structure with error
49 code and message, e.g.
54 "message": "Database connection failed"
58 Possible status codes are
61 | --- | ------------------------------ | ----------------------------------------------------------------- |
62 | 700 | "No database" | connection failed |
63 | 701 | "Module failed" | database could not load nominatim.so |
64 | 702 | "Module call failed" | nominatim.so loaded but calling a function failed |
65 | 703 | "Query failed" | test query against a database table failed |
66 | 704 | "No value" | test query worked but returned no results |
67 | 705 | "Import date is not available" | No import dates were returned (enabling replication can fix this) |