ZARQ Crypto V3 API

The crypto-v3 API from ZARQ, for crypto-v3.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 21

GET /v1/crypto/contagion/scores/all Get All Contagion Scores Endpoint #
GET /v1/crypto/contagion/scenarios List Contagion Scenarios Endpoint #
GET /v1/crypto/contagion/network Get Contagion Network Endpoint #
GET /v1/crypto/contagion/case-studies Get Case Studies Endpoint #
GET /v1/crypto/contagion/scenario/{scenario_id} Run Contagion Scenario Endpoint #
GET /v1/crypto/contagion/{token_id} Get Token Contagion #
POST /v1/crypto/stresstest Run Stresstest #
GET /v1/crypto/stresstest/scenarios List Stress Scenarios #
GET /v1/crypto/stresstest/portfolios List Predefined Portfolios #
GET /v1/crypto/transition-matrix/{period} Get Transition Matrix #
GET /v1/crypto/transition/{token_id} Get Token Transitions #
GET /v1/crypto/exit-score/{token_id} Get Exit Score #
GET /v1/crypto/crash-thresholds/{token_id} Get Crash Thresholds #
GET /v1/crypto/cascade/simulate Simulate Cascade Endpoint #
GET /v1/crypto/cascade/graph Get Cascade Graph #
GET /v1/crypto/cascade/hotspots Get Cascade Hotspots #
GET /v1/crypto/cascade/stats Get Cascade Stats #
POST /v1/crypto/portfolio/crash-shield Register Crash Shield #
GET /v1/crypto/portfolio/crash-shield/webhooks List Crash Shield Webhooks #
GET /v1/crypto/portfolio/crash-shield/prevented Get Prevented Losses #
POST /v1/crypto/portfolio/analyze Analyze Portfolio #

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/zarq-ai:zarq-ai-crypto-v3-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

zarq-ai-crypto-v3-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ZARQ & Nerq Crypto V3 API
  description: Check before you install. Trust scores for ANY software — apps, packages, extensions, websites, games, VPNs, AI tools. 7.5M+ entities. Free API.
  version: 0.1.0
