> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Nomes ranking

> Most common names in Brazil or a state, by decade or sex.

## Request contract

* **Method and path:** POST /apis/v1/servicodados-ibge-gov-br/official-statistics/nomes-ranking
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes-ranking`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/servicodados-ibge-gov-br.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "servicodados-ibge-gov-br.official-statistics.nomes-ranking",
  "method": "POST",
  "path": "/apis/v1/servicodados-ibge-gov-br/official-statistics/nomes-ranking",
  "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": {
              "decada": 1990,
              "localidade": "35",
              "sexo": "F"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "decada": {
              "description": "Birth decade start year, a multiple of 10 (1930..2000).\n\nProvider reference: minimum 1930; maximum 2010.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 2010,
                "min": 1930
              }
            },
            "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"
              }
            },
            "sexo": {
              "description": "sexo\n\nProvider reference: allowed values [\"F\", \"M\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "F",
                  "M"
                ]
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "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.


## OpenAPI

````yaml openapi/servicodados-ibge-gov-br.json POST /apis/v1/servicodados-ibge-gov-br/official-statistics/nomes-ranking
openapi: 3.1.0
info:
  description: ''
  title: IBGE service data API
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    servicodados-ibge-gov-br:
      description: ''
      title: IBGE service data API
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 518fc4ef947cdae694909b6b92a592a19c91435c3047395d9357e9329503c138
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/servicodados-ibge-gov-br/official-statistics/agregado-dados
    - /apis/v1/servicodados-ibge-gov-br/official-statistics/agregado-metadados
    - /apis/v1/servicodados-ibge-gov-br/official-statistics/agregados
    - /apis/v1/servicodados-ibge-gov-br/official-statistics/calendario
    - /apis/v1/servicodados-ibge-gov-br/official-statistics/cnae
    - /apis/v1/servicodados-ibge-gov-br/official-statistics/localidade
    - /apis/v1/servicodados-ibge-gov-br/official-statistics/localidades
    - /apis/v1/servicodados-ibge-gov-br/official-statistics/malha
    - /apis/v1/servicodados-ibge-gov-br/official-statistics/nomes
    - /apis/v1/servicodados-ibge-gov-br/official-statistics/nomes-ranking
    - /apis/v1/servicodados-ibge-gov-br/official-statistics/noticias
    - /apis/v1/servicodados-ibge-gov-br/official-statistics/paises
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:384fbccd466b93a5e759ab66f0bb4bd9d7246110b99aeaf8b08945bfa155d106
    facts_hash: 518fc4ef947cdae694909b6b92a592a19c91435c3047395d9357e9329503c138
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: servicodados-ibge-gov-br
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/servicodados-ibge-gov-br/official-statistics/nomes-ranking:
    post:
      tags:
        - IBGE service data API
      summary: Nomes ranking
      description: Most common names in Brazil or a state, by decade or sex.
      operationId: servicodados-ibge-gov-br.official-statistics.nomes-ranking
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  decada: 1990
                  localidade: '35'
                  sexo: F
            schema:
              additionalProperties: true
              properties:
                decada:
                  description: |-
                    Birth decade start year, a multiple of 10 (1930..2000).

                    Provider reference: minimum 1930; maximum 2010.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 2010
                    min: 1930
                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
                sexo:
                  description: |-
                    sexo

                    Provider reference: allowed values ["F", "M"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - F
                      - M
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-09-22.
                  summary: Official provider example
                  value:
                    count: 20
                    decada: 1990
                    items:
                      - frequencia: 118428
                        nome: ANA
                        ranking: 1
                      - frequencia: 105247
                        nome: MARIA
                        ranking: 2
                      - frequencia: 75764
                        nome: JULIANA
                        ranking: 3
                      - frequencia: 64059
                        nome: VANESSA
                        ranking: 4
                      - frequencia: 56602
                        nome: FERNANDA
                        ranking: 5
                      - frequencia: 56554
                        nome: PATRICIA
                        ranking: 6
                      - frequencia: 56117
                        nome: ALINE
                        ranking: 7
                      - frequencia: 46724
                        nome: CAMILA
                        ranking: 8
                      - frequencia: 45389
                        nome: ADRIANA
                        ranking: 9
                      - frequencia: 44461
                        nome: RENATA
                        ranking: 10
                      - frequencia: 42806
                        nome: FABIANA
                        ranking: 11
                      - frequencia: 41961
                        nome: PRISCILA
                        ranking: 12
                      - frequencia: 41834
                        nome: DANIELA
                        ranking: 13
                      - frequencia: 39404
                        nome: LUCIANA
                        ranking: 14
                      - frequencia: 35908
                        nome: TATIANE
                        ranking: 15
                      - frequencia: 33774
                        nome: CRISTIANE
                        ranking: 16
                      - frequencia: 29611
                        nome: SIMONE
                        ranking: 17
                      - frequencia: 29514
                        nome: VIVIANE
                        ranking: 18
                      - frequencia: 29371
                        nome: MICHELE
                        ranking: 19
                      - frequencia: 29085
                        nome: ELAINE
                        ranking: 20
                    localidade: '35'
                    observed_at_ms: 1790047033758
                    sexo: null
                    source_url: >-
                      https://servicodados.ibge.gov.br/api/v2/censos/nomes/ranking?decada=1990&localidade=35&sexo=F
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Ranking of the most frequent first names in the 2010 Census
            (/api/v2/censos/nomes/ranking), optionally for one birth decade, one
            locality (estado or municipio id) and one sex. Top 20 as the source
            publishes.


            The response contains the tool result directly.


            The provider identifies `items` as the primary payload key.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `frequencia` | number |  |

            | `nome` | string |  |

            | `ranking` | number |  |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.