# ForgeKit Money Allocate

> ForgeKit Money Allocate is a paid API for AI agents from useforgekit.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Distributes a total monetary amount across weighted buckets using the largest remainder method to ensure the parts sum exactly to the total

## Facts

- Endpoint: POST https://useforgekit.dev/api/v1/compute/money/allocate
- 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/forgekit-money-allocate-fe2d190a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ReONqDBcIYaaKKoDkmxOa

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 forgekit-money-allocate-fe2d190a -d '<json body>'
```

Example prompt: Split $1,234.56 across three partners with weights 50, 30, and 20 — make sure the parts add up exactly to the total using largest remainder rounding.

## When to prefer this

Use this endpoint when you need to split a monetary total into parts that must sum exactly to that total (no rounding errors), especially when the number of recipients and relative weights are known. It is preferable over naive percentage multiplication when exact-sum guarantees matter, such as in financial reporting, revenue sharing, or invoicing.

## Known failure modes

- Weights array is empty or missing — likely returns a 400 error
- Total is not a valid numeric string — parsing error or 400
- Weights sum to zero — division by zero or error response
- Negative weights provided — undefined behavior or error
- Non-numeric values in weights array — schema validation failure

## How this service works

ForgeKit money allocate (largest remainder, exact sum)

## Output

An array of monetary values corresponding to each weight, computed so that the individual rounded amounts sum exactly to the provided total — achieved via the largest remainder (Hamilton) method to eliminate rounding gaps or surpluses.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "total": {
   "type": "string"
  },
  "weights": {
   "type": "array",
   "items": {
    "type": "number"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgekit-money-allocate-fe2d190a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from useforgekit.dev](https://www.zero.xyz/host/useforgekit.dev/llms.txt)
