# PrimeAPI Fraction Math Calculator

> PrimeAPI Fraction Math Calculator is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.165537/call, status unknown (last checked 2026-09-14).

Performs mathematical fraction operations and computations based on a natural language or expression query

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/tools/math/fractions
- Price: $0.165537/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-fraction-math-calculator-dfdf1c93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v50NY9xf1bA-Tmug4oEwp

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 primeapi-fraction-math-calculator-dfdf1c93 -d '<json body>'
```

Example prompt: What is 3/8 plus 5/12 simplified to its lowest terms?

## When to prefer this

Use this endpoint when an agent needs to perform fraction-specific arithmetic — addition, subtraction, multiplication, division, simplification, or conversion — especially when free computation libraries are unavailable or a paid, reliable API response is preferred.

## Known failure modes

- Invalid or unparseable fraction expression returns error
- Non-fraction math queries may return irrelevant or empty results
- Ambiguous query string may yield incorrect interpretation
- Payment failure (402) if USDC balance insufficient

## 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 the result of the fraction computation, likely including the simplified fraction, equivalent decimal, and step-by-step or direct answer to the math query posed.

## 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/primeapi-fraction-math-calculator-dfdf1c93/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
