I'm not sure how many use the API like this but it might encourage its use more to balance the ports.
Aren't these things done within the miner instead? Miners just set failover pools and that's pretty much it, when the first pool:port in your list of pools is not accepting connections anymore your miner just switches to the next one.