Importante: Use a API pública com parcimônia para não onerar nossos servidores.

Estamos tendo um volume muito grande de chamadas a API para interagir com datasets completos. Caso você precise manipular volumes muito grandes de dados, baixe o CSV usando os links disponíveis nos datasets do Brasil.IO. Esses links usam nosso servidor de arquivos estáticos e são a maneira mais rápida (e correta) de baixar bases de dados completas.

Em breve limitaremos o acesso automatizado ao site, dados esses abusos que vem acontecendo. Peço que acompanhe as novidades em nosso canal no Telegram.

GET /api/v1/dataset/covid19/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "author_name": "Álvaro Justen e dezenas de colaboradores",
    "author_url": "https://blog.brasil.io/2020/03/23/dados-coronavirus-por-municipio-mais-atualizados/",
    "code_url": "https://github.com/turicas/covid19-br",
    "description": "Boletins informativos e casos do coronavírus por município por dia",
    "id": "http://brasil.io/api/v1/dataset/covid19/",
    "license_name": "Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)",
    "license_url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "links": [
        {
            "title": "Boletins PR",
            "url": "http://www.saude.pr.gov.br/modules/conteudo/conteudo.php?conteudo=3507"
        },
        {
            "title": "Boletins SP",
            "url": "http://www.saopaulo.sp.gov.br/noticias-coronavirus/"
        },
        {
            "title": "Boletins RO",
            "url": "http://www.rondonia.ro.gov.br/portal/noticias/"
        },
        {
            "title": "Boletins MG",
            "url": "https://www.saude.mg.gov.br/component/gmg/stories"
        },
        {
            "title": "Boletins RS",
            "url": "https://saude.rs.gov.br/noticias"
        },
        {
            "title": "Boletins MT",
            "url": "http://www.saude.mt.gov.br/arquivo/10790"
        },
        {
            "title": "Boletins MS",
            "url": "https://www.vs.saude.ms.gov.br/Geral/vigilancia-saude/vigilancia-epidemiologica/boletim-epidemiologico/covid-19/"
        },
        {
            "title": "Boletins BA",
            "url": "http://www.saude.ba.gov.br/category/vigilancia/"
        },
        {
            "title": "Boletins PE",
            "url": "http://www.pe.gov.br/blog/saude/"
        },
        {
            "title": "Informações sobre a coleta de dados (manual)",
            "url": "https://docs.google.com/document/d/1ufRx3txbaUoz0P0BRH14DPce_6fZmUyZdWL7s8IliIY/edit#heading=h.b7neakyzunh4"
        },
        {
            "title": "Boletins AC",
            "url": "https://agencia.ac.gov.br/categoria/noticias/"
        },
        {
            "title": "Boletins AL",
            "url": "http://www.saude.al.gov.br/coronavirus/"
        },
        {
            "title": "Boletins AM",
            "url": "http://www.saude.am.gov.br/"
        },
        {
            "title": "Boletins AP",
            "url": "https://www.portal.ap.gov.br/coronavirus"
        },
        {
            "title": "Boletins CE",
            "url": "https://www.saude.ce.gov.br/download/arquivos-coronavirus-covid-19/"
        },
        {
            "title": "Boletim ES",
            "url": "https://coronavirus.es.gov.br/Noticias"
        },
        {
            "title": "Boletins GO",
            "url": "http://www.saude.go.gov.br/noticias/764-coronavirus"
        },
        {
            "title": "Boletins MA",
            "url": "http://saude.ma.gov.br/"
        },
        {
            "title": "Boletins PA",
            "url": "http://www.saude.pa.gov.br/category/coronavirus/"
        },
        {
            "title": "Boletins PB",
            "url": "https://paraiba.pb.gov.br/@@busca?sort_on=relevance&b_start:int=0&SearchableText=covid-19"
        },
        {
            "title": "Boletins PI",
            "url": "http://portal.saude.pi.gov.br/2020/inf_saude/epidemiologia/covid-19/covid-19.asp"
        },
        {
            "title": "Boletins RJ",
            "url": "https://www.saude.rj.gov.br/noticias/"
        },
        {
            "title": "Boletins RN",
            "url": "http://www.saude.rn.gov.br/Conteudo.asp?TRAN=ITEM&TARG=223456&ACT=&PAGE=&PARM=&LBL=MAT%C9RIA"
        },
        {
            "title": "Boletins RR",
            "url": "https://www.saude.rr.gov.br/index.php/informacoesx/coronavirus/informacoes-coronavirus"
        },
        {
            "title": "Boletins SC (1)",
            "url": "http://www.saude.sc.gov.br/index.php/noticias-geral"
        },
        {
            "title": "Boletins SC (2)",
            "url": "http://scsaude.sea.sc.gov.br/sc-saude-em-noticias/"
        },
        {
            "title": "Boletins DF (1)",
            "url": "http://www.saude.df.gov.br/informativos-do-centro-de-operacoes-de-emergencia-coe/"
        },
        {
            "title": "Boletins DF (2)",
            "url": "https://www.agenciabrasilia.df.gov.br/?s=coronav%C3%ADrus"
        },
        {
            "title": "Boletins SE",
            "url": "https://www.saude.se.gov.br/?page_id=21676"
        },
        {
            "title": "Boletins TO",
            "url": "https://saude.to.gov.br/noticia/2020/3/21/boletim-de-acompanhamento--sesto--covid-19--2103/"
        },
        {
            "title": "Boletins RJ (2)",
            "url": "https://coronavirus.rj.gov.br/boletins/"
        },
        {
            "title": "Documentação da API",
            "url": "https://github.com/turicas/covid19-br/blob/master/api.md"
        },
        {
            "title": "Perguntas e respostas sobre os dados",
            "url": "https://github.com/turicas/covid19-br/blob/master/api.md"
        },
        {
            "title": "Portal da Transparência do Registro Civil",
            "url": "https://transparencia.registrocivil.org.br/especial-covid"
        }
    ],
    "name": "COVID-19",
    "slug": "covid19",
    "source_name": "Secretarias de Saúde estaduais",
    "source_url": "https://docs.google.com/spreadsheets/d/1S77CvorwQripFZjlWTOZeBhK42rh3u57aRL1XZGhSdI/edit?usp=sharing",
    "collected_at": "2020-10-20",
    "tables": [
        {
            "fields": [
                {
                    "name": "date",
                    "type": "text"
                },
                {
                    "name": "state",
                    "type": "string"
                },
                {
                    "name": "url",
                    "type": "string"
                },
                {
                    "name": "notes",
                    "type": "text"
                }
            ],
            "name": "boletim",
            "data_url": "http://brasil.io/api/v1/dataset/covid19/boletim/data/",
            "import_date": "2020-10-20T20:02:15.558051-03:00"
        },
        {
            "fields": [
                {
                    "name": "date",
                    "type": "text"
                },
                {
                    "name": "state",
                    "type": "string"
                },
                {
                    "name": "city",
                    "type": "string"
                },
                {
                    "name": "place_type",
                    "type": "string"
                },
                {
                    "name": "confirmed",
                    "type": "integer"
                },
                {
                    "name": "deaths",
                    "type": "integer"
                },
                {
                    "name": "is_last",
                    "type": "bool"
                },
                {
                    "name": "estimated_population",
                    "type": "integer"
                },
                {
                    "name": "estimated_population_2019",
                    "type": "integer"
                },
                {
                    "name": "city_ibge_code",
                    "type": "string"
                },
                {
                    "name": "confirmed_per_100k_inhabitants",
                    "type": "float"
                },
                {
                    "name": "death_rate",
                    "type": "float"
                },
                {
                    "name": "order_for_place",
                    "type": "integer"
                }
            ],
            "name": "caso",
            "data_url": "http://brasil.io/api/v1/dataset/covid19/caso/data/",
            "import_date": "2020-10-20T20:05:12.548259-03:00"
        },
        {
            "fields": [
                {
                    "name": "epidemiological_week",
                    "type": "integer"
                },
                {
                    "name": "date",
                    "type": "string"
                },
                {
                    "name": "order_for_place",
                    "type": "integer"
                },
                {
                    "name": "state",
                    "type": "string"
                },
                {
                    "name": "city",
                    "type": "string"
                },
                {
                    "name": "city_ibge_code",
                    "type": "integer"
                },
                {
                    "name": "place_type",
                    "type": "string"
                },
                {
                    "name": "last_available_date",
                    "type": "string"
                },
                {
                    "name": "last_available_confirmed",
                    "type": "integer"
                },
                {
                    "name": "last_available_confirmed_per_100k_inhabitants",
                    "type": "float"
                },
                {
                    "name": "new_confirmed",
                    "type": "integer"
                },
                {
                    "name": "last_available_deaths",
                    "type": "integer"
                },
                {
                    "name": "new_deaths",
                    "type": "integer"
                },
                {
                    "name": "last_available_death_rate",
                    "type": "float"
                },
                {
                    "name": "estimated_population_2019",
                    "type": "integer"
                },
                {
                    "name": "estimated_population",
                    "type": "integer"
                },
                {
                    "name": "is_last",
                    "type": "bool"
                },
                {
                    "name": "is_repeated",
                    "type": "bool"
                }
            ],
            "name": "caso_full",
            "data_url": "http://brasil.io/api/v1/dataset/covid19/caso_full/data/",
            "import_date": "2020-10-20T20:06:42.726217-03:00"
        },
        {
            "fields": [
                {
                    "name": "date",
                    "type": "string"
                },
                {
                    "name": "state",
                    "type": "string"
                },
                {
                    "name": "epidemiological_week_2019",
                    "type": "integer"
                },
                {
                    "name": "epidemiological_week_2020",
                    "type": "integer"
                },
                {
                    "name": "deaths_total_2019",
                    "type": "integer"
                },
                {
                    "name": "deaths_total_2020",
                    "type": "integer"
                },
                {
                    "name": "new_deaths_total_2019",
                    "type": "integer"
                },
                {
                    "name": "deaths_covid19",
                    "type": "integer"
                },
                {
                    "name": "new_deaths_total_2020",
                    "type": "integer"
                },
                {
                    "name": "deaths_indeterminate_2019",
                    "type": "integer"
                },
                {
                    "name": "deaths_indeterminate_2020",
                    "type": "integer"
                },
                {
                    "name": "deaths_others_2019",
                    "type": "integer"
                },
                {
                    "name": "deaths_others_2020",
                    "type": "integer"
                },
                {
                    "name": "deaths_pneumonia_2019",
                    "type": "integer"
                },
                {
                    "name": "deaths_pneumonia_2020",
                    "type": "integer"
                },
                {
                    "name": "deaths_respiratory_failure_2019",
                    "type": "integer"
                },
                {
                    "name": "deaths_respiratory_failure_2020",
                    "type": "integer"
                },
                {
                    "name": "deaths_sars_2019",
                    "type": "integer"
                },
                {
                    "name": "deaths_sars_2020",
                    "type": "integer"
                },
                {
                    "name": "deaths_septicemia_2019",
                    "type": "integer"
                },
                {
                    "name": "deaths_septicemia_2020",
                    "type": "integer"
                },
                {
                    "name": "new_deaths_covid19",
                    "type": "integer"
                },
                {
                    "name": "new_deaths_indeterminate_2019",
                    "type": "integer"
                },
                {
                    "name": "new_deaths_indeterminate_2020",
                    "type": "integer"
                },
                {
                    "name": "new_deaths_others_2019",
                    "type": "integer"
                },
                {
                    "name": "new_deaths_others_2020",
                    "type": "integer"
                },
                {
                    "name": "new_deaths_pneumonia_2019",
                    "type": "integer"
                },
                {
                    "name": "new_deaths_pneumonia_2020",
                    "type": "integer"
                },
                {
                    "name": "new_deaths_respiratory_failure_2019",
                    "type": "integer"
                },
                {
                    "name": "new_deaths_respiratory_failure_2020",
                    "type": "integer"
                },
                {
                    "name": "new_deaths_sars_2019",
                    "type": "integer"
                },
                {
                    "name": "new_deaths_sars_2020",
                    "type": "integer"
                },
                {
                    "name": "new_deaths_septicemia_2019",
                    "type": "integer"
                },
                {
                    "name": "new_deaths_septicemia_2020",
                    "type": "integer"
                }
            ],
            "name": "obito_cartorio",
            "data_url": "http://brasil.io/api/v1/dataset/covid19/obito_cartorio/data/",
            "import_date": "2020-10-20T15:10:44.441136-03:00"
        }
    ]
}