Spiral Stake Strategies API
The Strategies API from Spiral Stake — 1 operation(s) for strategies.
The Strategies API from Spiral Stake — 1 operation(s) for strategies.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/spiralstake-xyz:spiralstake-xyz-strategies-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Spiral Stake — Read API (v1) Strategies 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: Strategies
paths:
/v1/strategies/{id}:
get:
summary: One strategy by market id
parameters:
- name: id
in: path
required: true
schema:
type: string
pattern: ^0x[0-9a-fA-F]{64}$
description: Morpho market id.
responses:
'200':
description: Strategy
content:
application/json:
schema:
type: object
description: Frozen /strategies contract (v1). Raw facts; the only verdict is under spiralHints.
properties:
id:
type: string
description: Morpho market id (0x + 64 hex).
chainId:
type: integer
correlated:
type: boolean
curator:
type: string
nullable: true
example: Longbow
description: 'Who curates the market the collateral is posted on. Present only on partner-curated markets (Longbow / NetNet Credit: the equity vaults'' stock markets and Longbow''s perp markets) — distinguishes two vaults on the same ticker. Absent on Spiral''s own markets.'
collateral:
type: object
description: Collateral token facts; `description` is the curated plain-English account of what it is and how it earns.
loan:
type: object
collateralApyPct:
type: string
collateralApySource:
type: string
enum:
- pendle
- defillama
- royco
- stablewatch
- onchain
- none
yieldSustainabilityPct:
type: object
pointsIncentive:
type: object
nullable: true
description: 'Off-chain points program on the collateral (e.g. Tori Cores). Not a yield. Accrues to the position proxy on the leveraged balance: effective = perDayPerCollateralToken x leverage x tokens.'
properties:
program:
type: string
example: Tori Cores
perDayPerCollateralToken:
type: number
example: 5
borrowApyPct:
type: string
quarterlyBorrowApyPct:
type: string
borrowIncentive:
type: object
nullable: true
netBorrowApyPct:
type: string
supplyUsd:
type: number
liquidityUsd:
type: number
publicAllocatorLiquidityUsd:
type: number
maxLeverage:
type: string
utilizationPct:
type: string
leverageLadder:
type: array
items:
type: object
properties:
leverage:
type: string
example: '3.0'
ltvPct:
type: string
example: '66.7'
leverageApyPct:
type: string
example: '18.96'
required:
- leverage
- ltvPct
- leverageApyPct
defaultLeverage:
type: object
properties:
leverage:
type: string
example: '3.0'
ltvPct:
type: string
example: '66.7'
leverageApyPct:
type: string
example: '18.96'
required:
- leverage
- ltvPct
- leverageApyPct
historicalLeverageApyPct:
type: object
ltvPct:
type: object
properties:
liquidation:
type: string
max:
type: string
oracle:
type: object
exitLiquidity:
type: object
noSwapRoute:
type: boolean
spiralHints:
type: object
description: Optional, namespaced Spiral opinion; carries its thresholds.
freshness:
type: object
properties:
borrow:
type: object
properties:
asOf:
type: string
format: date-time
staleAfterSec:
type: integer
staleForSec:
type: integer
description: Seconds past the freshness budget; present only when stale.
required:
- asOf
- staleAfterSec
collateralApy:
type: object
properties:
asOf:
type: string
format: date-time
staleAfterSec:
type: integer
staleForSec:
type: integer
description: Seconds past the freshness budget; present only when stale.
required:
- asOf
- staleAfterSec
exitLiquidity:
type: object
properties:
asOf:
type: string
format: date-time
staleAfterSec:
type: integer
staleForSec:
type: integer
description: Seconds past the freshness budget; present only when stale.
required:
- asOf
- staleAfterSec
links:
type: object
required:
- id
- chainId
- correlated
- collateral
- loan
- collateralApyPct
- collateralApySource
- borrowApyPct
- netBorrowApyPct
- maxLeverage
- leverageLadder
- defaultLeverage
- ltvPct
- exitLiquidity
- noSwapRoute
- freshness
'400':
description: Invalid id
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
'404':
description: Not found
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:
- Strategies
operationId: getV1StrategiesById
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Partner API key: `Authorization: Bearer <key>`.'