Very Simple API with only function :P
Default interval: 30 min
Where interval = time interval for averaging profitability ie /api/json/60/ return average profitability for the last hour. Minimum interval - 5 minutes. Also returns a list of forks (with average and current percentage of profitability) and as a separate item (mine_it) returns what fork recommended to mine at this moment (with average and current percentage of profitability).
Leave your suggestions.
Also write what functionality you want to use via the API