> ## 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

# Focus expectations

> Market consensus for inflation, policy rate, GDP or FX by reference month/year or Copom meeting.

## Request contract

* **Method and path:** POST /apis/v1/bcb-gov-br/economic-data/focus-expectations
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/focus-expectations`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "bcb-gov-br.economic-data.focus-expectations",
  "method": "POST",
  "path": "/apis/v1/bcb-gov-br/economic-data/focus-expectations",
  "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": {
              "data": "2026-09-18",
              "data_referencia": "2027",
              "entity_set": "ExpectativasMercadoAnuais",
              "indicador": "Selic",
              "top": 5
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "base_calculo": {
              "description": "0: all respondents; 1: respondents of the last 30 days.\n\nProvider reference: allowed values [\"0\", \"1\"].",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "0",
                  "1"
                ]
              }
            },
            "data": {
              "description": "Exact survey date (`Data`), YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "data_referencia": {
              "description": "Exact `DataReferencia` value: MM/yyyy on monthly sets, yyyy on annual sets, Q/yyyy on quarterly sets.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "entity_set": {
              "default": "ExpectativaMercadoMensais",
              "description": "Olinda Expectativas entity set.\n\nProvider reference: allowed values [\"ExpectativaMercadoMensais\", \"ExpectativasMercadoAnuais\", \"ExpectativasMercadoTrimestrais\", \"ExpectativasMercadoSelic\", \"ExpectativasMercadoInflacao12Meses\", \"ExpectativasMercadoInflacao24Meses\", \"ExpectativasMercadoTop5Mensais\", \"ExpectativasMercadoTop5Anuais\", \"ExpectativaMercadoTop5Trimestral\", \"ExpectativasMercadoTop5Selic\", \"ExpectativasMercadoTop5Inflacao12Meses\", \"ExpectativasMercadoTop5Inflacao24Meses\", \"ExpectativasMercadoInstituicoes\", \"DatasReferencia\"]; default \"ExpectativaMercadoMensais\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "ExpectativaMercadoMensais",
                  "ExpectativasMercadoAnuais",
                  "ExpectativasMercadoTrimestrais",
                  "ExpectativasMercadoSelic",
                  "ExpectativasMercadoInflacao12Meses",
                  "ExpectativasMercadoInflacao24Meses",
                  "ExpectativasMercadoTop5Mensais",
                  "ExpectativasMercadoTop5Anuais",
                  "ExpectativaMercadoTop5Trimestral",
                  "ExpectativasMercadoTop5Selic",
                  "ExpectativasMercadoTop5Inflacao12Meses",
                  "ExpectativasMercadoTop5Inflacao24Meses",
                  "ExpectativasMercadoInstituicoes",
                  "DatasReferencia"
                ]
              }
            },
            "indicador": {
              "description": "Exact `Indicador` value, e.g. IPCA, Selic, PIB Total, Câmbio.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "reuniao": {
              "description": "Copom meeting on the Selic sets, e.g. R6/2028. Pattern: ^R[0-9]/[0-9]{4}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "skip": {
              "default": 0,
              "description": "skip\n\nProvider reference: minimum 0; default 0.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "min": 0
              }
            },
            "top": {
              "default": 50,
              "description": "top\n\nProvider reference: minimum 1; maximum 1000; default 50.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 1000,
                "min": 1
              }
            }
          },
          "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/bcb-gov-br.json POST /apis/v1/bcb-gov-br/economic-data/focus-expectations
openapi: 3.1.0
info:
  description: ''
  title: Banco Central do Brasil open data
  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:
    bcb-gov-br:
      description: ''
      title: Banco Central do Brasil open data
      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: edf117a93e133da791cf67abc30c140208ddd53704a4d60fb611ef7732fc8019
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
        seed_month: 2026-10
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/bcb-gov-br/economic-data/credit-rates
    - /apis/v1/bcb-gov-br/economic-data/datasets-search
    - /apis/v1/bcb-gov-br/economic-data/focus-expectations
    - /apis/v1/bcb-gov-br/economic-data/olinda-service
    - /apis/v1/bcb-gov-br/economic-data/payment-statistics
    - /apis/v1/bcb-gov-br/economic-data/pix-statistics
    - /apis/v1/bcb-gov-br/economic-data/ptax-currencies
    - /apis/v1/bcb-gov-br/economic-data/ptax-currency
    - /apis/v1/bcb-gov-br/economic-data/ptax-usd
    - /apis/v1/bcb-gov-br/economic-data/sgs-series
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:4edcea99b08503cd6d2aef834decda628d24b96c03a614ddb47811005eabf63d
    facts_hash: edf117a93e133da791cf67abc30c140208ddd53704a4d60fb611ef7732fc8019
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    seed_month: 2026-10
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: bcb-gov-br
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/bcb-gov-br/economic-data/focus-expectations:
    post:
      tags:
        - Banco Central do Brasil open data
      summary: Focus expectations
      description: >-
        Market consensus for inflation, policy rate, GDP or FX by reference
        month/year or Copom meeting.
      operationId: bcb-gov-br.economic-data.focus-expectations
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  data: '2026-09-18'
                  data_referencia: '2027'
                  entity_set: ExpectativasMercadoAnuais
                  indicador: Selic
                  top: 5
            schema:
              additionalProperties: true
              properties:
                base_calculo:
                  description: |-
                    0: all respondents; 1: respondents of the last 30 days.

                    Provider reference: allowed values ["0", "1"].
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - '0'
                      - '1'
                data:
                  description: >-
                    Exact survey date (`Data`), YYYY-MM-DD. Pattern:
                    ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                data_referencia:
                  description: >-
                    Exact `DataReferencia` value: MM/yyyy on monthly sets, yyyy
                    on annual sets, Q/yyyy on quarterly sets.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                entity_set:
                  default: ExpectativaMercadoMensais
                  description: >-
                    Olinda Expectativas entity set.


                    Provider reference: allowed values
                    ["ExpectativaMercadoMensais", "ExpectativasMercadoAnuais",
                    "ExpectativasMercadoTrimestrais",
                    "ExpectativasMercadoSelic",
                    "ExpectativasMercadoInflacao12Meses",
                    "ExpectativasMercadoInflacao24Meses",
                    "ExpectativasMercadoTop5Mensais",
                    "ExpectativasMercadoTop5Anuais",
                    "ExpectativaMercadoTop5Trimestral",
                    "ExpectativasMercadoTop5Selic",
                    "ExpectativasMercadoTop5Inflacao12Meses",
                    "ExpectativasMercadoTop5Inflacao24Meses",
                    "ExpectativasMercadoInstituicoes", "DatasReferencia"];
                    default "ExpectativaMercadoMensais".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - ExpectativaMercadoMensais
                      - ExpectativasMercadoAnuais
                      - ExpectativasMercadoTrimestrais
                      - ExpectativasMercadoSelic
                      - ExpectativasMercadoInflacao12Meses
                      - ExpectativasMercadoInflacao24Meses
                      - ExpectativasMercadoTop5Mensais
                      - ExpectativasMercadoTop5Anuais
                      - ExpectativaMercadoTop5Trimestral
                      - ExpectativasMercadoTop5Selic
                      - ExpectativasMercadoTop5Inflacao12Meses
                      - ExpectativasMercadoTop5Inflacao24Meses
                      - ExpectativasMercadoInstituicoes
                      - DatasReferencia
                indicador:
                  description: >-
                    Exact `Indicador` value, e.g. IPCA, Selic, PIB Total,
                    Câmbio.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                reuniao:
                  description: >-
                    Copom meeting on the Selic sets, e.g. R6/2028. Pattern:
                    ^R[0-9]/[0-9]{4}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                skip:
                  default: 0
                  description: |-
                    skip

                    Provider reference: minimum 0; default 0.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    min: 0
                top:
                  default: 50
                  description: |-
                    top

                    Provider reference: minimum 1; maximum 1000; default 50.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 1000
                    min: 1
              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: 2
                    entity: ExpectativasMercadoAnuais
                    next_skip: null
                    observed_at_ms: 1790048485899
                    rows:
                      - Data: '2026-09-18'
                        DataReferencia: '2027'
                        DesvioPadrao: 0.7317
                        Indicador: Selic
                        IndicadorDetalhe: null
                        Maximo: 13.75
                        Media: 11.8717
                        Mediana: 12
                        Minimo: 9.75
                        baseCalculo: 1
                        numeroRespondentes: 76
                      - Data: '2026-09-18'
                        DataReferencia: '2027'
                        DesvioPadrao: 0.7469
                        Indicador: Selic
                        IndicadorDetalhe: null
                        Maximo: 14
                        Media: 11.9874
                        Mediana: 12
                        Minimo: 9.75
                        baseCalculo: 0
                        numeroRespondentes: 139
                    servico: Expectativas
                    skip: 0
                    top: 5
                    url: >-
                      https://olinda.bcb.gov.br/olinda/servico/Expectativas/versao/v1/odata/ExpectativasMercadoAnuais?$filter=Indicador%20eq%20%27Selic%27%20and%20DataReferencia%20eq%20%272027%27%20and%20Data%20eq%20%272026-09-18%27&$orderby=Data%20desc&$top=5&$skip=0&$format=json
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Focus survey market expectations from the Olinda Expectativas
            service, one OData entity set per call (`entity_set`:
            ExpectativaMercadoMensais monthly, ExpectativasMercadoAnuais annual,
            ExpectativasMercadoTrimestrais quarterly, ExpectativasMercadoSelic
            per Copom meeting, ExpectativasMercadoInflacao12Meses/24Meses, the
            Top5 variants, ExpectativasMercadoInstituicoes, DatasReferencia).
            Optional filters: `indicador` (IPCA, Selic, PIB Total, Câmbio,
            IGP-M, ...), `data_referencia` (MM/yyyy for monthly, yyyy for
            annual, e.g. 2027), `reuniao` (Copom meeting, e.g. R6/2028), `data`
            (survey date, ISO), `base_calculo` (0 all respondents, 1 last 30
            days). Rows are returned as served (Portuguese property names:
            Indicador, Data, DataReferencia, Media, Mediana, DesvioPadrao,
            Minimo, Maximo, numeroRespondentes, baseCalculo, ...), newest survey
            date first, paged with `top`/`skip`. The server never truncates, so
            `top` is always sent.


            The response contains the tool result directly.


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


            | Documented field | Provider type | Description |

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

            | `AnoMes` | number |  |

            | `Data` | string |  |

            | `DataReferencia` | string |  |

            | `DesvioPadrao` | number |  |

            | `Estado` | string |  |

            | `Indicador` | string |  |

            | `InstituicaoFinanceira` | string |  |

            | `Maximo` | number |  |

            | `Media` | number |  |

            | `Mediana` | number |  |

            | `Mes` | string |  |

            | `Minimo` | number |  |

            | `Modalidade` | string |  |

            | `Municipio` | string |  |

            | `Municipio_Ibge` | number |  |

            | `Posicao` | number |  |

            | `Quantidade` | number |  |

            | `Reuniao` | string |  |

            | `TaxaJurosAoAno` | number |  |

            | `TaxaJurosAoMes` | number |  |

            | `Total` | number |  |

            | `Valor` | number |  |

            | `baseCalculo` | number |  |

            | `numeroRespondentes` | 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.