{"uid":"cap_GHOP_2k6KA4E6iAKImXue","slug":"halowerk-royalty-split-calculator-8351b053","name":"Halowerk Royalty Split Calculator","description":"Requires shares totaling exactly 10,000 basis points, floors each proportional minor-unit allocation, and distributes leftover units by descending fractional remainder with a stable name tie-break. It performs arithmetic only and does not transfer funds, interpret contracts, withhold tax or resolve rights ownership.","url":"https://creator.halowerk.com/v1/royalty-split","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z0-9_-]+$","maxLength":12,"minLength":3},"recipients":{"type":"array","items":{"type":"object","required":["name","share_basis_points"],"properties":{"name":{"type":"string","maxLength":128,"minLength":1},"share_basis_points":{"type":"integer","maximum":10000,"minimum":0}},"additionalProperties":false},"maxItems":1000,"minItems":1},"total_minor_units":{"type":"integer","maximum":900000000000,"minimum":0,"description":"Whole minor currency units, for example cents; bounded so basis-point products remain exact JavaScript integers."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-mpXxE3DZZJxPZT48BzYP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Splits a total monetary amount (in minor currency units) among named recipients according to basis-point shares, using floor-and-remainder distribution to ensure exact allocation with no rounding loss.","exampleAgentPrompt":"Split $12,500.00 (1250000 cents, USD) among three co-writers: Alice gets 5000 basis points, Bob gets 3000, and Carol gets 2000 — use floor-and-remainder rounding so the cents add up exactly.","exampleUseCases":[{"title":"Music co-writer royalty split","prompt":"I need to divide a $847.33 streaming payout (84733 cents) in USD among four songwriters: Maya at 4000 basis points, Jerome at 3000, Priya at 2000, and Sam at 1000 — make sure every cent is accounted for with no rounding errors."},{"title":"Creator ad revenue distribution","prompt":"A YouTube channel made $2,156.78 (215678 cents) in ad revenue this month in USD. Split it between three co-owners: Studio at 6000 basis points, Host at 2500, and Editor at 1500 — I need the exact cent amounts for each person."},{"title":"Multi-artist sync licensing fee split","prompt":"We landed a $50,000 sync deal — that's 5000000 cents in USD. Divide it among five collaborators: Producer 3500 bps, Vocalist 2500 bps, Lyricist 2000 bps, Mixer 1000 bps, and Mastering Engineer 1000 bps. Use the remainder distribution so nobody loses a cent."}],"resultDescription":"Returns each recipient's allocated amount in minor currency units (e.g. cents), computed by flooring the proportional share and distributing any leftover units to recipients with the largest fractional remainders (tie-broken by name). The sum of all allocations is guaranteed to equal the supplied total_minor_units.","failureModes":["Share basis points do not sum to exactly 10000 — returns validation error","total_minor_units exceeds 900000000000 — returns bounds error","Empty recipients array — returns validation error","Duplicate recipient names may cause unexpected tie-break ordering","Non-integer or negative share_basis_points — returns schema validation error","Currency string not matching pattern (non-uppercase, too short/long) — returns validation error"],"whenToPreferThis":"Use this endpoint when you need mathematically exact, auditable distribution of a fixed total among named recipients with defined percentage shares — especially in royalty, licensing, or revenue-sharing contexts where every minor unit must be accounted for. Prefer it over custom rounding logic when you need a stable, deterministic tie-break rule. It does not execute payments, so pair it with a payment processor to actually move funds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:30:17.831Z","isFirstParty":false}