LiquidVision.app Backtests API

The Backtests API from LiquidVision.app — 4 operation(s) for backtests.

GitHub OpenAPI

Operations 4

GET /api/v1/precedents/{symbol} Market precedents: past hours like now and what price did next #
GET /api/v1/rules/test Backtest a crypto trading rule on hourly derivatives data #
GET /api/v1/rules/scan Scan one trading rule across up to 100 crypto perpetuals #
GET /api/v1/precedents Market precedents: past hours like now and what price did next (argument as a… #

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/liquidvision-app:liquidvision-app-backtests-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

liquidvision-app-backtests-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LiquidVision.app Backtests API
  description: 'Crypto derivatives data and answers for AI agents from 13 venues (positions are measured on Hyperliquid and Lighter; the CEX liquidation map is a model): smart money and top traders on Hyperliquid, trader wallet profiles, a derivatives fear & greed index, crypto Twitter sentiment, Polymarket odds next to the market, a Morpho DeFi liquidation map, liquidation prices, trading-rule backtests, and open interest, funding and liquidation history. Conclusions and live snapshots are free; answers are paid per call with x402 (USDC on Base or Arbitrum), MPP (USDC.e on Tempo), Nevermined, Skyfire or a prepaid key. Terms: /api/v1/x402'
  version: 1.0.0
  x-guidance: 'Crypto derivatives data for agents. Free: GET /api/v1/answer?q=...&coin=BTC (one question, one call), /api/v1/liqlevels/{SYMBOL}, /api/v1/funding, /api/v1/brief/{SYMBOL}. Paid per call (GET, no body): /api/v1/liqmap/{SYMBOL} (the full liquidation map), /api/v1/sentiment/fear-greed?coin=market, /api/v1/hl/smart-money?coin=BTC, /api/v1/hl/top-traders, /api/v1/hl/trader/{address}, /api/v1/social/x?coin=SOL, /api/v1/predictions/crypto?coin=BTC, /api/v1/defi/liquidations?chain=base, /api/v1/position/check?symbol=BTC&side=long&entry=..&leverage=.., /api/v1/rules/test?rules=funding_apr_pct>10&symbol=BTC. Pay with x402 (USDC on Base or Arbitrum), MPP (tempo, USDC.e) or a prepaid key; every answer states its source and sample size. Guide: /llms.txt'
  contact:
    name: LiquidVision.app
    url: https://liquidvision.app
    email: dychapaev@gmail.com
tags:
- name: Backtests
paths:
  /api/v1/precedents/{symbol}:
    get:
      summary: 'Market precedents: past hours like now and what price did next'
      description: 'When did the archive look like this before, and what did price do next?

        Hours whose OI change, funding, long share and liquidation volume resembled

        now, thinned to one per day, with the 24 h / 72 h price outcome of each:

        count, share up, median and quartiles, next to the unconditional base rate.

        Frequencies from our own archive, not a forecast. Metered (history).'
      operationId: precedents_api_v1_precedents__symbol__get
      parameters:
      - name: symbol
        in: path
        required: true
        schema:
          type: string
          title: Symbol
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Precedents Api V1 Precedents  Symbol  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Backtests
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.05'
  /api/v1/rules/test:
    get:
      summary: Backtest a crypto trading rule on hourly derivatives data
      description: 'When was this rule true in our hourly archive, and what did price do next?

        Rules use the condition-alert metrics (gt/lt threshold); the answer lists the

        independent episodes (one per 24 h), the 24 h / 72 h outcomes, the base rate over

        the same hours and whether the rule is true now. Frequencies, not a forecast.

        Metered (history).'
      operationId: rules_test_api_v1_rules_test_get
      parameters:
      - name: rules
        in: query
        required: true
        schema:
          type: string
          minLength: 3
          maxLength: 300
          description: up to 3 rules, e.g. funding_apr_pct>8,oi_chg_24h_pct>2
          title: Rules
        description: up to 3 rules, e.g. funding_apr_pct>8,oi_chg_24h_pct>2
      - name: symbol
        in: query
        required: false
        schema:
          type: string
          pattern: ^[A-Za-z0-9]{2,20}$
          default: BTC
          title: Symbol
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Rules Test Api V1 Rules Test Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Backtests
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.1'
  /api/v1/rules/scan:
    get:
      summary: Scan one trading rule across up to 100 crypto perpetuals
      description: 'One rule tested on every coin at once: per coin the episodes, the 24 h / 72 h outcomes

        and the base rate, which coins the rule is true on right now, and the pooled outcome with

        the number of distinct days behind it. The work of up to 100 /rules/test calls.

        Priced: $1.00 (x402), 200 prepaid credits, or Pro/Bot.'
      operationId: rules_scan_api_v1_rules_scan_get
      parameters:
      - name: rules
        in: query
        required: true
        schema:
          type: string
          minLength: 3
          maxLength: 300
          description: up to 3 rules, e.g. funding_apr_pct>8,oi_chg_24h_pct>2
          title: Rules
        description: up to 3 rules, e.g. funding_apr_pct>8,oi_chg_24h_pct>2
      - name: coins
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 5
          description: how many coins, the largest by open interest first
          default: 30
          title: Coins
        description: how many coins, the largest by open interest first
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Rules Scan Api V1 Rules Scan Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Backtests
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '1'
  /api/v1/precedents:
    get:
      summary: 'Market precedents: past hours like now and what price did next (argument as a…'
      description: 'Same answer and price as GET /api/v1/precedents/{symbol}, with `symbol` as a query parameter for clients that do not fill URL templates.


        When did the archive look like this before, and what did price do next?

        Hours whose OI change, funding, long share and liquidation volume resembled

        now, thinned to one per day, with the 24 h / 72 h price outcome of each:

        count, share up, median and quartiles, next to the unconditional base rate.

        Frequencies from our own archive, not a forecast. Metered (history).'
      operationId: precedents_api_v1_precedents__symbol__get_by_query
      parameters:
      - name: symbol
        in: query
        required: true
        schema:
          type: string
          title: Symbol
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Precedents Api V1 Precedents  Symbol  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Backtests
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.05'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-discovery:
  ownershipProofs: []