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

# List treasury yield rates

> Returns yield rates filtered by maturity, curve type, and date range. Paginated.



## OpenAPI

````yaml /openapi/v1.yaml get /v1/treasury/yields
openapi: 3.1.0
info:
  title: Vintl API
  version: 1.0.0
  description: >
    Point-in-time macro-economic and treasury data API.


    The killer feature: `?as_of=DATE` returns what economic data was known at
    any historical date.

    Requires Pro plan or higher — free plan returns latest data only.
  contact:
    name: Vintl Support
    url: https://vintl.io
  license:
    name: Proprietary
servers:
  - url: https://api.vintl.io
    description: Production
  - url: http://localhost:8080
    description: Local development
security:
  - ApiKeyAuth: []
tags:
  - name: Health
    description: Liveness and readiness probes
  - name: Auth
    description: API key validation and plan info
  - name: Treasury
    description: U.S. Treasury yield curve data (1990-present, never revised)
  - name: Macro
    description: Economic indicators with point-in-time vintage tracking
  - name: Series
    description: Series discovery and metadata
  - name: Insider
    description: SEC Form 4 insider trading data with cluster detection
paths:
  /v1/treasury/yields:
    get:
      tags:
        - Treasury
      summary: List treasury yield rates
      description: >-
        Returns yield rates filtered by maturity, curve type, and date range.
        Paginated.
      parameters:
        - name: maturity
          in: query
          schema:
            type: string
            enum:
              - 1M
              - 2M
              - 3M
              - 4M
              - 6M
              - 1Y
              - 2Y
              - 3Y
              - 5Y
              - 7Y
              - 10Y
              - 20Y
              - 30Y
          description: Filter by specific maturity
        - name: curve_type
          in: query
          schema:
            type: string
            enum:
              - PAR
              - TIPS
            default: PAR
        - $ref: '#/components/parameters/from'
        - $ref: '#/components/parameters/to'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/cursor'
      responses:
        '200':
          description: Paginated yield rates
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    example: yield_series
                  request_id:
                    type: string
                  status:
                    type: string
                  results:
                    type: array
                    items:
                      $ref: '#/components/schemas/YieldRate'
                  results_count:
                    type: integer
                  has_more:
                    type: boolean
                  next_cursor:
                    type: string
        '400':
          description: Invalid maturity, curve_type, or date format
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  parameters:
    from:
      name: from
      in: query
      schema:
        type: string
        format: date
      description: Start date (YYYY-MM-DD)
    to:
      name: to
      in: query
      schema:
        type: string
        format: date
      description: End date (YYYY-MM-DD)
    limit:
      name: limit
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 1000
        default: 100
    cursor:
      name: cursor
      in: query
      schema:
        type: string
      description: Opaque pagination cursor from previous response
  schemas:
    YieldRate:
      type: object
      properties:
        trade_date:
          type: string
          format: date-time
          example: '2026-03-24T00:00:00Z'
        maturity:
          type: string
          enum:
            - 1M
            - 2M
            - 3M
            - 4M
            - 6M
            - 1Y
            - 2Y
            - 3Y
            - 5Y
            - 7Y
            - 10Y
            - 20Y
            - 30Y
          example: 10Y
        rate:
          type: string
          description: Decimal rate as string (never float)
          example: '4.39'
        curve_type:
          type: string
          enum:
            - PAR
            - TIPS
          example: PAR
        source:
          type: string
          example: TREASURY
    Problem:
      type: object
      description: RFC 9457 Problem Details (Content-Type application/problem+json)
      properties:
        type:
          type: string
          format: uri
          example: https://macrodata.dev/errors/not-found
        title:
          type: string
          example: Not Found
        status:
          type: integer
          example: 404
        detail:
          type: string
          example: series 'INVALID' not found
        instance:
          type: string
          example: /v1/series/INVALID
        request_id:
          type: string
          example: req_19d40c11691b60ece4cc73351271260
        field:
          type: string
          description: Which field caused the error (on validation errors)
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://macrodata.dev/errors/unauthorized
            title: Unauthorized
            status: 401
            detail: API key is required. Set the X-API-Key header.
            instance: /v1/ping
    RateLimited:
      description: Rate limit exceeded
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds until rate limit resets
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key prefixed with `mda_live_sk_`

````