ZARQ · Schema

StresstestRequest

Request body for portfolio stress test.

Crypto IntelligenceToken RatingsCrash PredictionYield RiskDeFi Risk

Properties

Name Type Description
holdings object Token holdings as {token_id: weight}. Example: {"bitcoin": 0.5, "ethereum": 0.3, "solana": 0.2}
portfolio_id object Predefined portfolio: alpha_fund, dynamic_fund, conservative_fund, btc_only, top10_equal
scenario string Scenario: btc_crash_50pct, eth_smart_contract_exploit, stablecoin_crisis, regulatory_crackdown
portfolio_value_usd number Total portfolio value in USD
View JSON Schema on GitHub

JSON Schema

zarq-ai-stresstest-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zarq-ai/json-schema/zarq-ai-stresstest-request-schema.json",
  "title": "StresstestRequest",
  "description": "Request body for portfolio stress test.",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zarq-ai-openapi.json#/components/schemas/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}"
    },
    "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"
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/zarq-ai-stresstest-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.