# Agent Micro Math Percent Calculator

> Agent Micro Math Percent Calculator is a paid API for AI agents from agent-micro.annushka1190.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Calculates percentage values given two numbers, returning the computed percentage result for use in AI agent workflows.

## Facts

- Endpoint: POST https://agent-micro.annushka1190.workers.dev/v1/math/percent
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-micro-math-percent-calculator-612d2f31
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ubRZy0awJRKLUzlgyCHeT

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 agent-micro-math-percent-calculator-612d2f31 -d '<json body>'
```

Example prompt: What percentage is 45 out of 180? Use the micro-tools percent calculator to get the exact result.

## When to prefer this

Choose this endpoint when an AI agent needs a quick, cheap ($0.001 USDC), serverless percentage computation without spinning up local math logic. Ideal for agents that need stateless arithmetic helpers on demand, especially in workflows already using x402 micropayment infrastructure.

## Known failure modes

- Missing required input fields returns a validation error
- Division by zero scenario (zero denominator) may return an error or undefined result
- Malformed JSON body returns a 400-level error
- Payment not received via x402 protocol returns a 402 Payment Required response
- Non-numeric input values may cause a computation error

## How this service works

Advanced micro-tools for AI agents: cryptographic randomness, text analysis, math helpers, date arithmetic, web metadata, and IP intelligence. All under $0.01 per request, paid in USDC via x402.

## Output

Returns a JSON object with ok:true and the computed percentage value derived from the input numbers. The result is a numeric percentage ready for display or further agent processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "const": "json"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-micro-math-percent-calculator-612d2f31/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-micro.annushka1190.workers.dev](https://www.zero.xyz/host/agent-micro.annushka1190.workers.dev/llms.txt)
