> ## 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.

# List all age groups

> Get all 8 CPF age groups with their contribution and distribution rates.

`GET /age-groups`

## OpenAPI

````yaml openapi.json get /age-groups
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:
  /age-groups:
    get:
      operationId: getAgeGroups
      summary: List all age groups
      description: Get all 8 CPF age groups with their contribution and distribution rates.
      tags:
        - Age Groups
      responses:
        "200":
          description: List of age groups
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/AgeGroup"
        "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
    DistributionResult:
      type: object
      properties:
        OA:
          type: number
          description: Ordinary Account allocation
        SA:
          type: number
          description: Special Account allocation
        MA:
          type: number
          description: MediSave Account allocation
      required:
        - OA
        - SA
        - MA
    ContributionRate:
      type: object
      properties:
        employee:
          type: number
          description: Employee contribution rate (decimal)
        employer:
          type: number
          description: Employer contribution rate (decimal)
      required:
        - employee
        - employer
    AgeGroup:
      type: object
      properties:
        description:
          type: string
          description: Age group description (e.g., '35 and below')
        minAge:
          type: integer
          description: Minimum age (inclusive)
        maxAge:
          type: integer
          description: Maximum age (exclusive, omitted for highest group)
        contributionRate:
          $ref: "#/components/schemas/ContributionRate"
        distributionRate:
          $ref: "#/components/schemas/DistributionResult"
      required:
        - description
        - minAge
        - contributionRate
        - distributionRate
````
