Transparência ativa · formatos abertos
Autoridades
Autoridades e cargos da gestão.
Como usar a API deste conjuntoendereço, filtros e exemplos para sistemas
Lista de autoridades
- Endereço (URL base)
https://lai.acessoinformacao.com.br/entidades/pl/ba/nilopecanha/dados-abertos/autoridades- Método
GET· resposta em JSON (Accept: application/json) ou XML (Accept: application/xml), paginada (pageeper_page, até 500)- Recuperar informações de único registro
{URL Base}/idondeidé o identificador do recurso. Ex.:https://lai.acessoinformacao.com.br/entidades/pl/ba/nilopecanha/dados-abertos/autoridades/211. Responde{"data": {…}}ou, se não existir,404com{"message": "Not Found", "error": true, "status_code": 404}.
Filtros
Os filtros disponíveis para este recurso são:
| Filtro | Tipo | Descrição | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id |
String |
ID ou lista de IDs separados por vírgula | ||||||||||||||||||||||||||||||||||
nome_completo |
String |
Nome completo | ||||||||||||||||||||||||||||||||||
nome_parlamentar |
String |
Nome parlamentar | ||||||||||||||||||||||||||||||||||
partido_politico |
String |
Partido político | ||||||||||||||||||||||||||||||||||
tipo_autoridade_id |
String |
IDs Tipo de autoridade separado por vírgula Clique para ver as opções (16)
|
||||||||||||||||||||||||||||||||||
tipo_autoridade_titulo |
String |
Título do tipo de autoridade | ||||||||||||||||||||||||||||||||||
cargos |
String |
Cargos | ||||||||||||||||||||||||||||||||||
gestao_atual |
Boolean |
Indica se deve listar a gestão atual Clique para ver as opções (6)
|
||||||||||||||||||||||||||||||||||
page | Number | Número da página (a partir de 1) — vale para todos os recursos | ||||||||||||||||||||||||||||||||||
per_page | Number | Registros por página (padrão 15, máximo 500) — vale para todos os recursos |
Exemplo de requisição
https://lai.acessoinformacao.com.br/entidades/pl/ba/nilopecanha/dados-abertos/autoridades?nome_completo=texto&page=1&per_page=15curl -H "Accept: application/json" "https://lai.acessoinformacao.com.br/entidades/pl/ba/nilopecanha/dados-abertos/autoridades?nome_completo=texto&page=1&per_page=15"
Exemplo de resposta (JSON, resumido)
{
"total": 11,
"per_page": 15,
"current_page": 1,
"last_page": 1,
"next_page_url": null,
"prev_page_url": null,
"from": 1,
"to": 11,
"data": [
{
"id": 211,
"nome_completo_ou_parlamentar": "ALESSANDRO PASSOS DA SILVA",
"nome_completo": "ALESSANDRO PASSOS DA SILVA",
"nome_parlamentar": "SANDRO",
"tipo_autoridade_id": 16,
"tipo_titulo": "Vice-Presidente",
"partido_politico": "PT",
"cargos": "Vice-presidente",
"foto_id": 730394,
"foto_url": "https://lai.acessoinformacao.com.br/arquivos/download/71811116b9ff3259…",
"foto": {
"id": 730394,
"filename": "ALESSANDRO PASSOS- Vice Pres.png",
"mime_type": "image/png",
"url": "https://lai.acessoinformacao.com.br/arquivos/download/71811116b9ff3259…",
"created_at": "2025-02-26 15:25:29",
"updated_at": "2025-02-26 15:25:29"
},
"gestao_atual": true
}
]
}
Trecho montado com o primeiro registro real deste conjunto; textos longos e listas foram encurtados.
Resposta
Cada item de data traz as propriedades abaixo (15). Campos vazios não são retornados pela API.
| Propriedade | Tipo | Descrição |
|---|---|---|
id |
Integer |
ID |
nome_completo_ou_parlamentar |
String |
Nome completo ou Parlamentar |
nome_completo |
String |
Nome completo |
nome_parlamentar |
String |
Nome parlamentar |
tipo_autoridade_id |
Integer |
Tipo de autoridade |
data_nascimento |
String |
Data de nascimento Formato: 2026-11-22 |
partido_politico |
String |
Partido político |
historia |
String |
História |
historia_html |
String |
História HTML |
gestao_atual |
Boolean |
Gestão atual |
tipo_titulo |
String |
Tipo de Autoridade |
cargos |
String |
Cargos |
foto_id |
Integer |
Foto ID |
foto |
Object |
Foto |
foto_url |
String |
Foto URL |
Informações gerais sobre a API (paginação, cabeçalhos e bibliotecas).
Consultar os dados
| ID | Nome completo ou Parlamentar | Nome completo | Nome parlamentar | Tipo de autoridade | Tipo | Partido político | Cargos | Foto ID | Foto URL | Foto | Gestão atual |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 211 | ALESSANDRO PASSOS DA SILVA | ALESSANDRO PASSOS DA SILVA | SANDRO | 16 | Vice-Presidente | PT | Vice-presidente | 730394 | https://lai.acessoinformacao.com.br/arquivos/download/71811116b9ff32592893b4fb6bf7f070c559cefe.png | 730394; ALESSANDRO PASSOS- Vice Pres.png; image/png; https://lai.acessoinformacao.com.br/arquivos/download/71811116b9ff32592893b4fb6bf7f070c559cefe.png; 2025-02-26 15:25:29; 2025-02-26 15:25:29 | Sim |
| 213 | CLEITON SILVA DOS SANTOS | CLEITON SILVA DOS SANTOS | KEU | 4 | Secretário | PT | 2º Secretário | 730392 | https://lai.acessoinformacao.com.br/arquivos/download/5eea102412e09443a819a4aac2d4e35d81a500dd.jpeg | 730392; Cleiton - Keu.jpeg; image/jpeg; https://lai.acessoinformacao.com.br/arquivos/download/5eea102412e09443a819a4aac2d4e35d81a500dd.jpeg; 2025-02-26 15:24:23; 2025-02-26 15:24:23 | Sim |
| 220 | CRISTOVAL ALVES | CRISTOVAL ALVES | TITO | 2 | Vice-Prefeito | AVANTE | Vice-prefeito | Sim | |||
| 214 | EDNEI DA PUREZA DOS SANTOS | EDNEI DA PUREZA DOS SANTOS | EDNEI DA PUREZA DOS SANTOS | 3 | Vereador | PODEMOS | Vereador(a) | 730388 | https://lai.acessoinformacao.com.br/arquivos/download/114535fff7703318c71104b297ecb7ffa67f9f06.jpeg | 730388; 66873df7-49ea-4c73-bf7a-e8736d1219f4.jpeg; image/jpeg; https://lai.acessoinformacao.com.br/arquivos/download/114535fff7703318c71104b297ecb7ffa67f9f06.jpeg; 2025-02-26 15:21:28; 2025-02-26 15:21:28 | Sim |
| 215 | ELENILDA JESUS SALES | ELENILDA JESUS SALES | ELLEM SALLES | 3 | Vereador | AVANTE | Vereador(a) | 730391 | https://lai.acessoinformacao.com.br/arquivos/download/7d2783888310de26fcfbe25af33bbac06588cd48.jpeg | 730391; 198b8bec-59b5-48fb-bbb0-33cacfa451a1.jpeg; image/jpeg; https://lai.acessoinformacao.com.br/arquivos/download/7d2783888310de26fcfbe25af33bbac06588cd48.jpeg; 2025-02-26 15:23:57; 2025-02-26 15:23:57 | Sim |
| 210 | ELIANE PEREIRA NASCIMENTO | ELIANE PEREIRA NASCIMENTO | ANE A GALEGA | 15 | Presidente | PODEMOS | Presidente | 730395 | https://lai.acessoinformacao.com.br/arquivos/download/e659fc552b98527b0a68d3eb2daa7a86743ffaed.png | 730395; ELIANE PEREIRA - Presidente.png; image/png; https://lai.acessoinformacao.com.br/arquivos/download/e659fc552b98527b0a68d3eb2daa7a86743ffaed.png; 2025-02-26 15:25:48; 2025-02-26 15:25:48 | Sim |
| 219 | JACQUELINE SOARES DE OLIVEIRA | JACQUELINE SOARES DE OLIVEIRA | JACQUE | 1 | Prefeito | PODEMOS | Prefeita | Sim | |||
| 212 | JAILTON DA CONCEIÇÃO SANTOS | JAILTON DA CONCEIÇÃO SANTOS | JAILTON DA CONCEIÇÃO SANTOS | 4 | Secretário | PP | 1º Secretário | 730393 | https://lai.acessoinformacao.com.br/arquivos/download/3234d260c515498a25626c2f3737208ae90a23f3.png | 730393; JAILTON CONCEIÇÃO- 1º sec.png; image/png; https://lai.acessoinformacao.com.br/arquivos/download/3234d260c515498a25626c2f3737208ae90a23f3.png; 2025-02-26 15:24:44; 2025-02-26 15:24:44 | Sim |
| 216 | JOIMAR SANTOS DA ANUNCIAÇÃO | JOIMAR SANTOS DA ANUNCIAÇÃO | TCHAY | 3 | Vereador | PODEMOS | Vereador(a) | 730390 | https://lai.acessoinformacao.com.br/arquivos/download/7ecf51be39192cb2fb01477cda39f34905e3d141.jpeg | 730390; f87868a1-f4db-4750-b2bc-d782de377b27.jpeg; image/jpeg; https://lai.acessoinformacao.com.br/arquivos/download/7ecf51be39192cb2fb01477cda39f34905e3d141.jpeg; 2025-02-26 15:23:03; 2025-02-26 15:23:03 | Sim |
| 217 | MISSINHO PERCÍLIO DE JESUS DOS SANTOS | MISSINHO PERCÍLIO DE JESUS DOS SANTOS | MISSINHO MORAL | 3 | Vereador | AVANTE | Vereador(a) | 730389 | https://lai.acessoinformacao.com.br/arquivos/download/d785eb9a8446a840b423fdd7d64cce22431944e2.jpeg | 730389; 47a09bf6-fe29-40f1-ace6-0f4fec109e37.jpeg; image/jpeg; https://lai.acessoinformacao.com.br/arquivos/download/d785eb9a8446a840b423fdd7d64cce22431944e2.jpeg; 2025-02-26 15:22:44; 2025-02-26 15:22:44 | Sim |
| 218 | WALMÓRIO ANDRÉ MONTEIRO DO ROSÁRIO | WALMÓRIO ANDRÉ MONTEIRO DO ROSÁRIO | WALMÓRIO SAN | 3 | Vereador | PP | Vereador(a) | 730387 | https://lai.acessoinformacao.com.br/arquivos/download/b632a09a7531afefa3225964e5e1204436868a03.jpeg | 730387; deb316ae-aa6a-4843-9d93-344677730d82.jpeg; image/jpeg; https://lai.acessoinformacao.com.br/arquivos/download/b632a09a7531afefa3225964e5e1204436868a03.jpeg; 2025-02-26 15:21:07; 2025-02-26 15:21:07 | Sim |