You can call
getrawmempool true
(mind the
true = verbose).
If you have to do multiple rpc calls, check out the JSON RPC 2.0 batching options (since bitcoind 0.7 aggregate multiple rpc calls in one). If you need more details check the bitcoin-core source and search after
static string JSONRPCExecBatch(const UniValue& vReq)
There is a pull request for mempool REST call (
https://github.com/bitcoin/bitcoin/pull/6013).
Thanks
Batched json rpc sounds good. I am using
https://github.com/jgarzik/python-bitcoinrpc , not sure if it supports batch mode , will try .