{"info":{"_postman_id":"f5545e1e-a7c7-4f0c-b32d-4b233d15f7a4","name":"Covid API","description":"<html><head></head><body><p>Based on public data provided by Johns Hopkins CSSE.\n<a href=\"https://github.com/CSSEGISandData/COVID-19\">Github Link</a>.\nPlease read the Terms of Use in the Readme file of the repository by above link before using this API.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10724784","collectionId":"f5545e1e-a7c7-4f0c-b32d-4b233d15f7a4","publishedId":"SzYXWz3x","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-03-30T14:02:57.000Z"},"item":[{"name":"List of region names.","id":"8b133941-d8b3-4055-8047-46171581cac4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://covid-api.com/api/regions","urlObject":{"protocol":"https","path":["api","regions"],"host":["covid-api","com"],"query":[],"variable":[]}},"response":[{"id":"45ec1bd2-2ae9-42d3-982b-dbd6c24a08de","name":"HTTP 200 OK","originalRequest":{"method":"GET","header":[],"url":"/api/regions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"iso\": \"CHN\",\n \"name\": \"China\"\n}"}],"_postman_id":"8b133941-d8b3-4055-8047-46171581cac4"},{"name":"List of provinces by iso code.","id":"18baa983-719c-42ce-8576-a2e93a2d1bc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://covid-api.com/api/provinces/:iso","urlObject":{"protocol":"https","path":["api","provinces",":iso"],"host":["covid-api","com"],"query":[],"variable":[{"id":"bde6bce7-22df-4691-8239-fe26d6ae8025","description":{"content":"<p>(Required) The ISO code</p>\n","type":"text/plain"},"type":"string","value":"schema type not provided","key":"iso"}]}},"response":[{"id":"648f475f-e75a-48ec-9c8a-5313b13c59f3","name":"HTTP 422 Unprocessable Entity","originalRequest":{"method":"GET","header":[],"url":{"raw":"/api/provinces/:iso","host":["/api"],"path":["provinces",":iso"],"variable":[{"key":"iso"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"title\": \"HTTP Unprocessable Entity\",\n \"code\": 0,\n \"message\": \"The given data was invalid.\",\n \"fields\": {\n  \"some_field\": [\n   \"Error description array for Some Field.\"\n  ]\n }\n}"},{"id":"9526b234-98f2-4d31-a611-a749e2cff8f5","name":"HTTP 200 OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"/api/provinces/:iso","host":["/api"],"path":["provinces",":iso"],"variable":[{"key":"iso"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n \"iso\": \"CHN\",\n \"name\": \"Hubei\",\n \"province\": \"Hunan\",\n \"lat\": \"29.1832\",\n \"long\": \"120.0934\"\n}"}],"_postman_id":"18baa983-719c-42ce-8576-a2e93a2d1bc5"},{"name":"List of reports.","id":"d68904a1-4c7d-4dde-8af4-decb923d91b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://covid-api.com/api/reports?date=&q=&iso=&region_name=&region_province=","urlObject":{"protocol":"https","path":["api","reports"],"host":["covid-api","com"],"query":[{"description":{"content":"<p>The date of report in the format Y-m-d | default current date</p>\n","type":"text/plain"},"key":"date","value":""},{"description":{"content":"<p>The query string for search by country/region and province</p>\n","type":"text/plain"},"key":"q","value":""},{"description":{"content":"<p>Filter by country ISO code</p>\n","type":"text/plain"},"key":"iso","value":""},{"description":{"content":"<p>Filter by country/region name</p>\n","type":"text/plain"},"key":"region_name","value":""},{"description":{"content":"<p>Filter by province name</p>\n","type":"text/plain"},"key":"region_province","value":""}],"variable":[]}},"response":[{"id":"fe19b980-31a8-4d62-a868-bb7b07258d28","name":"HTTP 200 OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://covid-api.com/api/reports?date=2020-03-14&q=China Beijing&iso=CHN&region_name=China&region_province=Beijing","protocol":"https","host":["covid-api","com"],"path":["api","reports"],"query":[{"key":"date","value":"2020-03-14","description":"The date of report in the format Y-m-d | default current date"},{"key":"q","value":"China Beijing","description":"The query string for search by country/region and province"},{"key":"iso","value":"CHN","description":"Filter by country ISO code"},{"key":"region_name","value":"China","description":"Filter by country/region name"},{"key":"region_province","value":"Beijing","description":"Filter by province name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 02 Apr 2020 17:21:54 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"date\": \"2020-03-14\",\n            \"confirmed\": 437,\n            \"deaths\": 8,\n            \"recovered\": 349,\n            \"confirmed_diff\": 1,\n            \"deaths_diff\": 0,\n            \"recovered_diff\": 7,\n            \"last_update\": \"2020-03-14 02:13:47\",\n            \"active\": 80,\n            \"active_diff\": -6,\n            \"fatality_rate\": 0.0183,\n            \"region\": {\n                \"iso\": \"CHN\",\n                \"name\": \"China\",\n                \"province\": \"Beijing\",\n                \"lat\": \"40.1824\",\n                \"long\": \"116.4142\",\n                \"cities\": []\n            }\n        }\n    ]\n}"}],"_postman_id":"d68904a1-4c7d-4dde-8af4-decb923d91b6"},{"name":"Total data by date.","id":"99c74ba1-2111-45c4-a23e-ea003a3032f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://covid-api.com/api/reports/total?date=","description":"<p>The date of report in the format Y-m-d</p>\n","urlObject":{"protocol":"https","path":["api","reports","total"],"host":["covid-api","com"],"query":[{"key":"date","value":""}],"variable":[]}},"response":[{"id":"a841a051-478c-4c50-ae3b-52ff2e4c677e","name":"https://covid-api.com/api/reports/total?date=2020-04-15","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://covid-api.com/api/reports/total?date=2020-04-15","protocol":"https","host":["covid-api","com"],"path":["api","reports","total"],"query":[{"key":"date","value":"2020-04-15"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 16 Apr 2020 10:17:48 GMT"},{"key":"X-RateLimit-Limit","value":"2000"},{"key":"X-RateLimit-Remaining","value":"1998"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"date\": \"2020-04-15\",\n        \"last_update\": \"2020-04-15 23:04:26\",\n        \"confirmed\": 2056055,\n        \"confirmed_diff\": 82340,\n        \"deaths\": 134178,\n        \"deaths_diff\": 8268,\n        \"recovered\": 511019,\n        \"recovered_diff\": 36758,\n        \"active\": 1410858,\n        \"active_diff\": 37314,\n        \"fatality_rate\": 0.0653\n    }\n}"}],"_postman_id":"99c74ba1-2111-45c4-a23e-ea003a3032f0"}],"variable":[{"id":"baseUrl","key":"baseUrl","value":"/api","type":"string"}]}