CRYPTYX · Asset Peer Cluster

by CRYPTYX

GETBase

$0.05

per call · USD Coin on Base

Nearest k peers for one asset in CRYPTYX's 8-class factor space at the requested horizon. Returns target asset metrics plus peers ranked by Euclidean distance with divergence stats. Hedge selection and basket construction. Coverage: pass any asset in the CRYPTYX 200+ tracked universe (BTC, ETH, SOL, top-cap + long-tail).

Endpoint

GET https://cryptyx.ai/api/asset/peer-cluster

1

Calls / 30d

1

Unique payers / 30d

Sep 5

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://cryptyx.ai/api/asset/peer-cluster", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://cryptyx.ai/api/asset/peer-cluster?horizon=&k=&symbol=" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "horizon": "30d",
  "ok": true,
  "peers": [
    {
      "asset": "ETH",
      "composite": 0.38,
      "distance": 0.41,
      "divergence": -0.04,
      "ret_7d": 0.027,
      "shared_classes": [
        "CORR",
        "EFF",
        "FLOW",
        "FUT",
        "OB",
        "OPT",
        "TR",
        "VOL"
      ]
    },
    {
      "asset": "SOL",
      "composite": 0.55,
      "distance": 0.58,
      "divergence": 0.13,
      "ret_7d": 0.061,
      "shared_classes": [
        "CORR",
        "EFF",
        "FLOW",
        "FUT",
        "OB",
        "TR",
        "VOL"
      ]
    },
    {
      "asset": "AVAX",
      "composite": 0.21,
      "distance": 0.72,
      "divergence": -0.21,
      "ret_7d": -0.012,
      "shared_classes": [
        "CORR",
        "EFF",
        "FLOW",
        "OB",
        "TR",
        "VOL"
      ]
    }
  ],
  "symbol": "BTC",
  "target": {
    "asset": "BTC",
    "classes": [
      "CORR",
      "EFF",
      "FLOW",
      "FUT",
      "OB",
      "OPT",
      "TR",
      "VOL"
    ],
    "composite": 0.42,
    "ret_7d": 0.031
  }
}

Payment details

Pay to0x0cd2c9724f185a029101b4aeacf3f114415c394f
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from CRYPTYX & similar services