# Forge Mesh Geometry Calculator

> Forge Mesh Geometry Calculator is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Computes exact area, perimeter, volume, and surface area for common 2D and 3D shapes given their dimensions

## Facts

- Endpoint: POST https://x402.forgemesh.io/geometry-calculator
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forge-mesh-geometry-calculator-dd0e493e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MLAXC9tshbrsVKDGNG66_

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 forge-mesh-geometry-calculator-dd0e493e -d '<json body>'
```

Example prompt: What is the volume and surface area of a cylinder with a radius of 4 and a height of 10?

## When to prefer this

Choose this endpoint when you need exact, programmatic geometric calculations for standard 2D or 3D shapes without relying on a language model's arithmetic — especially useful in engineering, education, or data-pipeline contexts where numeric precision matters.

## Known failure modes

- Missing required dimension fields for the requested shape (e.g. no radius for circle)
- Invalid shape name not in supported enum (circle|rectangle|triangle|sphere|cylinder|cone|cube|rectangular_prism)
- Non-numeric or unparseable dimension values
- Payment failure or insufficient USDC balance ($0.002 per call)

## How this service works

Geometry calculator API: area, perimeter, volume, and surface area for circles, rectangles, triangles, spheres, cylinders, cones, cubes, and prisms — from dimensions. Exact.

## Output

Returns exact computed geometric measurements (area, perimeter, volume, surface area) for the specified shape and dimensions — numeric results with no approximation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "a": {
   "type": "string"
  },
  "b": {
   "type": "string"
  },
  "c": {
   "type": "string"
  },
  "base": {
   "type": "string"
  },
  "side": {
   "type": "string"
  },
  "shape": {
   "type": "string",
   "description": "circle|rectangle|triangle|sphere|cylinder|cone|cube|rectangular_prism"
  },
  "width": {
   "type": "string"
  },
  "height": {
   "type": "string"
  },
  "length": {
   "type": "string"
  },
  "radius": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "shape": "sphere",
  "volume": 523.598776,
  "surface_area": 314.159265
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forge-mesh-geometry-calculator-dd0e493e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
