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

# Benchmarks de FCI

> Catálogo de benchmarks disponibles para comparaciones: BADLAR, TAMAR, CER, A3500, MEP, CCL y OFICIAL_MINORISTA, con su tipo (rate/quote) y fuente.

<Note>
  Lista los benchmarks disponibles para comparar contra fondos: BADLAR, TAMAR, CER, A3500, MEP, CCL y OFICIAL\_MINORISTA. Cada entrada informa su tipo (`rate` o `quote`), su fuente y la unidad de tasa cuando aplica. Requiere el scope `fci:read`.
</Note>

Este endpoint no recibe parámetros.

## Ejemplo de Solicitud

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.doctacapital.com.ar/api/v1/fci/benchmarks" \
    -H "Authorization: Bearer $DOCTA_TOKEN"
  ```
</RequestExample>

## Respuesta Exitosa

<ResponseField name="benchmarks" type="array">
  Lista de benchmarks disponibles.
</ResponseField>

<ResponseField name="benchmarks[].name" type="string">
  Nombre del benchmark (ej., "CER", "BADLAR").
</ResponseField>

<ResponseField name="benchmarks[].type" type="string">
  Tipo de benchmark: `rate` (tasa) o `quote` (cotización).
</ResponseField>

<ResponseField name="benchmarks[].source" type="string">
  Fuente de los datos (ej., "BCRA").
</ResponseField>

<ResponseField name="benchmarks[].rate_unit" type="string">
  Unidad de la tasa para benchmarks de tipo `rate` (ej., "annual\_pct"). Ausente en los de tipo `quote`.
</ResponseField>

<ResponseField name="total" type="integer">
  Cantidad total de benchmarks.
</ResponseField>

## Ejemplo de Respuesta Exitosa

<ResponseExample>
  ```json Success theme={null}
  {
    "benchmarks": [
      {
        "name": "BADLAR",
        "type": "rate",
        "source": "BCRA",
        "rate_unit": "annual_pct"
      },
      {
        "name": "CER",
        "type": "quote",
        "source": "BCRA"
      },
      {
        "name": "MEP",
        "type": "quote",
        "source": "DB"
      }
    ],
    "total": 7
  }
  ```
</ResponseExample>


## OpenAPI

````yaml GET /api/v1/fci/benchmarks
openapi: 3.1.0
info:
  title: API de Docta
  description: >-
    API de mercado argentino: bonos (instrumentos, cashflows, curvas/yields) y
    FCI (screener, series, performance, comparaciones y analytics de industria).
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.doctacapital.com.ar
security: []
paths:
  /api/v1/fci/benchmarks:
    get:
      tags:
        - FCI
      description: >-
        Catálogo de benchmarks disponibles para comparaciones: BADLAR, TAMAR,
        CER, A3500, MEP, CCL y OFICIAL_MINORISTA, con su tipo (rate/quote) y
        fuente.
      parameters: []
      responses:
        '200':
          description: Catálogo de benchmarks
          content:
            application/json:
              schema:
                type: object
              example:
                benchmarks:
                  - name: BADLAR
                    type: rate
                    source: BCRA
                    rate_unit: annual_pct
                  - name: TAMAR
                    type: rate
                    source: BCRA
                    rate_unit: annual_pct
                  - name: CER
                    type: quote
                    source: BCRA
                total: 7
        '401':
          description: Autenticación requerida
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: 'Permisos insuficientes: requiere el scope fci:read'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Parámetros inválidos
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Error:
      required:
        - type
        - title
        - status
        - detail
        - correlation_id
      type: object
      properties:
        type:
          description: El identificador del tipo de error
          type: string
          example: /errors/authentication-required
        title:
          description: Una breve descripción del error
          type: string
          example: Invalid client credentials
        status:
          description: El código de estado HTTP
          type: integer
          example: 401
        detail:
          description: Una descripción detallada del error
          type: string
          example: Invalid client credentials
        correlation_id:
          description: Un identificador único para rastrear esta solicitud de error
          type: string
          format: uuid
          example: 2eb07802-94de-468a-b70f-75a49f3e9516
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````