tags:
- name: crypto-v3
paths:
  /v1/crypto/contagion/scores/all:
    get:
      tags:
      - crypto-v3
      summary: Get All Contagion Scores Endpoint
      description: Get contagion scores for all rated tokens, sorted by highest risk.
      operationId: get_all_contagion_scores_endpoint_v1_crypto_contagion_scores_all_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/crypto/contagion/scenarios:
    get:
      tags:
      - crypto-v3
      summary: List Contagion Scenarios Endpoint
      description: List all available contagion scenarios.
      operationId: list_contagion_scenarios_endpoint_v1_crypto_contagion_scenarios_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/crypto/contagion/network:
    get:
      tags:
      - crypto-v3
      summary: Get Contagion Network Endpoint
      description: Get D3.js network graph.
      operationId: get_contagion_network_endpoint_v1_crypto_contagion_network_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/crypto/contagion/case-studies:
    get:
      tags:
      - crypto-v3
      summary: Get Case Studies Endpoint
      description: Historical case studies.
      operationId: get_case_studies_endpoint_v1_crypto_contagion_case_studies_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/crypto/contagion/scenario/{scenario_id}:
    get:
      tags:
      - crypto-v3
      summary: Run Contagion Scenario Endpoint
      description: Run a contagion scenario.
      operationId: run_contagion_scenario_endpoint_v1_crypto_contagion_scenario__scenario_id__get
      parameters:
      - name: scenario_id
        in: path
        required: true
        schema:
          type: string
          title: Scenario Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/crypto/contagion/{token_id}:
    get:
      tags:
      - crypto-v3
      summary: Get Token Contagion
      description: 'Get contagion profile for a token.

        Returns dependencies, exposure scores, correlated tokens, and contagion score 0-10.'
      operationId: get_token_contagion_v1_crypto_contagion__token_id__get
      parameters:
      - name: token_id
        in: path
        required: true
        schema:
          type: string
          title: Token Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/crypto/stresstest:
    post:
      tags:
      - crypto-v3
      summary: Run Stresstest
      description: 'Run a portfolio stress test.

        Provide either holdings (custom portfolio) or portfolio_id (predefined).

        Returns per-token impact, total loss, and risk recommendations.'
      operationId: run_stresstest_v1_crypto_stresstest_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StresstestRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/crypto/stresstest/scenarios:
    get:
      tags:
      - crypto-v3
      summary: List Stress Scenarios
      description: List available stress test scenarios.
      operationId: list_stress_scenarios_v1_crypto_stresstest_scenarios_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/crypto/stresstest/portfolios:
    get:
      tags:
      - crypto-v3
      summary: List Predefined Portfolios
      description: List predefined portfolios for stress testing.
      operationId: list_predefined_portfolios_v1_crypto_stresstest_portfolios_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/crypto/transition-matrix/{period}:
    get:
      tags:
      - crypto-v3
      summary: Get Transition Matrix
      description: 'Get rating transition matrix for a period (30d, 90d, 365d).

        Shows probability of rating grade migration.'
      operationId: get_transition_matrix_v1_crypto_transition_matrix__period__get
      parameters:
      - name: period
        in: path
        required: true
        schema:
          type: string
          title: Period
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/crypto/transition/{token_id}:
    get:
      tags:
      - crypto-v3
      summary: Get Token Transitions
      description: Get complete rating transition history for a token.
      operationId: get_token_transitions_v1_crypto_transition__token_id__get
      parameters:
      - name: token_id
        in: path
        required: true
        schema:
          type: string
          title: Token Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/crypto/exit-score/{token_id}:
    get:
      tags:
      - crypto-v3
      summary: Get Exit Score
      description: 'Get liquidity exit score (0-100) for a token.

        Estimates slippage, exit time, and difficulty based on volume and market cap.'
      operationId: get_exit_score_v1_crypto_exit_score__token_id__get
      parameters:
      - name: token_id
        in: path
        required: true
        schema:
          type: string
          title: Token Id
      - name: position_usd
        in: query
        required: false
        schema:
          type: number
          description: Position size in USD
          default: 100000
          title: Position Usd
        description: Position size in USD
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/crypto/crash-thresholds/{token_id}:
    get:
      tags:
      - crypto-v3
      summary: Get Crash Thresholds
      description: 'Get volatility-adjusted crash thresholds for a token.

        What counts as a ''dip'', ''correction'', or ''crash'' depends on the token''s historical volatility.'
      operationId: get_crash_thresholds_v1_crypto_crash_thresholds__token_id__get
      parameters:
      - name: token_id
        in: path
        required: true
        schema:
          type: string
          title: Token Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/crypto/cascade/simulate:
    get:
      tags:
      - crypto-v3
      summary: Simulate Cascade Endpoint
      description: Simulate a risk cascade from a trigger node.
      operationId: simulate_cascade_endpoint_v1_crypto_cascade_simulate_get
      parameters:
      - name: trigger
        in: query
        required: true
        schema:
          type: string
          description: Token symbol, token_id, or chain name
          title: Trigger
        description: Token symbol, token_id, or chain name
      - name: scenario
        in: query
        required: false
        schema:
          type: string
          description: collapse|btc_crash|stablecoin|exchange|custom
          default: collapse
          title: Scenario
        description: collapse|btc_crash|stablecoin|exchange|custom
      - name: severity
        in: query
        required: false
        schema:
          type: number
          maximum: 1.0
          minimum: 0.0
          default: 1.0
          title: Severity
      - name: max_hops
        in: query
        required: false
        schema:
          type: integer
          maximum: 6
          minimum: 1
          default: 4
          title: Max Hops
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/crypto/cascade/graph:
    get:
      tags:
      - crypto-v3
      summary: Get Cascade Graph
      description: Export risk dependency graph (D3.js compatible).
      operationId: get_cascade_graph_v1_crypto_cascade_graph_get
      parameters:
      - name: max_nodes
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 10
          default: 200
          title: Max Nodes
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/crypto/cascade/hotspots:
    get:
      tags:
      - crypto-v3
      summary: Get Cascade Hotspots
      description: Identify highest systemic risk nodes in the graph.
      operationId: get_cascade_hotspots_v1_crypto_cascade_hotspots_get
      parameters:
      - name: top_n
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 5
          default: 20
          title: Top N
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/crypto/cascade/stats:
    get:
      tags:
      - crypto-v3
      summary: Get Cascade Stats
      description: Graph engine stats — nodes, edges, load time.
      operationId: get_cascade_stats_v1_crypto_cascade_stats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/crypto/portfolio/crash-shield:
    post:
      tags:
      - crypto-v3
      summary: Register Crash Shield
      description: Register a webhook for real-time crash alerts on your portfolio.
      operationId: register_crash_shield_v1_crypto_portfolio_crash_shield_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CrashShieldRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/crypto/portfolio/crash-shield/webhooks:
    get:
      tags:
      - crypto-v3
      summary: List Crash Shield Webhooks
      description: List all active Crash Shield webhook registrations.
      operationId: list_crash_shield_webhooks_v1_crypto_portfolio_crash_shield_webhooks_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/crypto/portfolio/crash-shield/prevented:
    get:
      tags:
      - crypto-v3
      summary: Get Prevented Losses
      description: Aggregate Prevented $X metric across all Crash Shield users.
      operationId: get_prevented_losses_v1_crypto_portfolio_crash_shield_prevented_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/crypto/portfolio/analyze:
    post:
      tags:
      - crypto-v3
      summary: Analyze Portfolio
      description: Complete portfolio risk analysis — direct + indirect cascade risk.
      operationId: analyze_portfolio_v1_crypto_portfolio_analyze_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PortfolioAnalyzeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HoldingItem:
      properties:
        token:
          type: string
          title: Token
          description: Token symbol e.g. ETH, BTC, PEPE
        weight:
          anyOf:
          - type: number
          - type: 'null'
          title: Weight
          description: Portfolio weight 0-1
        value_usd:
          anyOf:
          - type: number
          - type: 'null'
          title: Value Usd
          description: USD value
      type: object
      required:
      - token
      title: HoldingItem
    PortfolioAnalyzeRequest:
      properties:
        holdings:
          items:
            $ref: '#/components/schemas/HoldingItem'
          type: array
          title: Holdings
        portfolio_value_usd:
          type: number
          title: Portfolio Value Usd
          default: 100000
        include_cascade:
          type: boolean
          title: Include Cascade
          default: true
      type: object
      required:
      - holdings
      title: PortfolioAnalyzeRequest
    CrashShieldRequest:
      properties:
        webhook_url:
          type: string
          title: Webhook Url
          description: HTTPS URL that receives POST alerts
        holdings:
          items:
            $ref: '#/components/schemas/HoldingItem'
          type: array
          title: Holdings
        portfolio_value_usd:
          type: number
          title: Portfolio Value Usd
          default: 100000
        alert_levels:
          items:
            type: string
          type: array
          title: Alert Levels
          default:
          - CRITICAL
          - HIGH
      type: object
      required:
      - webhook_url
      - holdings
      title: CrashShieldRequest
    StresstestRequest:
      properties:
        holdings:
          anyOf:
          - additionalProperties:
              type: number
            type: object
          - type: 'null'
          title: Holdings
          description: 'Token holdings as {token_id: weight}. Example: {"bitcoin": 0.5, "ethereum": 0.3, "solana": 0.2}'
          examples:
          - bitcoin: 0.5
            ethereum: 0.3
            solana: 0.2
        portfolio_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Portfolio Id
          description: 'Predefined portfolio: alpha_fund, dynamic_fund, conservative_fund, btc_only, top10_equal'
        scenario:
          type: string
          title: Scenario
          description: 'Scenario: btc_crash_50pct, eth_smart_contract_exploit, stablecoin_crisis, regulatory_crackdown'
          default: btc_crash_50pct
        portfolio_value_usd:
          type: number
          title: Portfolio Value Usd
          description: Total portfolio value in USD
          default: 100000
      type: object
      title: StresstestRequest
      description: Request body for portfolio stress test.
    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
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError