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

# Get currency history



## OpenAPI

````yaml get /v1/currencies/{code}/history
openapi: 3.0.0
info:
  title: Corebanq - Currencies API
  description: API endpoints for currency management and exchange rates
  version: 1.0.0
servers: []
security: []
paths:
  /v1/currencies/{code}/history:
    get:
      summary: Get currency history
      parameters:
        - name: code
          in: path
          required: true
          schema:
            type: string
            minLength: 3
            maxLength: 3
        - name: start_date
          in: query
          required: true
          schema:
            type: string
            format: date
        - name: end_date
          in: query
          required: true
          schema:
            type: string
            format: date
        - name: base
          in: query
          required: true
          schema:
            type: string
            minLength: 3
            maxLength: 3
      responses:
        '200':
          description: Historical exchange rates
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurrencyHistoryResponse'
components:
  schemas:
    CurrencyHistoryResponse:
      type: object
      properties:
        currency:
          type: string
        base:
          type: string
        rates:
          type: array
          items:
            type: object
            properties:
              date:
                type: string
                format: date
              rate:
                type: number

````