Portfolio Stats
ILLUSTRATIVE historical and parametric Value-at-Risk and expected shortfall from a return series you supply. Not advice.
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"scheme": "exact",
"network": "base",
"mimeType": "application/json",
"resource": "https://portfolio-stats.x402tookit.com/value-at-risk",
"description": "ILLUSTRATIVE historical and parametric Value-at-Risk and expected shortfall from a return series you supply. Not advice.",
"outputSchema": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"returns": "[-0.02,-0.01,0,0.01,0.02,0.015,-0.005,0.008,-0.012,0.004]",
"confidencePct": 95,
"portfolioValue": 10000
}
},
"output": {
"asOf": "2026-10-12T00:57:41.149Z",
"source": "computed locally",
"zScore": -1.644853627,
"horizon": "one period of the supplied data",
"reasons": [
"Historical VaR: the loss at the (1 - confidence) quantile of your returns, by linear interpolation between order statistics (numpy default); expected shortfall is the average of the returns at or belo…",
"Parametric VaR assumes returns are normal with your sample mean and standard deviation: loss = -(mean + z * sd), z = the (1 - confidence) quantile of the standard normal.",
"…2 more"
],
"summary": "ILLUSTRATIVE 95% one-period VaR: historical 1.64%, parametric 1.997860184% of value (from 10 returns).",
"verdict": "VAR_ILLUSTRATIVE_COMPUTED",
"degraded": false,
"disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
"meanReturn": 0.001,
"notChecked": [
"ILLUSTRATIVE ONLY: VaR says nothing about how bad losses beyond the threshold can get, and real markets have fat tails and jumps the normal formula misses",
"whether the supplied history represents the future, or whether it is long enough (a 99% historical VaR from 100 returns rests on one or two points)",
"…1 more"
],
"observations": 10,
"confidencePct": 95,
"historicalVaR": 0.0164,
"parametricVaR": 0.01997860184,
"portfolioValue": 10000,
"educationalOnly": "Educational arithmetic on the numbers you supplied. Not investment advice: it does not say what to buy, sell, hold or how much to risk, and a supplied or past series does not predict the future.",
"historicalVaRPct": 1.64,
"illustrativeOnly": true,
"parametricVaRPct": 1.997860184,
"periodVolatility": 0.01275408431,
"tailObservations": 1,
"historicalVaRAmount": 164,
"parametricVaRAmount": 199.7860184,
"tooFewTailObservations": true,
"historicalExpectedShortfall": 0.02,
"parametricExpectedShortfall": 0.02530801306,
"historicalExpectedShortfallPct": 2,
"parametricExpectedShortfallPct": 2.530801306,
"historicalExpectedShortfallAmount": 200,
"parametricExpectedShortfallAmount": 253.0801306,
"negativeVaRMeansTheThresholdWasAGain": "a negative VaR means even the tail quantile was a gain in this history"
}
},
"maxAmountRequired": "20000",
"maxTimeoutSeconds": 300
},
{
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"feePayer": "BFK9TLC3edb13K6v4YyH3DwPb5DSUpkWvb7XnqCL9b4F"
},
"payTo": "DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s",
"scheme": "exact",
"network": "solana",
"mimeType": "application/json",
"resource": "https://portfolio-stats.x402tookit.com/value-at-risk",
"description": "ILLUSTRATIVE historical and parametric Value-at-Risk and expected shortfall from a return series you supply. Not advice.",
"outputSchema": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"returns": "[-0.02,-0.01,0,0.01,0.02,0.015,-0.005,0.008,-0.012,0.004]",
"confidencePct": 95,
"portfolioValue": 10000
}
},
"output": {
"asOf": "2026-10-12T00:57:41.149Z",
"source": "computed locally",
"zScore": -1.644853627,
"horizon": "one period of the supplied data",
"reasons": [
"Historical VaR: the loss at the (1 - confidence) quantile of your returns, by linear interpolation between order statistics (numpy default); expected shortfall is the average of the returns at or belo…",
"Parametric VaR assumes returns are normal with your sample mean and standard deviation: loss = -(mean + z * sd), z = the (1 - confidence) quantile of the standard normal.",
"…2 more"
],
"summary": "ILLUSTRATIVE 95% one-period VaR: historical 1.64%, parametric 1.997860184% of value (from 10 returns).",
"verdict": "VAR_ILLUSTRATIVE_COMPUTED",
"degraded": false,
"disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
"meanReturn": 0.001,
"notChecked": [
"ILLUSTRATIVE ONLY: VaR says nothing about how bad losses beyond the threshold can get, and real markets have fat tails and jumps the normal formula misses",
"whether the supplied history represents the future, or whether it is long enough (a 99% historical VaR from 100 returns rests on one or two points)",
"…1 more"
],
"observations": 10,
"confidencePct": 95,
"historicalVaR": 0.0164,
"parametricVaR": 0.01997860184,
"portfolioValue": 10000,
"educationalOnly": "Educational arithmetic on the numbers you supplied. Not investment advice: it does not say what to buy, sell, hold or how much to risk, and a supplied or past series does not predict the future.",
"historicalVaRPct": 1.64,
"illustrativeOnly": true,
"parametricVaRPct": 1.997860184,
"periodVolatility": 0.01275408431,
"tailObservations": 1,
"historicalVaRAmount": 164,
"parametricVaRAmount": 199.7860184,
"tooFewTailObservations": true,
"historicalExpectedShortfall": 0.02,
"parametricExpectedShortfall": 0.02530801306,
"historicalExpectedShortfallPct": 2,
"parametricExpectedShortfallPct": 2.530801306,
"historicalExpectedShortfallAmount": 200,
"parametricExpectedShortfallAmount": 253.0801306,
"negativeVaRMeansTheThresholdWasAGain": "a negative VaR means even the tail quantile was a gain in this history"
}
},
"maxAmountRequired": "20000",
"maxTimeoutSeconds": 300
},
{
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"scheme": "exact",
"network": "polygon",
"mimeType": "application/json",
"resource": "https://portfolio-stats.x402tookit.com/value-at-risk",
"description": "ILLUSTRATIVE historical and parametric Value-at-Risk and expected shortfall from a return series you supply. Not advice.",
"outputSchema": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"returns": "[-0.02,-0.01,0,0.01,0.02,0.015,-0.005,0.008,-0.012,0.004]",
"confidencePct": 95,
"portfolioValue": 10000
}
},
"output": {
"asOf": "2026-10-12T00:57:41.149Z",
"source": "computed locally",
"zScore": -1.644853627,
"horizon": "one period of the supplied data",
"reasons": [
"Historical VaR: the loss at the (1 - confidence) quantile of your returns, by linear interpolation between order statistics (numpy default); expected shortfall is the average of the returns at or belo…",
"Parametric VaR assumes returns are normal with your sample mean and standard deviation: loss = -(mean + z * sd), z = the (1 - confidence) quantile of the standard normal.",
"…2 more"
],
"summary": "ILLUSTRATIVE 95% one-period VaR: historical 1.64%, parametric 1.997860184% of value (from 10 returns).",
"verdict": "VAR_ILLUSTRATIVE_COMPUTED",
"degraded": false,
"disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
"meanReturn": 0.001,
"notChecked": [
"ILLUSTRATIVE ONLY: VaR says nothing about how bad losses beyond the threshold can get, and real markets have fat tails and jumps the normal formula misses",
"whether the supplied history represents the future, or whether it is long enough (a 99% historical VaR from 100 returns rests on one or two points)",
"…1 more"
],
"observations": 10,
"confidencePct": 95,
"historicalVaR": 0.0164,
"parametricVaR": 0.01997860184,
"portfolioValue": 10000,
"educationalOnly": "Educational arithmetic on the numbers you supplied. Not investment advice: it does not say what to buy, sell, hold or how much to risk, and a supplied or past series does not predict the future.",
"historicalVaRPct": 1.64,
"illustrativeOnly": true,
"parametricVaRPct": 1.997860184,
"periodVolatility": 0.01275408431,
"tailObservations": 1,
"historicalVaRAmount": 164,
"parametricVaRAmount": 199.7860184,
"tooFewTailObservations": true,
"historicalExpectedShortfall": 0.02,
"parametricExpectedShortfall": 0.02530801306,
"historicalExpectedShortfallPct": 2,
"parametricExpectedShortfallPct": 2.530801306,
"historicalExpectedShortfallAmount": 200,
"parametricExpectedShortfallAmount": 253.0801306,
"negativeVaRMeansTheThresholdWasAGain": "a negative VaR means even the tail quantile was a gain in this history"
}
},
"maxAmountRequired": "20000",
"maxTimeoutSeconds": 300
}
],
"x402Version": 1,
"alsoAvailable": {
"llms": "https://portfolio-stats.x402tookit.com/llms.txt",
"catalog": "https://portfolio-stats.x402tookit.com/catalog",
"message": "Portfolio Stats has 10 pay-per-call endpoints (Return, risk and drawdown statistics computed on a price or return series that you supply.), from $0.02 a call. See the full menu and send your agents our way.",
"openapi": "https://portfolio-stats.x402tookit.com/openapi.json",
"related": [
{
"url": "https://portfolio-stats.x402tookit.com/volatility",
"path": "/volatility",
"what": "Annualized volatility (sample standard deviation of returns) from a price or return serie…",
"price": "$0.02"
},
{
"url": "https://portfolio-stats.x402tookit.com/cagr",
"path": "/cagr",
"what": "Compound annual growth rate from start and end values over years, or dates, or periods. A…",
"price": "$0.02"
},
{
"url": "https://portfolio-stats.x402tookit.com/correlation-beta",
"path": "/correlation-beta",
"what": "Correlation, beta, R-squared and alpha of one return or price series against another you…",
"price": "$0.02"
}
]
}
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.
Pay 0.02 USDC on Base to 0xb531…2DBDa. The signed payment is good for 5 minutes.
- Paid to
- 0xb531…2DBDa
- USD Coin contract
- 0x8335…02913
- Payment window
- 5 minutes
- As published
- 20000 smallest units
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- DUPiup…eEm8s
- Token contract
- EPjFWd…TDt1v
- Payment window
- 5 minutes
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 0xb531…2DBDa
- Token contract
- 0x3c49…c3359
- Payment window
- 5 minutes
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 0xb531…2DBDa
- Token contract
- 0xaf88…e5831
- Payment window
- 5 minutes
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"amount": "20000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 300
},
{
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"feePayer": "D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM"
},
"payTo": "DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s",
"amount": "20000",
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"maxTimeoutSeconds": 300
},
{
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"amount": "20000",
"scheme": "exact",
"network": "eip155:137",
"maxTimeoutSeconds": 300
},
{
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"amount": "20000",
"scheme": "exact",
"network": "eip155:42161",
"maxTimeoutSeconds": 300
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"returns": "[-0.02,-0.01,0,0.01,0.02,0.015,-0.005,0.008,-0.012,0.004]",
"confidencePct": 95,
"portfolioValue": 10000
}
},
"output": {
"type": "json",
"example": {
"asOf": "2026-10-12T00:57:41.149Z",
"source": "computed locally",
"zScore": -1.644853627,
"horizon": "one period of the supplied data",
"reasons": [
"Historical VaR: the loss at the (1 - confidence) quantile of your returns, by linear interpolation between order statistics (numpy default); expected shortfall is the average of the returns at or belo…",
"Parametric VaR assumes returns are normal with your sample mean and standard deviation: loss = -(mean + z * sd), z = the (1 - confidence) quantile of the standard normal.",
"…2 more"
],
"summary": "ILLUSTRATIVE 95% one-period VaR: historical 1.64%, parametric 1.997860184% of value (from 10 returns).",
"verdict": "VAR_ILLUSTRATIVE_COMPUTED",
"degraded": false,
"disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
"meanReturn": 0.001,
"notChecked": [
"ILLUSTRATIVE ONLY: VaR says nothing about how bad losses beyond the threshold can get, and real markets have fat tails and jumps the normal formula misses",
"whether the supplied history represents the future, or whether it is long enough (a 99% historical VaR from 100 returns rests on one or two points)",
"…1 more"
],
"observations": 10,
"confidencePct": 95,
"historicalVaR": 0.0164,
"parametricVaR": 0.01997860184,
"portfolioValue": 10000,
"educationalOnly": "Educational arithmetic on the numbers you supplied. Not investment advice: it does not say what to buy, sell, hold or how much to risk, and a supplied or past series does not predict the future.",
"historicalVaRPct": 1.64,
"illustrativeOnly": true,
"parametricVaRPct": 1.997860184,
"periodVolatility": 0.01275408431,
"tailObservations": 1,
"historicalVaRAmount": 164,
"parametricVaRAmount": 199.7860184,
"tooFewTailObservations": true,
"historicalExpectedShortfall": 0.02,
"parametricExpectedShortfall": 0.02530801306,
"historicalExpectedShortfallPct": 2,
"parametricExpectedShortfallPct": 2.530801306,
"historicalExpectedShortfallAmount": 200,
"parametricExpectedShortfallAmount": 253.0801306,
"negativeVaRMeansTheThresholdWasAGain": "a negative VaR means even the tail quantile was a gain in this history"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method"
],
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"type": "object",
"required": [],
"properties": {
"unit": {
"type": "string",
"description": "decimal (default, 0.01 = 1%) or percent (1 = 1%); applies to returns only"
},
"prices": {
"type": "string",
"description": "Price series, oldest first, JSON like [100,101,99.5] or 100,101,99.5 (up to 1000). Give prices OR returns"
},
"returns": {
"type": "string",
"description": "Period returns, oldest first, decimals by default (0.01 = 1%). Give returns OR prices"
},
"confidencePct": {
"type": "number",
"description": "Confidence level in percent, 90 to 99.9 (default 95)"
},
"periodsPerYear": {
"type": "integer",
"description": "Periods per year for annualising: 252 daily (default), 52 weekly, 12 monthly"
},
"portfolioValue": {
"type": "number",
"description": "Optional amount to express the loss in money terms"
}
}
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"properties": {
"asOf": {
"type": [
"null",
"string"
]
},
"source": {
"type": [
"null",
"string"
]
},
"zScore": {
"type": [
"null",
"number"
]
},
"horizon": {
"type": [
"null",
"string"
]
},
"reasons": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"summary": {
"type": [
"null",
"string"
]
},
"verdict": {
"type": [
"null",
"string"
]
},
"degraded": {
"type": [
"boolean",
"null"
]
},
"disclaimer": {
"type": [
"null",
"string"
]
},
"meanReturn": {
"type": [
"null",
"number"
]
},
"notChecked": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"observations": {
"type": [
"null",
"number"
]
},
"confidencePct": {
"type": [
"null",
"number"
]
},
"historicalVaR": {
"type": [
"null",
"number"
]
},
"parametricVaR": {
"type": [
"null",
"number"
]
},
"portfolioValue": {
"type": [
"null",
"number"
]
},
"educationalOnly": {
"type": [
"null",
"string"
]
},
"historicalVaRPct": {
"type": [
"null",
"number"
]
},
"illustrativeOnly": {
"type": [
"boolean",
"null"
]
},
"parametricVaRPct": {
"type": [
"null",
"number"
]
},
"periodVolatility": {
"type": [
"null",
"number"
]
},
"tailObservations": {
"type": [
"null",
"number"
]
},
"historicalVaRAmount": {
"type": [
"null",
"number"
]
},
"parametricVaRAmount": {
"type": [
"null",
"number"
]
},
"tooFewTailObservations": {
"type": [
"boolean",
"null"
]
},
"historicalExpectedShortfall": {
"type": [
"null",
"number"
]
},
"parametricExpectedShortfall": {
"type": [
"null",
"number"
]
},
"historicalExpectedShortfallPct": {
"type": [
"null",
"number"
]
},
"parametricExpectedShortfallPct": {
"type": [
"null",
"number"
]
},
"historicalExpectedShortfallAmount": {
"type": [
"null",
"number"
]
},
"parametricExpectedShortfallAmount": {
"type": [
"null",
"number"
]
},
"negativeVaRMeansTheThresholdWasAGain": {
"type": [
"null",
"string"
]
}
}
}
}
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-10-20 20:47Z
- Last indexed by Roundhouse
- 2026-10-22 19:30Z
- Last enriched (probe, favicon, geo)
- 2026-10-20 23:45Z
- x402 version
- 2
- Max timeout
- 300s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 4 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service Portfolio Stats and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=Portfolio%20Stats' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://portfolio-stats.x402tookit.com/value-at-risk, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.