{"id":"nyheter","name":"Norwegian news events","description":"Geolocated Norwegian news and police events, deduplicated and ordered by recency.","documentation":"https://test.offentligdata.com/api/news","operations":[{"name":"search_news","description":"Search geolocated Norwegian news and police events.","parameters":[{"name":"query","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"Free-text term matched case-insensitively against each event's name, summary and location (client-side; the API has no text search). E.g. \"brann\", \"Bergen\", \"trafikkulykke\"."},{"name":"since","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"ISO 8601 UTC lower bound on when the event was seen, e.g. \"2026-07-10T00:00:00Z\". Default: 24 hours ago."},{"name":"until","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"ISO 8601 UTC upper bound. Default: open-ended."},{"name":"kind","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"\"news\" for news media only, \"police\" for police log (politiloggen) entries only. Default: both."},{"name":"lat","type":"number","schema":{"anyOf":[{"type":"number"},{"type":"null"}]},"display_type":"decimal number","required":false,"default":null,"description":"Centre latitude (WGS84) for an area search. Give lat and lon together to only return events within radius_km of the point."},{"name":"lon","type":"number","schema":{"anyOf":[{"type":"number"},{"type":"null"}]},"display_type":"decimal number","required":false,"default":null,"description":"Centre longitude (WGS84)."},{"name":"radius_km","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":false,"default":25,"description":"Search radius in km around lat/lon (default 25)."},{"name":"limit","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":25,"description":"Max events to return, 1 to 100 (default 25)."},{"name":"offset","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":0,"description":"Skip this many matching events (for pagination)."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/nyheter/search_news?query={query}&since={since}&until={until}&kind={kind}&lat={lat}&lon={lon}&radius_km=25&limit=25&offset=0","output_fields":["since","until","total","matched","offset","count","items","items[].id","items[].name","items[].lat","items[].lon","items[].source","items[].summary","items[].location","items[].link","items[].severity","items[].tags","items[].is_active","items[].pub_date","items[].first_seen","items[].last_seen"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["items[].id"],"name":["items[].name"],"latitude":["items[].lat"],"longitude":["items[].lon"]},"description_language":"en","documentation":"Search geolocated Norwegian news and police events.\n\nArgs:\n    query: Free-text term matched case-insensitively against each\n        event's name, summary and location (client-side; the API has\n        no text search). E.g. \"brann\", \"Bergen\", \"trafikkulykke\".\n    since: ISO 8601 UTC lower bound on when the event was seen, e.g.\n        \"2026-07-10T00:00:00Z\". Default: 24 hours ago.\n    until: ISO 8601 UTC upper bound. Default: open-ended.\n    kind: \"news\" for news media only, \"police\" for police log\n        (politiloggen) entries only. Default: both.\n    lat: Centre latitude (WGS84) for an area search. Give lat and lon\n        together to only return events within radius_km of the point.\n    lon: Centre longitude (WGS84).\n    radius_km: Search radius in km around lat/lon (default 25).\n    limit: Max events to return, 1 to 100 (default 25).\n    offset: Skip this many matching events (for pagination).\n\nReturns `items` newest first, each with name, lat/lon, source, summary,\nlocation, link, severity, tags, pub_date, first_seen/last_seen and\nis_active (police items). `matched` is how many events matched the\nfilters in total; page through them with offset, or narrow the time\nwindow / query.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/nyheter/search_news/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/nyheter/search_news/?query={query}&since={since}&until={until}&kind={kind}&lat={lat}&lon={lon}&radius_km=25&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/nyheter/search_news","response_schema":{"type":"object","properties":{"since":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"until":{"x-allemannsdata-schema-status":"unresolved","description":"Response shape is not yet declared; any JSON value is permitted."},"total":{"type":["integer","null"]},"matched":{"type":"integer"},"offset":{"type":["integer","null"]},"count":{"type":"integer"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"source":{"type":["string","null"]},"summary":{"type":["string","null"]},"location":{"type":["string","null"]},"link":{"type":["string","null"],"format":"uri"},"severity":{"type":["string","null"]},"tags":{"type":["array","null"],"items":{"type":"string"}},"is_active":{"type":["boolean","null"]},"pub_date":{"type":["string","null"],"format":"date-time"},"first_seen":{"type":["string","null"],"format":"date-time"},"last_seen":{"type":["string","null"],"format":"date-time"}},"additionalProperties":false}}},"additionalProperties":false},"response_schema_status":{"status":"incomplete","codegen_safe":false,"description":"Not suitable for typed model generation: the container shape and field names are useful, but unresolved values accept any JSON value."},"entity_projection":{"status":"projected","entity_types":["news_event","place"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/nyheter/search_news/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/nyheter/search_news","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/nyheter/search_news?query={query}&since={since}&until={until}&kind={kind}&lat={lat}&lon={lon}&radius_km=25&limit=25&offset=0"}],"operation_schema_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/nyheter/{operation}/schema","related_sources":[{"id":"politiloggen","name":"Norwegian Police Log","reason":"Official police incident messages also represented in the news event feed.","api":"https://allemannsdata.com/wiki/api/v1/kilder/politiloggen","wiki":"https://allemannsdata.com/wiki/kilder/politiloggen/"}],"_meta":{"retrieved_at":"2026-08-02T14:01:38Z","language":"en","content_languages":["en"],"sources":[{"id":"nyheter","name":"Norwegian news events","description":"Geolocated Norwegian news and police events, deduplicated and ordered by recency.","documentation":"https://test.offentligdata.com/api/news","cache_ttl_seconds":300}]},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/nyheter","names":"https://allemannsdata.com/wiki/api/v1/kilder/nyheter?view=names","compact":"https://allemannsdata.com/wiki/api/v1/kilder/nyheter?view=compact","full":"https://allemannsdata.com/wiki/api/v1/kilder/nyheter","wiki":"https://allemannsdata.com/wiki/kilder/nyheter/"}}
