Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Spiral Stake — Read API (v1) App API
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:5001
description: Local
tags:
- name: App
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
tags:
- App
operationId: getV1AppMarkets
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Partner API key: `Authorization: Bearer <key>`.'