The API can speak to any node in the cluster, the cluster will return which node is least loaded. Please see the whitepaper.