Detalhe de processo por numero
curl --request GET \
--url https://api.nlbs.ai/dados/processos/{numero} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.nlbs.ai/dados/processos/{numero}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.nlbs.ai/dados/processos/{numero}', 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.nlbs.ai/dados/processos/{numero}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.nlbs.ai/dados/processos/{numero}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.nlbs.ai/dados/processos/{numero}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nlbs.ai/dados/processos/{numero}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"assuntos": [
{
"codigo": "<string>",
"nome": "<string>"
}
],
"classes": [
{
"codigo": "<string>",
"nome": "<string>"
}
],
"data_ajuizamento": "2023-12-25",
"data_distribuicao": "2023-12-25",
"grau_atual": "<string>",
"moeda": "<string>",
"movimentos": [
{
"codigo": "<string>",
"data": "2023-12-25",
"nome": "<string>",
"publicado_em": "2023-11-07T05:31:56Z",
"tipo": "<string>"
}
],
"numero": "<string>",
"partes": [
{
"nome": "<string>",
"papel": "<string>",
"papel_detalhe": "<string>",
"tipo": "<string>"
}
],
"proximo_cursor": "<string>",
"situacao": "<string>",
"titulo": "<string>",
"total_movimentos": 1,
"total_partes": 1,
"tribunal": {
"cidade": "<string>",
"nome": "<string>",
"uf": "<string>"
},
"ultima_movimentacao": "2023-12-25",
"valor_causa": "<string>"
}{
"erro": {
"codigo": "<string>",
"mensagem": "<string>"
}
}{
"erro": {
"codigo": "<string>",
"mensagem": "<string>"
}
}{
"erro": {
"codigo": "<string>",
"mensagem": "<string>"
}
}{
"erro": {
"codigo": "<string>",
"mensagem": "<string>"
}
}{
"erro": {
"codigo": "<string>",
"mensagem": "<string>"
}
}{
"erro": {
"codigo": "<string>",
"mensagem": "<string>"
}
}dados
Detalhe de processo por numero
Detalhe de um processo judicial pelo numero CNJ, com ou sem pontuacao (20 digitos). Retorna cabecalho, tribunal, classes, assuntos, ate 100 partes e uma pagina de movimentos. Exige o escopo dados:processos. Os movimentos vem da data mais recente para a mais antiga; para a proxima pagina, repita a chamada com cursor igual ao proximo_cursor recebido (null na ultima).
GET
/
dados
/
processos
/
{numero}
Detalhe de processo por numero
curl --request GET \
--url https://api.nlbs.ai/dados/processos/{numero} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.nlbs.ai/dados/processos/{numero}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.nlbs.ai/dados/processos/{numero}', 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.nlbs.ai/dados/processos/{numero}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.nlbs.ai/dados/processos/{numero}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.nlbs.ai/dados/processos/{numero}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nlbs.ai/dados/processos/{numero}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"assuntos": [
{
"codigo": "<string>",
"nome": "<string>"
}
],
"classes": [
{
"codigo": "<string>",
"nome": "<string>"
}
],
"data_ajuizamento": "2023-12-25",
"data_distribuicao": "2023-12-25",
"grau_atual": "<string>",
"moeda": "<string>",
"movimentos": [
{
"codigo": "<string>",
"data": "2023-12-25",
"nome": "<string>",
"publicado_em": "2023-11-07T05:31:56Z",
"tipo": "<string>"
}
],
"numero": "<string>",
"partes": [
{
"nome": "<string>",
"papel": "<string>",
"papel_detalhe": "<string>",
"tipo": "<string>"
}
],
"proximo_cursor": "<string>",
"situacao": "<string>",
"titulo": "<string>",
"total_movimentos": 1,
"total_partes": 1,
"tribunal": {
"cidade": "<string>",
"nome": "<string>",
"uf": "<string>"
},
"ultima_movimentacao": "2023-12-25",
"valor_causa": "<string>"
}{
"erro": {
"codigo": "<string>",
"mensagem": "<string>"
}
}{
"erro": {
"codigo": "<string>",
"mensagem": "<string>"
}
}{
"erro": {
"codigo": "<string>",
"mensagem": "<string>"
}
}{
"erro": {
"codigo": "<string>",
"mensagem": "<string>"
}
}{
"erro": {
"codigo": "<string>",
"mensagem": "<string>"
}
}{
"erro": {
"codigo": "<string>",
"mensagem": "<string>"
}
}Query Parameters
Response
Successful Response

