Nomes
curl --request POST \
--url https://api.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"nomes": [
"maria"
]
}
'import requests
url = "https://api.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes"
payload = { "nomes": ["maria"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({nomes: ['maria']})
};
fetch('https://api.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes', 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.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes",
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([
'nomes' => [
'maria'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes"
payload := strings.NewReader("{\n \"nomes\": [\n \"maria\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"nomes\": [\n \"maria\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"nomes\": [\n \"maria\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"count": 1,
"items": [
{
"localidade": "BR",
"nome": "MARIA",
"res": [
{
"frequencia": 336477,
"periodo": "1930["
},
{
"frequencia": 749053,
"periodo": "[1930,1940["
},
{
"frequencia": 1487042,
"periodo": "[1940,1950["
},
{
"frequencia": 2476482,
"periodo": "[1950,1960["
},
{
"frequencia": 2495491,
"periodo": "[1960,1970["
},
{
"frequencia": 1616019,
"periodo": "[1970,1980["
},
{
"frequencia": 917968,
"periodo": "[1980,1990["
},
{
"frequencia": 544296,
"periodo": "[1990,2000["
},
{
"frequencia": 1111301,
"periodo": "[2000,2010["
}
],
"sexo": null
}
],
"observed_at_ms": 1790047017561,
"source_url": "https://servicodados.ibge.gov.br/api/v2/censos/nomes/maria"
}IBGE service data API
Nomes
How common a Brazilian first name is, how its popularity changed by decade, or where in Brazil it concentrates.
POST
https://api.aisa.one
/
apis
/
v1
/
servicodados-ibge-gov-br
/
official-statistics
/
nomes
Nomes
curl --request POST \
--url https://api.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"nomes": [
"maria"
]
}
'import requests
url = "https://api.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes"
payload = { "nomes": ["maria"] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({nomes: ['maria']})
};
fetch('https://api.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes', 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.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes",
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([
'nomes' => [
'maria'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes"
payload := strings.NewReader("{\n \"nomes\": [\n \"maria\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"nomes\": [\n \"maria\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"nomes\": [\n \"maria\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"count": 1,
"items": [
{
"localidade": "BR",
"nome": "MARIA",
"res": [
{
"frequencia": 336477,
"periodo": "1930["
},
{
"frequencia": 749053,
"periodo": "[1930,1940["
},
{
"frequencia": 1487042,
"periodo": "[1940,1950["
},
{
"frequencia": 2476482,
"periodo": "[1950,1960["
},
{
"frequencia": 2495491,
"periodo": "[1960,1970["
},
{
"frequencia": 1616019,
"periodo": "[1970,1980["
},
{
"frequencia": 917968,
"periodo": "[1980,1990["
},
{
"frequencia": 544296,
"periodo": "[1990,2000["
},
{
"frequencia": 1111301,
"periodo": "[2000,2010["
}
],
"sexo": null
}
],
"observed_at_ms": 1790047017561,
"source_url": "https://servicodados.ibge.gov.br/api/v2/censos/nomes/maria"
}Request contract
- Method and path: POST /apis/v1/servicodados-ibge-gov-br/official-statistics/nomes
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes
{
"operationId": "servicodados-ibge-gov-br.official-statistics.nomes",
"method": "POST",
"path": "/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"nomes": [
"maria"
]
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"group_by": {
"description": "`UF` splits the frequency by state (one item per UF with populacao, frequencia and proporcao).\n\nProvider reference: allowed values [\"UF\"].",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"UF"
]
}
},
"localidade": {
"description": "IBGE code of an estado (35) or municipio (3550308); default Brazil. Pattern: ^[0-9]{1,7}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"nomes": {
"description": "First names (accents optional: maria, joao, JOSÉ).",
"items": {
"type": "string"
},
"type": "array"
},
"sexo": {
"description": "Restrict to a sex.\n\nProvider reference: allowed values [\"F\", \"M\"].",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"F",
"M"
]
}
}
},
"required": [
"nomes"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
Response
Frequency of one or more first names in the 2010 Census (/api/v2/censos/nomes/{nome|nome}): total by birth decade for Brazil or one locality (estado / municipio id), optionally by sex, or grouped by state (groupBy=UF: population, frequency and proportion per 100,000 for each UF). Names unknown to the census are not_found.
The response contains the tool result directly.
The provider identifies items as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
localidade | string | BR, a UF id or a municipio id. |
nome | string | Name as the census stores it (uppercase); absent when grouped by UF. |
res | object[] | |
sexo | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.