Backtesting Arena Volatility API

Live ATR volatility phase snapshots (low/normal/high/expansion) for 30 assets daily + phase-aware strategy recommendations (top-3 by win-rate in current phase). Phase Snapshots = Free. Recommendations = Pro.

GitHub OpenAPI

Operations 4

GET /api/v1/volatility/phase-snapshots Live ATR volatility phase snapshots #
GET /api/v1/volatility/recommendations Strategy recommendations for current volatility phase #
GET /api/v1/vol/iv/{currency}/latest Deribit IV Snapshot — latest (BTC or ETH) #
GET /api/v1/vol/iv/{currency}/history Deribit IV Snapshot — historical time series (BTC or ETH) #

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/tradingstrategies-work:tradingstrategies-work-volatility-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

tradingstrategies-work-volatility-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Backtesting Arena — Public Volatility API
  description: 'Battle-tested market intelligence for humans and AI agents — every claim backtested, versioned, and explainable. Evidence and base rates, never financial advice.


    **No execution, no custody:** No tool on this server can place an order, access an exchange account, or take a position — the platform holds no custody and executes no trades. Writes are limited to alert subscriptions and saved backtests; paid endpoints charge a fixed, pre-quoted per-call fee and nothing else.


    Programmatic access to daily Bitcoin/crypto cycle scoring, on-chain indicators, aggregated strategy/sentiment insights, and on-demand backtests. Three channels:


    - **REST** — Bearer-Token-Auth, this spec. Available now.

    - **MCP** — same Bearer-Tokens, 104 tools at https://tradingstrategies.work/api/mcp. Available now.

    - **x402** — pay-per-call USDC on Base, no account. 28 endpoints under /api/v1/agent/* from $0.01-$0.50. Available now.


    **Your agent can produce, not just consume:** every authenticated backtest (POST /api/v1/backtests/run, MCP arena_run_backtest) is persisted and feeds the public evidence library (Strategy Insights, Edge Library, sentiment) — agent runs count exactly like human runs. x402-anonymous runs stay ephemeral.


    Tiers: Free / API Pro €9,99/Mo / API Power €29,99/Mo. Live-Subscriptions (signal alerts, cycle changes, etc.) push updates via polling or webhook. Get a Free-tier key at /dashboard/account/api-keys (no credit-card required).'
  version: 1.0.0
  contact:
    name: Backtesting Arena
    url: https://tradingstrategies.work
    email: info@tradingstrategies.work
  license:
    name: See terms
    url: https://tradingstrategies.work/agb
  x-logo:
    url: https://tradingstrategies.work/og-image.png
servers:
- url: https://tradingstrategies.work
  description: Production
tags:
- name: Volatility
  description: Live ATR volatility phase snapshots (low/normal/high/expansion) for 30 assets daily + phase-aware strategy recommendations (top-3 by win-rate in current phase). Phase Snapshots = Free. Recommendations = Pro.
paths:
  /api/v1/volatility/phase-snapshots:
    get:
      summary: Live ATR volatility phase snapshots
      description: Current volatility phase (low/normal/high/expansion) for all tracked crypto assets (Top-10 Crypto). Based on ATR-14 vs 200d rolling median. Updated daily at 08:00 UTC. Use with /api/v1/volatility/recommendations to select phase-appropriate strategies. [Free tier]
      operationId: getV1VolatilityPhaseSnapshots
      tags:
      - Volatility
      security:
      - bearerAuth: []
      parameters:
      - name: asset_type
        in: query
        required: false
        schema:
          type: string
          enum:
          - crypto
          - tokenized_equity
          - tokenized_etf
          - commodities
        description: Filter by asset class. Omit for all 30 assets.
      - name: pair
        in: query
        required: false
        schema:
          type: string
        description: Filter to a single pair, e.g. "BTCUSDT". Omit for all tracked pairs — asking for one asset and discarding the rest is the expensive way round.
      responses:
        '200':
          description: Phase snapshots array + count.
          content:
            application/json:
              schema:
                type: object
                properties:
                  snapshots:
                    type: array
                    items:
                      type: object
                      properties:
                        pair:
                          type: string
                          example: BTCUSDT
                        asset_type:
                          type: string
                          enum:
                          - crypto
                          - tokenized_equity
                          - tokenized_etf
                          - commodities
                        current_phase:
                          type: string
                          enum:
                          - low
                          - normal
                          - high
                          - expansion
                        atr_value:
                          type:
                          - number
                          - 'null'
                        atr_median:
                          type:
                          - number
                          - 'null'
                        snapshot_date:
                          type: string
                          format: date
                  count:
                    type: integer
                  tier:
                    type: string
        '400':
          description: Invalid input — fehlt Pflichtfeld oder Wert außerhalb des erlaubten Bereichs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthenticated — kein gültiger Bearer-Token im Authorization-Header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Tier-Insufficient — Endpoint braucht höheren API-Tier. Response enthält upgrade_url.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not-Found — Resource existiert nicht oder gehört nicht dem aktuellen User.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate-Limit überschritten — Tier-Quota (hourly/daily) oder Per-Endpoint-Quota erreicht. Retry-After-Header gesetzt.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Upstream-Failure — Datenquelle nicht erreichbar (Binance, EODHD, etc.).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-min-tier: free
  /api/v1/volatility/recommendations:
    get:
      summary: Strategy recommendations for current volatility phase
      description: Top-3 strategies ranked by historical win-rate for the current ATR phase of a given pair. Phase detected from latest daily snapshot. Only strategies with ≥ 20 trades in the current phase are included (statistical reliability). Reference strategies (B&H, DCA) excluded. Use to answer "which strategies have historically worked best for BTC in the current regime?" [API Pro tier]
      operationId: getV1VolatilityRecommendations
      tags:
      - Volatility
      security:
      - bearerAuth: []
      parameters:
      - name: pair
        in: query
        required: true
        schema:
          type: string
          example: BTCUSDT
        description: Asset pair to get recommendations for.
      - name: asset_type
        in: query
        required: false
        schema:
          type: string
          enum:
          - crypto
          - tokenized_equity
          - tokenized_etf
          - commodities
          default: crypto
        description: Asset class of the pair.
      responses:
        '200':
          description: Current phase + top-3 strategy recommendations.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Invalid input — fehlt Pflichtfeld oder Wert außerhalb des erlaubten Bereichs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthenticated — kein gültiger Bearer-Token im Authorization-Header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Tier-Insufficient — Endpoint braucht höheren API-Tier. Response enthält upgrade_url.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not-Found — Resource existiert nicht oder gehört nicht dem aktuellen User.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate-Limit überschritten — Tier-Quota (hourly/daily) oder Per-Endpoint-Quota erreicht. Retry-After-Header gesetzt.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Upstream-Failure — Datenquelle nicht erreichbar (Binance, EODHD, etc.).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-min-tier: api_pro
  /api/v1/vol/iv/{currency}/latest:
    get:
      summary: Deribit IV Snapshot — latest (BTC or ETH)
      description: 'Latest Deribit volatility snapshot as SHAPE and RANK, not levels: term_structure (ATM implied vol 30/60/90/180d as slope, contango/backwardation and rank per tenor), dvol_rank_1y (DVOL rank 0..1 in our own history) and vol_risk_premium_30d (trailing: ATM IV 30d minus realized vol of the past 30 days, in percentage points; premium_definition). DVOL, ATM-IV and realized-vol values are not returned (licensed exchange data, see disclosure). Backfill: BTC from 2021-04-01, ETH from 2022-02-15. Updated daily at 00:05 UTC. [Free tier]'
      operationId: getIvSnapshotLatest
      tags:
      - Volatility
      security:
      - bearerAuth: []
      parameters:
      - name: currency
        in: path
        required: true
        schema:
          type: string
          enum:
          - BTC
          - ETH
        description: 'Currency: BTC or ETH'
      responses:
        '200':
          description: Latest IV snapshot.
        '400':
          description: Invalid input — fehlt Pflichtfeld oder Wert außerhalb des erlaubten Bereichs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthenticated — kein gültiger Bearer-Token im Authorization-Header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Tier-Insufficient — Endpoint braucht höheren API-Tier. Response enthält upgrade_url.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not-Found — Resource existiert nicht oder gehört nicht dem aktuellen User.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate-Limit überschritten — Tier-Quota (hourly/daily) oder Per-Endpoint-Quota erreicht. Retry-After-Header gesetzt.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Upstream-Failure — Datenquelle nicht erreichbar (Binance, EODHD, etc.).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-min-tier: free
  /api/v1/vol/iv/{currency}/history:
    get:
      summary: Deribit IV Snapshot — historical time series (BTC or ETH)
      description: 'Historical DVOL + ATM-IV 30d + realized vol time series. Max range: 730 days per request. data_quality field: ''live'' (full), ''dvol_only'' (pre-cron backfill), ''partial''.'
      operationId: getIvSnapshotHistory
      tags:
      - Volatility
      security:
      - bearerAuth: []
      parameters:
      - name: currency
        in: path
        required: true
        schema:
          type: string
          enum:
          - BTC
          - ETH
      - name: from
        in: query
        required: true
        schema:
          type: string
          format: date
        description: Start date YYYY-MM-DD
      - name: to
        in: query
        schema:
          type: string
          format: date
        description: 'End date YYYY-MM-DD (default: today). Max range 730 days.'
      responses:
        '200':
          description: Array of daily IV rows.
        '400':
          description: Invalid input — fehlt Pflichtfeld oder Wert außerhalb des erlaubten Bereichs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthenticated — kein gültiger Bearer-Token im Authorization-Header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Tier-Insufficient — Endpoint braucht höheren API-Tier. Response enthält upgrade_url.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not-Found — Resource existiert nicht oder gehört nicht dem aktuellen User.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate-Limit überschritten — Tier-Quota (hourly/daily) oder Per-Endpoint-Quota erreicht. Retry-After-Header gesetzt.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Upstream-Failure — Datenquelle nicht erreichbar (Binance, EODHD, etc.).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-min-tier: free
components:
  schemas:
    ErrorResponse:
      type: object
      required:
      - error
      - message
      properties:
        error:
          type: string
          enum:
          - invalid_input
          - unauthenticated
          - tier_insufficient
          - not_found
          - rate_limited
          - upstream_failed
          - compute_failed
          - internal
          description: Stable error-code; map to client-side handling.
        message:
          type: string
          description: Human-readable error message.
        required_tier:
          type:
          - string
          - 'null'
          enum:
          - api_pro
          - api_power
          - null
        current_tier:
          type:
          - string
          - 'null'
          enum:
          - free
          - api_pro
          - api_power
          - null
        upgrade_url:
          type:
          - string
          - 'null'
          format: uri
        retry_after_seconds:
          type:
          - integer
          - 'null'
        details:
          type:
          - object
          - 'null'
          additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API-Key
      description: Get a Free-tier key at https://tradingstrategies.work/dashboard/account/api-keys
externalDocs:
  description: Developer landing + curl examples
  url: https://tradingstrategies.work/api