calculate_royalty_split
Calculates royalty splits and estimated earnings for music rights deals. Handles songwriter/publisher splits, producer points, co-writer splits, sync fee splits, and streaming payout estimates. Works for any music — not limited to the OnChain Music catalog. Useful for artists, managers, agents, and label tools that need to model deal economics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| streams | No | Number of streams. Used for streaming_estimate. | |
| writers | No | Array of co-writers with their percentage splits. Used for co_writer_split. Each item: { name: string, percentage: number }. Percentages must sum to 100. | |
| platform | No | Streaming platform for payout estimate. Use "average" for a blended estimate across platforms. | |
| sync_fee | No | Total sync licensing fee in USD. Used for sync_fee_split. | |
| units_sold | No | Number of units sold. Used for producer_points calculation. | |
| gross_royalties | No | Total gross royalties collected (in USD). Used for songwriter_publisher_split and co_writer_split. | |
| producer_points | No | Number of producer points (percentage of master royalties). Used for producer_points calculation. Example: 3 for 3 points. | |
| calculation_type | Yes | The type of royalty calculation to perform. | |
| artist_royalty_rate | No | Artist royalty rate as a percentage of label revenue (0-100). Used for streaming_estimate. Example: 18 for a standard 18% royalty deal. Use 100 for independent artists keeping all revenue. | |
| master_royalty_rate | No | Master royalty rate as a percentage (0-100). Used for producer_points. Example: 18 for an 18-point deal. | |
| publisher_percentage | No | Publisher's percentage of the songwriter share (0-100). Used for songwriter_publisher_split. Example: 50 for a 50/50 co-publishing deal. | |
| suggested_retail_price | No | Suggested retail price of the album in USD. Used for producer_points calculation. Example: 9.99. | |
| master_owner_percentage | No | Master rights owner's share of the sync fee as a percentage (0-100). Used for sync_fee_split. Typically 50% goes to master, 50% to publishing. | |
| publisher_sync_percentage | No | Publisher's share of the sync fee as a percentage (0-100). Used for sync_fee_split. The remainder goes to the songwriter. |