Apply caller-defined asset-class, factor and rate shocks to holdings and report
Apply caller-defined asset-class, factor and rate shocks to holdings and report P/L by holding and in total. Docs: https://www.brainiac.software/api/portfolio-analytics/stress-test
Answeringour last check, 2026-11-27
4 of 4checks answered this week
318 msmedian answer time
$0.03listed price per call
$0.03price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://www.brainiac.software/api/v1/portfolio-analytics/stress-test
| Category | Everything else |
|---|---|
| Provider host | www.brainiac.software |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.03 | 278 ms |
| 2026-11-26 | valid payment request | 402 | $0.03 | 313 ms |
| 2026-11-25 | valid payment request | 402 | $0.03 | 324 ms |
| 2026-11-24 | valid payment request | 402 | $0.03 | 403 ms |
Example input (from the provider)
{
"body": {
"holdings": [
{
"betas": {
"equity": 1
},
"id": "VTI",
"mapping": {
"assetClass": "us_equity"
},
"value": 50000
},
{
"duration": 6.2,
"id": "BND",
"mapping": {
"assetClass": "bonds"
},
"value": 21600
}
],
"scenarios": [
{
"assetClassShocks": {
"us_equity": -0.2
},
"factorShocks": {},
"name": "equity -20%, rates +100bp",
"rateShockBp": 100
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"holdings": {
"description": "holdings supplied by the caller for this operation.",
"example": [
{
"betas": {
"equity": 1
},
"id": "VTI",
"mapping": {
"assetClass": "us_equity"
},
"value": 50000
},
{
"duration": 6.2,
"id": "BND",
"mapping": {
"assetClass": "bonds"
},
"value": 21600
}
],
"items": {
"type": "object"
},
"type": "array"
},
"scenarios": {
"description": "scenarios supplied by the caller for this operation.",
"example": [
{
"assetClassShocks": {
"us_equity": -0.2
},
"factorShocks": {},
"name": "equity -20%, rates +100bp",
"rateShockBp": 100
}
],
"items": {
"type": "object"
},
"type": "array"
}
},
"required": [
"holdings",
"scenarios"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": true,
"properties": {
"limitations": {
"description": "Product caveats. Absence of a signal is not a safety approval.",
"type": "array"
},
"scenarios": {
"description": "scenarios returned by this operation.",
"items": {
"additionalProperties": true,
"properties": {
"byHolding": {
"description": "by Holding returned by this operation.",
"type": "array"
},
"name": {
"description": "name returned by this operation.",
"type": "string"
},
"pnl": {
"description": "pnl returned by this operation.",
"type": "number"
},
"pnlPct": {
"description": "pnl Pct returned by this operation.",
"type": "number"
},
"unmapped": {
"description": "unmapped returned by this operation.",
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"sources": {
"description": "Provenance only \u2014 upstream name, url, and retrievedAt when available.",
"items": {
"additionalProperties": true,
"properties": {
"retrievedAt": {
"description": "ISO-8601 timestamp when upstream data was retrieved.",
"type": "string"
},
"source": {
"description": "Named upstream source for this delayed reference series.",
"type": "string"
},
"status": {
"description": "Coverage status: complete or partial with real data is charged on HTTP 2xx; failed or empty payloads return non-2xx and are not charged.",
"type": "string"
},
"url": {
"description": "Requested public URL.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}