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

# Healthz

> Liveness + data-freshness. Returns 503 if the newest as_of_date is older than
freshness_max_age_hours (a silent-stale-data guard for monitoring/alerts).



## OpenAPI

````yaml /api-reference/openapi.json get /healthz
openapi: 3.1.0
info:
  title: Fruit Stand Fund Returns API
  description: Trailing and calendar-year total returns for US mutual funds and ETFs.
  version: 1.0.0
servers:
  - url: https://api.fruitstand.dev
    description: Production
security:
  - apiKey: []
tags:
  - name: Meta
    description: Service liveness and data-freshness checks. No API key required.
  - name: Funds
    description: >-
      Search the universe of ~32,000 US mutual funds and ETFs and fetch fund
      metadata by ticker.
  - name: Returns
    description: >-
      Trailing total returns (1d through 20y, plus YTD and since-inception) and
      calendar-year returns — for a single fund or batched across many in one
      call.
paths:
  /healthz:
    get:
      tags:
        - Meta
      summary: Healthz
      description: >-
        Liveness + data-freshness. Returns 503 if the newest as_of_date is older
        than

        freshness_max_age_hours (a silent-stale-data guard for
        monitoring/alerts).
      operationId: healthz_healthz_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: Your Fruit Stand API key from app.fruitstand.dev.

````