V

Virae Strategy Data API · Simulations Matrix

by Virae Strategy Data API

GETBase

$0.01

per call · USD Coin on Base

Query a paginated, sortable Virae strategy simulation matrix with normalized PnL curves and coverage metadata.

Endpoint

GET https://api.virae.ai/api/x402/v1/simulations/:strategyKey/matrix

3

Calls / 30d

2

Unique payers / 30d

Aug 26

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://api.virae.ai/api/x402/v1/simulations/:strategyKey/matrix", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.virae.ai/api/x402/v1/simulations/:strategyKey/matrix?curveRange=30d&displayNotionalUsd=100&page=1&pageSize=20&pnlMode=afterFees&sortDirection=desc&sortKey=netPnl" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "matrix": [],
  "ok": true,
  "schemaVersion": "virae.x402.simulation-matrix.v1",
  "strategyKey": "btc-15m-tail"
}

Payment details

Pay to0x85b17c892abf4bbc6e2066b3df82fa6bb3f9316a
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from Virae Strategy Data API & similar services