# NexusAPI Matrix Math

> NexusAPI Matrix Math is a paid API for AI agents from nexus-api-peach-nine.vercel.app, paid per call via x402, $0.158326/call, status unknown (last checked 2026-10-23).

Performs matrix operations and computations on provided matrix data via a natural-language or structured query input

## Facts

- Endpoint: POST https://nexus-api-peach-nine.vercel.app/api/tools/math/matrix?utm_source=zero.xyz
- Price: $0.158326/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-matrix-math-e511d3ca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wcyIMnPAsjse4-cgIYW3U

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 nexusapi-matrix-math-e511d3ca -d '<json body>'
```

Example prompt: Can you multiply these two matrices for me: [[1,2],[3,4]] and [[5,6],[7,8]]? Give me the resulting matrix.

## When to prefer this

Use this endpoint when an AI agent needs to perform linear algebra or matrix computations without spinning up a local math library, especially in environments where code execution is not available. Useful for quick matrix ops like multiplication, inversion, determinant, or transpose as a paid micro-service.

## Known failure modes

- Invalid or malformed matrix input returns an error response
- Non-square matrix provided for operations requiring square matrices (e.g. determinant, inverse)
- Dimension mismatch for multiplication returns an error
- Unrecognized operation type in query string returns unclear or empty result
- Payment failure in USDC results in HTTP 402 and no computation is performed

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns a JSON object containing the result of the requested matrix operation, such as a product matrix, determinant scalar, inverse matrix, or other computed output depending on the query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nexusapi-matrix-math-e511d3ca/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-peach-nine.vercel.app](https://www.zero.xyz/host/nexus-api-peach-nine.vercel.app/llms.txt)
