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

# CoinGecko price chart (on-demand proxy)



## OpenAPI

````yaml /api-reference/openapi.json get /v1/prices/chart
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/prices/chart:
    get:
      summary: CoinGecko price chart (on-demand proxy)
      parameters:
        - name: coinId
          in: query
          required: true
          schema:
            type: string
        - name: days
          in: query
          required: false
          schema:
            type: integer
            default: 7
        - name: currency
          in: query
          required: false
          schema:
            type: string
            default: usd
      responses:
        '200':
          description: OK
        '400':
          description: Bad request
        '503':
          description: Upstream unavailable

````