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

# Get recent Solana slot duration

> Fetches the duration of a recent Solana slot (in milliseconds) derived from RPC performance samples over approximately the last hour



## OpenAPI

````yaml /kamino-api.json get /slots/duration
openapi: 3.1.0
info:
  version: 1.0.0
  title: Kamino Public API
  description: >
    The Kamino API provides a comprehensive way to interact with Kamino without
    reading directly from the blockchain.


    The API also provides the ability to fetch data that might not be available
    from just reading the chain.


    The API is rate-limited for unauthenticated users. If you feel you need to
    make more requests or run into rate-limit issues, please reach out.
servers:
  - url: https://api.kamino.finance
security: []
paths:
  /slots/duration:
    get:
      tags:
        - Other
      summary: Get recent Solana slot duration
      description: >-
        Fetches the duration of a recent Solana slot (in milliseconds) derived
        from RPC performance samples over approximately the last hour
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SlotDuration'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    SlotDuration:
      type: object
      properties:
        recentSlotDurationInMs:
          type: number
          description: >-
            Slot duration in milliseconds derived from recent RPC performance
            samples over approximately the last hour
          example: 400
      required:
        - recentSlotDurationInMs
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message for internal server failure
          example: An internal error occurred
      required:
        - error
      description: Internal server error response (500)
      example:
        error: An internal error occurred

````