{"id":21015069,"url":"https://github.com/frefrik/covid19norge-api","last_synced_at":"2026-05-10T16:13:51.102Z","repository":{"id":40304765,"uuid":"313775676","full_name":"frefrik/covid19norge-api","owner":"frefrik","description":"API for COVID-19 cases in Norway","archived":false,"fork":false,"pushed_at":"2023-03-14T08:57:16.000Z","size":974,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-13T03:37:27.102Z","etag":null,"topics":["api","covid","covid-19","covid19","data","fastapi","norge","norway"],"latest_commit_sha":null,"homepage":"https://covid19norge.no/api","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frefrik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-18T00:09:57.000Z","updated_at":"2021-12-09T21:37:17.000Z","dependencies_parsed_at":"2025-03-13T19:15:25.826Z","dependency_job_id":null,"html_url":"https://github.com/frefrik/covid19norge-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/frefrik/covid19norge-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frefrik%2Fcovid19norge-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frefrik%2Fcovid19norge-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frefrik%2Fcovid19norge-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frefrik%2Fcovid19norge-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frefrik","download_url":"https://codeload.github.com/frefrik/covid19norge-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frefrik%2Fcovid19norge-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273377153,"owners_count":25094528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","covid","covid-19","covid19","data","fastapi","norge","norway"],"created_at":"2024-11-19T10:08:36.212Z","updated_at":"2026-05-10T16:13:46.080Z","avatar_url":"https://github.com/frefrik.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# COVID-19 Norway API\n\nAPI for tracking the COVID-19 outbreak in Norway.  \n\n\n## Data Sources\n\nAll the data presented in this API is sourced from **official Norwegian authorities**.  \nSee link for more detailed information.\n- https://github.com/frefrik/covid19norge-data\n\n## Documentation\nSwagger UI: https://covid19norge.no/api  \nReDoc: https://covid19norge.no/api/docs\n\n\n## Endpoints\n- **[\u003ccode\u003eGET\u003c/code\u003e Current Key Figures](#current-key-figures)**\n- **[\u003ccode\u003eGET\u003c/code\u003e Timeseries](#timeseries)**\n- **[\u003ccode\u003eGET\u003c/code\u003e Timeseries (Category)](#timeseries-category)**\n- **[\u003ccode\u003eGET\u003c/code\u003e Transport](#transport)**\n\n\n## Current Key Figures\n\n    GET /v1/current\n\nReturns current key figures\n\n- **tested**: Tested cases\n- **confirmed**: Confirmed cases\n- **dead**: Death cases\n- **admissions**: Admissions\n- **respiratory**: Respiratory\n- **vaccine_doses**: Vaccine doses administered\n\n### Example\n#### Request\n\n    GET https://covid19norge.no/api/v1/current\n\n#### Response\n``` json\n{\n  \"area\": {\n    \"code\": \"00\",\n    \"name\": \"Norge\",\n    \"name_en\": \"Norway\",\n    \"population\": 5367580\n  },\n  \"data\": {\n    \"tested\": {\n      \"newToday\": 20820,\n      \"newYesterday\": 14383,\n      \"newSince_d7\": 119406,\n      \"newSince_d8\": 145179,\n      \"newSince_d14\": 231266,\n      \"newSince_d15\": 252672,\n      \"newDaily_avg_7\": 17058,\n      \"newDaily_avg_14\": 16519,\n      \"total\": 3454305,\n      \"updated\": {\n        \"source\": \"fhi:web\",\n        \"timestamp\": \"2021-02-03 13:00:03+01:00\"\n      }\n    },\n    \"confirmed\": {\n      \"newToday\": 192,\n      \"newYesterday\": 50,\n      \"newSince_d7\": 1428,\n      \"newSince_d8\": 1771,\n      \"newSince_d14\": 3495,\n      \"newSince_d15\": 3850,\n      \"newDaily_avg_7\": 204,\n      \"newDaily_avg_14\": 249.64,\n      \"total\": 63745,\n      \"updated\": {\n        \"source\": \"msis:api\",\n        \"timestamp\": \"2021-02-03 15:15:03+01:00\"\n      }\n    }\n  }\n}\n```\n\n## Timeseries\n\n    GET /v1/timeseries\n\nReturns timeseries data\n\n### Example\n#### Request\n\n    GET https://covid19norge.no/api/v1/timeseries\n\n#### Response\n``` json\n{\n  \"timeseries\": {\n    \"new\": [\n      {\n        \"date\": \"2020-02-21\",\n        \"tested\": 0,\n        \"confirmed\": 1,\n        \"dead\": 0,\n        \"admissions\": 0,\n        \"respiratory\": 0,\n        \"vaccine_doses\": 0\n      },\n      {\n        \"date\": \"2020-02-22\",\n        \"tested\": 0,\n        \"confirmed\": 0,\n        \"dead\": 0,\n        \"admissions\": 0,\n        \"respiratory\": 0,\n        \"vaccine_doses\": 0\n      }\n    ],\n    \"total\": [\n      {\n        \"date\": \"2020-02-21\",\n        \"tested\": 0,\n        \"confirmed\": 1,\n        \"dead\": 0,\n        \"admissions\": 0,\n        \"respiratory\": 0,\n        \"vaccine_doses\": 0\n      },\n      {\n        \"date\": \"2020-02-22\",\n        \"tested\": 0,\n        \"confirmed\": 1,\n        \"dead\": 0,\n        \"admissions\": 0,\n        \"respiratory\": 0,\n        \"vaccine_doses\": 0\n      }\n    ]\n  }\n}\n```\n\n## Timeseries (Category)\n\n    GET /v1/timeseries/{category}\n\nReturns timeseries data for specified category\n\n### Query Parameters\nParameter | Valid values\n--- | ---\ncategory | tested\u003cbr/\u003etested_lab\u003cbr/\u003econfirmed\u003cbr/\u003edead\u003cbr/\u003ehospitalized\u003cbr/\u003evaccine_doses\u003cbr/\u003esmittestopp\u003cbr/\u003eomicron\n\n### Example\n#### Request\n\n    GET https://covid19norge.no/api/v1/timeseries/confirmed\n\n#### Response\n``` json\n{\n  \"confirmed\": [\n    {\n      \"date\": \"2021-01-30\",\n      \"new\": 175,\n      \"total\": 63069,\n      \"source\": \"fhi:git\"\n    },\n    {\n      \"date\": \"2021-01-31\",\n      \"new\": 175,\n      \"total\": 63244,\n      \"source\": \"fhi:git\"\n    },\n    {\n      \"date\": \"2021-02-01\",\n      \"new\": 259,\n      \"total\": 63503,\n      \"source\": \"fhi:git\"\n    },\n    {\n      \"date\": \"2021-02-02\",\n      \"new\": 50,\n      \"total\": 63553,\n      \"source\": \"fhi:git\"\n    }\n  ]\n}\n```\n\n## Transport\n\n    GET /v1/transport\n\nReturns departures where persons infected with covid-19 have been on board (aircraft, ships, trains and buses).\n\n### Example\n#### Request\n\n    GET https://covid19norge.no/api/v1/transport\n\n#### Response\n``` json\n{\n  \"transport\": {\n    \"aircraft\": [{\n        \"type\": \"Fly\",\n        \"route\": \"QR175\",\n        \"company\": \"Qatar Airways\",\n        \"from\": \"Doha\",\n        \"to\": \"Oslo\",\n        \"departure\": \"2021-01-31 08:00:00\",\n        \"arrival\": \"2021-01-31 13:00:00\"\n      },\n      {\n        \"type\": \"Fly\",\n        \"route\": \"TK1751\",\n        \"company\": \"Turkish Airlines\",\n        \"from\": \"Istanbul\",\n        \"to\": \"Oslo\",\n        \"departure\": \"2021-01-30 08:50:00\",\n        \"arrival\": \"2021-01-30 10:35:00\"\n      }\n    ],\n    \"bus\": [{\n        \"type\": \"Buss\",\n        \"route\": \"FB11\",\n        \"company\": \"Flybussen\",\n        \"from\": \"Fredrikstad\",\n        \"to\": \"Oslo lufthavn\",\n        \"departure\": \"2021-01-10 12:30:00\",\n        \"arrival\": \"2021-01-10 14:40:00\"\n      },\n      {\n        \"type\": \"Buss\",\n        \"route\": \"600\",\n        \"company\": \"Bus4You\",\n        \"from\": \"Malmö\",\n        \"to\": \"Oslo\",\n        \"departure\": \"2021-01-08 15:50:00\",\n        \"arrival\": \"2021-01-08 19:10:00\"\n      }\n    ],\n    \"ship\": [{\n        \"type\": \"Skip\",\n        \"route\": \"Superspeed 2\",\n        \"company\": \"Color Line \",\n        \"from\": \"Hirtshals\",\n        \"to\": \"Larvik\",\n        \"departure\": \"2021-01-29 12:45:00\",\n        \"arrival\": \"2021-01-29 16:30:00\"\n      },\n      {\n        \"type\": \"Skip\",\n        \"route\": \"Superspeed 1\",\n        \"company\": \"Color Line \",\n        \"from\": \"Hirthals\",\n        \"to\": \"Kristiansand\",\n        \"departure\": \"2021-01-16 20:45:00\",\n        \"arrival\": \"2021-01-16 23:59:00\"\n      }\n    ],\n    \"train\": [{\n        \"type\": \"Tog\",\n        \"route\": \"41.0\",\n        \"company\": \"VY\",\n        \"from\": \"Oslo\",\n        \"to\": \"Bergen\",\n        \"departure\": \"2021-01-16 08:25:00\",\n        \"arrival\": \"2021-01-16 14:55:00\"\n      },\n      {\n        \"type\": \"Tog\",\n        \"route\": \"41\",\n        \"company\": \"VY\",\n        \"from\": \"Oslo\",\n        \"to\": \"Bergen\",\n        \"departure\": \"2021-01-16 08:25:00\",\n        \"arrival\": \"2021-01-16 14:55:00\"\n      }\n    ]\n  }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrefrik%2Fcovid19norge-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrefrik%2Fcovid19norge-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrefrik%2Fcovid19norge-api/lists"}