# OmniAPI Fraction Math Tool

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

Performs fraction arithmetic and mathematical operations on fractional expressions via a pay-per-call API

## Facts

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

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-fraction-math-tool-4c52951c -d '<json body>'
```

Example prompt: Can you calculate 3/4 plus 5/6 and simplify the result to its lowest terms?

## When to prefer this

Choose this endpoint when you need programmatic, on-demand fraction arithmetic — such as simplification, addition, subtraction, multiplication, or division of fractions — and want to pay per call in USDC without a subscription. Useful in agentic workflows that need reliable math computation without embedding a local math library.

## Known failure modes

- Invalid or unparseable fraction expression returns an error response
- Division by zero in denominator causes computation failure
- Malformed query string results in a 400-level error
- Network or payment authorization failure via x402 returns 402 Payment Required
- Ambiguous or unsupported operation type may return a generic error

## 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 the result of the requested fraction operation, typically including the simplified fraction, possible decimal representation, and intermediate steps such as common denominators or reduced forms.

## 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-fraction-math-tool-4c52951c/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)
