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

# Full composed Market[] for the v2-client app (raw domain model)

> The internal Market model the app consumes in place of its own client-side composition. Unlike /v1/strategies (curated, string APYs), values keep full precision: BigNumber is tagged as {"$bn":"…"} and bigint as {"$bigint":"…"}; revive both client-side before use.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/app/markets
openapi: 3.1.0
info:
  title: Spiral Stake — Read API (v1)
  version: 0.1.0
  description: >-
    Read-only composition authority for Spiral Stake strategy data. Serves the
    frozen /strategies contract (agents + app) plus the full app read surface.
    All numbers are composed from warm cache; a stale/failed upstream serves
    last-good with a visible stale age.
servers:
  - url: https://api.spiralstake.xyz
    description: Production
  - url: http://localhost:8787
    description: Local
security: []
tags:
  - name: Public
    description: Open read endpoints — no key required.
  - name: Partner
    description: 'Keyed integration API — Authorization: Bearer <key>.'
paths:
  /v1/app/markets:
    get:
      summary: Full composed Market[] for the v2-client app (raw domain model)
      description: >-
        The internal Market model the app consumes in place of its own
        client-side composition. Unlike /v1/strategies (curated, string APYs),
        values keep full precision: BigNumber is tagged as {"$bn":"…"} and
        bigint as {"$bigint":"…"}; revive both client-side before use.
      responses:
        '200':
          description: OK
        '503':
          description: Not ready
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        type: string
                      details: {}
                    required:
                      - code
                      - message
                      - correlationId

````