Duo Data Utilities – Money Allocation / Split is a paid API for AI agents from api.duoleads.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-02).
Splits a monetary amount into N equal parts or by custom ratios, distributing any remainder cent-by-cent using a deterministic rule so parts always sum exactly to the original.
Split a money amount into shares without losing or inventing a cent. Divide evenly into N parts, or by a list of ratios, and the remainder is distributed one minor unit at a time by a named, deterministic rule — largest-remainder, first-wins or last-wins — so the parts always sum exactly to the original. Uses Unicode CLDR minor-unit digits, so zero- and three-decimal currencies work (CLDR differs from ISO 4217 for a few, e.g. IDR, HUF: 0).
Returns a JSON object with an array of share amounts in decimal and in minor units, the applied remainder rule, total, currency code, minor unit precision, and the number of minor units redistributed. Also includes metadata: request ID, computation timestamp, CLDR data source attribution, and a deterministic flag confirming the result is reproducible.
GEThttps://api.duoleads.com/v1/num/allocate?utm_source=zero.xyzChoose this endpoint when you need mathematically guaranteed exact allocation of a money amount — where the sum of shares must equal the original to the last minor unit. Ideal for bill splitting, revenue sharing, installment schedules, or any financial distribution where floating-point rounding errors are unacceptable. The deterministic remainder rules (largest-remainder, first, last) make results auditable and reproducible. Prefer over general-purpose division when currency-aware minor-unit handling is required, especially for zero- or three-decimal currencies like JPY or KWD.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"ok": true,
"data": {
"rule": "largest-remainder",
"total": "100.00",
"shares": [
"33.34",
"33.33",
"33.33"
],
"currency": "EUR",
"minor_units": 2,
"shares_minor": [
3334,
3333,
3333
],
"remainder_distributed": 1
},
"meta": {
"sources": [
{
"id": "iso-4217",
"licence": "Public data (owner decision 2026-09-29)",
"version": "SIX list one 2026-09-17, list three 2026-01-01",
"published": "2026-09-17",
"attribution": "ISO 4217 currency and funds code lists, published by SIX Group as secretariat of the ISO 4217 Maintenance Agency (public data)"
}
],
"price_usd": "0.05",
"disclaimer": "Factual output of a deterministic computation over public data. Provided as is, with no warranty of accuracy, completeness or availability. Not investment, financial, legal, tax, medical or any other professional advice, and not a recommendation. Verify before relying on it. Terms: https://api.duoleads.com/terms",
"request_id": "01K6B7Q4ZC8H3F2M9WXR5TYN0D",
"computed_at": "2026-09-28T12:00:00.000Z",
"deterministic": true
},
"route": "/v1/num/allocate",
"version": "1.0.0"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"