curl --request POST \
--url https://api.nomos.pro/search/events \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"keywords": {
"or": [
"reforma tributária"
],
"not": [
"arquivada"
]
}
}
'import requests
url = "https://api.nomos.pro/search/events"
payload = { "keywords": {
"or": ["reforma tributária"],
"not": ["arquivada"]
} }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({keywords: {or: ['reforma tributária'], not: ['arquivada']}})
};
fetch('https://api.nomos.pro/search/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nomos.pro/search/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'keywords' => [
'or' => [
'reforma tributária'
],
'not' => [
'arquivada'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.nomos.pro/search/events"
payload := strings.NewReader("{\n \"keywords\": {\n \"or\": [\n \"reforma tributária\"\n ],\n \"not\": [\n \"arquivada\"\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.nomos.pro/search/events")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"keywords\": {\n \"or\": [\n \"reforma tributária\"\n ],\n \"not\": [\n \"arquivada\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nomos.pro/search/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"keywords\": {\n \"or\": [\n \"reforma tributária\"\n ],\n \"not\": [\n \"arquivada\"\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"id": "<string>",
"openDataId": "<string>",
"openDataResource": "alesp",
"description": "<string>",
"dateStart": "2023-11-07T05:31:56Z",
"dateEnd": "2023-11-07T05:31:56Z",
"local": {
"name": "<string>"
},
"highlights": [
{}
],
"savedEvents": [
{
"_id": "<string>",
"monitorId": "<string>",
"originId": "<string>",
"monitorName": "<string>"
}
],
"savedOrgans": [
{
"_id": "<string>",
"monitorId": "<string>",
"originId": "<string>",
"monitorName": "<string>"
}
],
"savedPropositions": [
{
"_id": "<string>",
"monitorId": "<string>",
"originId": "<string>",
"monitorName": "<string>"
}
],
"savedStakeholders": [
{
"_id": "<string>",
"monitorId": "<string>",
"originId": "<string>",
"monitorName": "<string>"
}
],
"userEvents": [
{}
]
}
],
"pagination": {
"page": 123,
"limit": 123,
"pages": 123,
"total": 123
}
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}Buscar eventos e agendas
Busca sessões, reuniões de comissão e agendas oficiais (E-agendas) das casas legislativas.
curl --request POST \
--url https://api.nomos.pro/search/events \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"keywords": {
"or": [
"reforma tributária"
],
"not": [
"arquivada"
]
}
}
'import requests
url = "https://api.nomos.pro/search/events"
payload = { "keywords": {
"or": ["reforma tributária"],
"not": ["arquivada"]
} }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({keywords: {or: ['reforma tributária'], not: ['arquivada']}})
};
fetch('https://api.nomos.pro/search/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nomos.pro/search/events",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'keywords' => [
'or' => [
'reforma tributária'
],
'not' => [
'arquivada'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.nomos.pro/search/events"
payload := strings.NewReader("{\n \"keywords\": {\n \"or\": [\n \"reforma tributária\"\n ],\n \"not\": [\n \"arquivada\"\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.nomos.pro/search/events")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"keywords\": {\n \"or\": [\n \"reforma tributária\"\n ],\n \"not\": [\n \"arquivada\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nomos.pro/search/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"keywords\": {\n \"or\": [\n \"reforma tributária\"\n ],\n \"not\": [\n \"arquivada\"\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"id": "<string>",
"openDataId": "<string>",
"openDataResource": "alesp",
"description": "<string>",
"dateStart": "2023-11-07T05:31:56Z",
"dateEnd": "2023-11-07T05:31:56Z",
"local": {
"name": "<string>"
},
"highlights": [
{}
],
"savedEvents": [
{
"_id": "<string>",
"monitorId": "<string>",
"originId": "<string>",
"monitorName": "<string>"
}
],
"savedOrgans": [
{
"_id": "<string>",
"monitorId": "<string>",
"originId": "<string>",
"monitorName": "<string>"
}
],
"savedPropositions": [
{
"_id": "<string>",
"monitorId": "<string>",
"originId": "<string>",
"monitorName": "<string>"
}
],
"savedStakeholders": [
{
"_id": "<string>",
"monitorId": "<string>",
"originId": "<string>",
"monitorName": "<string>"
}
],
"userEvents": [
{}
]
}
],
"pagination": {
"page": 123,
"limit": 123,
"pages": 123,
"total": 123
}
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}Authorizations
Chave de API da Nomos. Clientes criam e gerenciam chaves em https://nomos.pro/organization/developers (Organização → Desenvolvedores).
Query Parameters
Número da página.
x >= 1Resultados por página. Máximo 20.
1 <= x <= 20Busca por texto livre. Pode ser usada junto com keywords.
Modos de busca separados por vírgula. sensitive diferencia maiúsculas e acentos; keyword exige correspondência exata.
Ordenação. newest = mais recentes por data; recently_updated = movimentados há menos tempo; older = mais antigos primeiro; relevance = mais aderentes às palavras-chave.
newest, recently_updated, older, relevance Lookups adicionais: all, savedEvents, savedPropositions, userEvents, savedStakeholders, savedOrgans.
Body
Palavras-chave e filtros do domínio. Todo campo é opcional; um corpo vazio retorna os resultados mais recentes.
Palavras-chave booleanas. Combine os três operadores livremente.
Show child attributes
Show child attributes
{
"or": ["reforma tributária", "IBS"],
"not": ["arquivada"]
}
Casas legislativas de origem.
["camara", "senado", "alesp", "almg"]
Situações do evento.
Tipos de evento.
IDs de órgão.
IDs de stakeholders (parlamentares). Use apenas IDs reais devolvidos por uma busca anterior — valores inventados retornam zero resultados silenciosamente.
Filtra por data do evento.
Show child attributes
Show child attributes
{ "from": "2026-01-01", "to": "2026-07-26" }
Nome do órgão (E-agendas).
Cargo do stakeholder (E-agendas).
Nome do stakeholder (E-agendas).
ID de stakeholder (painel).
Casa legislativa específica.
ID de monitor específico.