# SignalHarness Market Returns Analysis

> SignalHarness Market Returns Analysis is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Analyzes and computes market returns based on caller-supplied data or queries, returning structured results with evidence scope and warnings.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/market_returns/invoke
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signalharness-market-returns-analysis-83f277ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qEEZuoDN0GQSwE_aZQVsy

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability signalharness-market-returns-analysis-83f277ba -d '<json body>'
```

Example prompt: Can you run a market returns analysis on my portfolio data — specifically looking at the S&P 500 total return over the last 5 years — and tell me the result with any warnings flagged?

## When to prefer this

Choose this endpoint when you need on-demand, pay-per-call market returns computation without a subscription, and when you want cryptographic proof of execution via a SHA-256 receipt and blockchain settlement reference. It is well-suited for agents that need to embed financial return analysis into automated workflows at $0.01 per call with minimal overhead.

## Known failure modes

- Empty or malformed market_returns_request string returns an error
- Request string below 2 characters or above 65536 characters is rejected by schema validation
- Payment failure on x402 protocol results in no execution and no receipt
- Insufficient or ambiguous data in the request may produce warnings or degraded results
- Network or settlement failures on Base chain may delay receipt confirmation

## How this service works

Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.

## Output

Returns a JSON object containing the computed market_returns value, an evidence_scope field indicating whether the analysis is based on caller-supplied data, any warnings generated during computation, and a full receipt with payment details, execution metadata, latency, a SHA-256 result hash, and settlement reference on Base (EIP-155:8453).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "market_returns_request": {
   "type": "string",
   "maxLength": 65536,
   "minLength": 2
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "warnings": [
    "Returns are historical calculations, not forecasts."
   ],
   "service_id": "market_returns",
   "evidence_scope": "caller_supplied_data",
   "market_returns": "{\"logarithmic_returns\":[\"0.095310179804324935\",\"0.087011376989629685\"],\"observation_count\":3,\"simple_returns\":[\"0.1\",\"0.090909090909090909\"]}"
  },
  "status": "succeeded",
  "receipt": {
   "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "usage": [],
   "status": "succeeded",
   "network": "eip155:8453",
   "artifacts": [],
   "endedAtMs": 0,
   "latencyMs": 0,
   "paymentId": "example-payment",
   "receiptId": "example-receipt",
   "requestId": "example-request",
   "serviceId": "market_returns",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "10000",
   "resultSha256": "d488b4d8dd5ead7504dd8a38f9c0da78dc39d39f78ec7e432b1d998b319a8bc1",
   "serviceVersion": "1.0.0",
   "settlementReference": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "artifacts": [],
  "requestId": "example-request",
  "executionId": "example-execution"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signalharness-market-returns-analysis-83f277ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from signalharness.ai](https://www.zero.xyz/host/signalharness.ai/llms.txt)
