# Numora Matrix Trace

> Numora Matrix Trace is a paid API for AI agents from numormor.netlify.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Computes the trace (sum of diagonal elements) of a square matrix

## Facts

- Endpoint: POST https://numormor.netlify.app/api/matrix/trace
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/numora-matrix-trace-78be128b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RWNJIZR3RIIm3Vfw8V_Sb

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 numora-matrix-trace-78be128b -d '<json body>'
```

Example prompt: Can you compute the trace of this matrix for me: [[3, 1, 2], [0, 5, 4], [7, 8, 9]]?

## When to prefer this

Use this endpoint when you need a pure, dependency-free computation of the matrix trace (sum of diagonal elements) for any square matrix. Prefer this over general-purpose math libraries when you need a lightweight, API-accessible, pay-per-use computation in an agent workflow, especially when already using the Numora suite of math endpoints.

## Known failure modes

- Non-square matrix provided — trace is undefined for non-square matrices
- Missing required field A — returns validation error
- A is not a 2D array — malformed input error
- Empty matrix array — computation error
- Payment not completed via x402 — 402 Payment Required response

## How this service works

100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.

## Output

Returns a JSON object with a boolean success flag, a result object containing the computed trace (scalar sum of the main diagonal), and a human-readable computation description string explaining what was calculated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "A"
 ],
 "properties": {
  "A": {
   "type": "array",
   "description": "Matrix (2D array)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success",
  "result",
  "computation"
 ],
 "properties": {
  "result": {
   "type": "object",
   "description": "Computation result varies by endpoint"
  },
  "success": {
   "type": "boolean",
   "description": "Always true on success"
  },
  "computation": {
   "type": "string",
   "description": "Human-readable description of what was computed"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/numora-matrix-trace-78be128b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from numormor.netlify.app](https://www.zero.xyz/host/numormor.netlify.app/llms.txt)
