curl --request POST \
--url https://api.nomos.pro/search/speeches \
--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/speeches"
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/speeches', 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/speeches",
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/speeches"
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/speeches")
.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/speeches")
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": "senado",
"eventId": "<string>",
"organId": "<string>",
"date": "2023-11-07T05:31:56Z",
"content": "<string>",
"speakers": [
{
"stakeholderId": "<string>",
"speakerName": "<string>",
"codigoOradorTaquigrafia": "<string>",
"role": "Presidente",
"quartosCount": 123
}
],
"audioLinks": [
"<string>"
],
"propositionRefs": [
{}
],
"highlights": [
{}
],
"savedBuckets": [
{
"_id": "<string>",
"monitorId": "<string>",
"originId": "<string>",
"monitorName": "<string>"
}
]
}
],
"pagination": {
"page": 123,
"limit": 123,
"pages": 123,
"total": 123
}
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}Buscar discursos parlamentares
Busca discursos e pronunciamentos parlamentares, filtrando por autor, partido e data.
curl --request POST \
--url https://api.nomos.pro/search/speeches \
--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/speeches"
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/speeches', 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/speeches",
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/speeches"
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/speeches")
.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/speeches")
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": "senado",
"eventId": "<string>",
"organId": "<string>",
"date": "2023-11-07T05:31:56Z",
"content": "<string>",
"speakers": [
{
"stakeholderId": "<string>",
"speakerName": "<string>",
"codigoOradorTaquigrafia": "<string>",
"role": "Presidente",
"quartosCount": 123
}
],
"audioLinks": [
"<string>"
],
"propositionRefs": [
{}
],
"highlights": [
{}
],
"savedBuckets": [
{
"_id": "<string>",
"monitorId": "<string>",
"originId": "<string>",
"monitorName": "<string>"
}
]
}
],
"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 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"]
}
IDs de stakeholders (parlamentares). Use apenas IDs reais devolvidos por uma busca anterior — valores inventados retornam zero resultados silenciosamente.
Siglas partidárias.
["PT", "PSDB", "MDB"]
Filtra por data do discurso.
Show child attributes
Show child attributes
{ "from": "2026-01-01", "to": "2026-07-26" }