# OmniAPI Matrix Math Tool

> OmniAPI Matrix Math Tool is a paid API for AI agents from omni-api-cyan.vercel.app, paid per call via x402, $0.037879/call, status unknown (last checked 2026-09-15).

Performs matrix computations and linear algebra operations via a paid per-call API using USDC micropayments over x402.

## Facts

- Endpoint: POST https://omni-api-cyan.vercel.app/api/tools/math/matrix
- Price: $0.037879/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omniapi-matrix-math-tool-56cc9bf3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_82M97e7KYdxXdBjAZmged

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 omniapi-matrix-math-tool-56cc9bf3 -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need quick, on-demand matrix and linear algebra computations without standing up your own math library or server, especially in agent workflows that already use x402 USDC micropayments. It fits well in pipelines where matrix operations are occasional rather than high-volume, making per-call pricing practical. If you need deep numerical computing, specialized solvers, or bulk batch operations, a dedicated math library or service may be more cost-effective.

## Known failure modes

- Invalid or non-square matrix provided for operations requiring square matrices (e.g. inversion, determinant)
- Malformed matrix input string causing parse errors
- Singular matrix provided for inversion (no inverse exists)
- Payment failure or insufficient USDC balance via x402 protocol
- Ambiguous or unsupported mathematical query string
- Missing required 'query' field in request body

## How this service works

444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.

## Output

Returns a JSON object containing the result of the requested matrix operation — typically the output matrix, scalar value (e.g. determinant, trace), or decomposed components depending on the query. The response schema is a generic API response object.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Input data for the endpoint"
  },
  "query": {
   "type": "string",
   "description": "Search query or input text"
  },
  "params": {
   "type": "object",
   "description": "Additional parameters"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/omniapi-matrix-math-tool-56cc9bf3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from omni-api-cyan.vercel.app](https://www.zero.xyz/host/omni-api-cyan.vercel.app/llms.txt)
