{"id":17773187,"url":"https://github.com/energee/covid19-us-api","last_synced_at":"2025-04-01T15:22:10.562Z","repository":{"id":38245216,"uuid":"251436152","full_name":"energee/covid19-us-api","owner":"energee","description":"US States API of confirmed cases and deaths","archived":false,"fork":false,"pushed_at":"2023-03-24T02:28:01.000Z","size":4608,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T02:22:14.973Z","etag":null,"topics":["corona","coronavirus","covid-19","covid-api","covid-data","covid19","covid19-data"],"latest_commit_sha":null,"homepage":"https://energ.ee/covid19-us-api/states.json","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/energee.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-03-30T21:49:05.000Z","updated_at":"2024-01-12T18:12:34.000Z","dependencies_parsed_at":"2024-10-26T22:00:32.695Z","dependency_job_id":"a5e78ff5-5535-4105-ab3d-164a1a5b5d86","html_url":"https://github.com/energee/covid19-us-api","commit_stats":{"total_commits":1687,"total_committers":3,"mean_commits":562.3333333333334,"dds":0.00889152341434496,"last_synced_commit":"ea881be30bdbef607c076809f05a686938cc7d67"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/energee%2Fcovid19-us-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/energee%2Fcovid19-us-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/energee%2Fcovid19-us-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/energee%2Fcovid19-us-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/energee","download_url":"https://codeload.github.com/energee/covid19-us-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246660191,"owners_count":20813360,"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","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":["corona","coronavirus","covid-19","covid-api","covid-data","covid19","covid19-data"],"created_at":"2024-10-26T21:42:33.044Z","updated_at":"2025-04-01T15:22:10.535Z","avatar_url":"https://github.com/energee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://github.com/energee/covid19-us-api/workflows/.github/workflows/main.yml/badge.svg)\n\nTransforms data from https://github.com/nytimes/covid-19-data into json. Available at https://energee.github.io/covid19-us-api/states.json.\n\nThe json contains the number of COVID-19 confirmed cases and deaths for every state starting on January 21st. Note: there are no entries for states on days that have 0 confirmed and 0 dead:\n\n```\n\"Washington\": [\n  {\n    \"date\": \"2020-01-21\",\n    \"confirmed\": \"1\",\n    \"deaths\": \"0\"\n  },\n  {\n    \"date\": \"2020-01-22\",\n    \"confirmed\": \"1\",\n    \"deaths\": \"0\"\n  }\n]\n  ```\n\n**Example:**\n```\nfetch(\"https://energee.github.io/covid19-us-api/states.json\")\n  .then(response =\u003e response.json())\n  .then(data =\u003e {\n    data[\"Pennsylvania\"].forEach(({ date, confirmed, deaths }) =\u003e\n      console.log(`${date} active cases: ${confirmed} deaths: ${deaths}`)\n    );\n  });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenergee%2Fcovid19-us-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenergee%2Fcovid19-us-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenergee%2Fcovid19-us-api/lists"}