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

# List Funds



## OpenAPI

````yaml /api-reference/openapi.json get /v1/funds
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:
  /v1/funds:
    get:
      tags:
        - Funds
      summary: List Funds
      operationId: searchFunds
      parameters:
        - name: q
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Q
          description: Fuzzy match on ticker or name.
        - name: type
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Type
          description: Security type, e.g. ETF or FUND.
        - name: country
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Country
        - name: exchange
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Exchange
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Cursor
          description: Opaque keyset cursor (a code).
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FundList'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    FundList:
      properties:
        data:
          items:
            $ref: '#/components/schemas/Fund'
          type: array
          title: Data
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
          description: Pass as ?cursor= to fetch the next page. Null when no more.
      type: object
      required:
        - data
      title: FundList
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Fund:
      properties:
        code:
          type: string
          title: Code
          description: Bare ticker, e.g. SPY.
        market:
          type: string
          title: Market
          description: Market/exchange code. Always US for now.
          default: US
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        country:
          anyOf:
            - type: string
            - type: 'null'
          title: Country
        exchange:
          anyOf:
            - type: string
            - type: 'null'
          title: Exchange
        currency:
          anyOf:
            - type: string
            - type: 'null'
          title: Currency
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
        isin:
          anyOf:
            - type: string
            - type: 'null'
          title: Isin
        is_inactive:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Inactive
        inactive_date:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Inactive Date
        min_return_date:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Min Return Date
        max_return_date:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Max Return Date
      type: object
      required:
        - code
      title: Fund
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: Your Fruit Stand API key from app.fruitstand.dev.

````