Spiral Stake Markets API

The Markets API from Spiral Stake — 3 operation(s) for markets.

GitHub OpenAPI

Operations 3

GET /v1/markets/borrow-apy-history Borrow-APY history for all markets (charts) #
GET /v1/markets/{id}/borrow-apy-history Borrow-APY history for one market #
GET /v1/markets/{id}/incentive-history Borrow-incentive (Merkl) APR history for one market #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/spiralstake-xyz:spiralstake-xyz-markets-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

spiralstake-xyz-markets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Spiral Stake — Read API (v1) Markets 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: Markets
paths:
  /v1/markets/borrow-apy-history:
    get:
      summary: Borrow-APY history for all markets (charts)
      responses:
        '200':
          description: OK
      tags:
      - Markets
      operationId: getV1MarketsBorrowApyHistory
      x-operation-id-source: derived
  /v1/markets/{id}/borrow-apy-history:
    get:
      summary: Borrow-APY history for one market
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          pattern: ^0x[0-9a-fA-F]{64}$
        description: Morpho market id.
      responses:
        '200':
          description: OK
      tags:
      - Markets
      operationId: getV1MarketsByIdBorrowApyHistory
      x-operation-id-source: derived
  /v1/markets/{id}/incentive-history:
    get:
      summary: Borrow-incentive (Merkl) APR history for one market
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          pattern: ^0x[0-9a-fA-F]{64}$
        description: Morpho market id.
      responses:
        '200':
          description: OK
      tags:
      - Markets
      operationId: getV1MarketsByIdIncentiveHistory
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Partner API key: `Authorization: Bearer <key>`.'