> ## Documentation index
> Fetch the complete documentation index at: https://docs.simplycpf.com/llms.txt
> Ask it with GET https://docs.simplycpf.com/ask?q=<keywords or question>. Short keywords rank best.
> Use these to discover all available pages before exploring further.

# Calculate SMRA rate

> Calculate the Special/MediSave/Retirement Account (SMRA) rate based on SGS yield.

`GET /interest-rates/smra`

## OpenAPI

````yaml openapi.json get /interest-rates/smra
openapi: 3.1.0
info:
  title: SimplyCPF API
  version: 1.0.0
  description: "Public SimplyCPF calculation and reference API. No authentication
    required. Amounts are in SGD. Rate limit: 10 requests per 10 seconds per
    client IP. Results are estimates, not financial advice."
  contact:
    name: SimplyCPF
    url: https://simplycpf.com
servers:
  - url: https://simplycpf.com/api/cpf
    description: Production
  - url: http://localhost:3000/api/cpf
    description: Local development
security: []
tags:
  - name: Calculation
    description: Calculate CPF contributions and projections
  - name: Age Groups
    description: Age group information and lookups
  - name: Income Ceiling
    description: CPF income ceiling data
  - name: Interest Rates
    description: CPF interest rates and SGS yields
  - name: Investment
    description: Investment comparison tools
paths:
  /interest-rates/smra:
    get:
      operationId: calculateSmra
      summary: Calculate SMRA rate
      description: Calculate the Special/MediSave/Retirement Account (SMRA) rate based
        on SGS yield.
      tags:
        - Interest Rates
      parameters:
        - name: sgsYield
          in: query
          required: true
          description: SGS yield percentage (non-negative number)
          schema:
            type: number
            minimum: 0
          example: 2.5
      responses:
        "200":
          description: SMRA calculation result
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/SmraResponse"
        "400":
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "429":
          $ref: "#/components/responses/RateLimited"
components:
  responses:
    RateLimited:
      description: Rate limit exceeded. Production CPF API endpoints allow 10 requests
        per 10 seconds per client IP.
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/Error"
          example:
            error: Rate limit exceeded
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
      required:
        - error
    SmraResponse:
      type: object
      properties:
        sgsYield:
          type: number
          description: Input SGS yield
        peggedRate:
          type: number
          description: Pegged rate (SGS yield + markup)
        floorApplied:
          type: boolean
          description: Whether floor rate was applied
        actualRate:
          type: number
          description: Actual SMRA rate
      required:
        - sgsYield
        - peggedRate
        - floorApplied
        - actualRate
````
