There are several things going on here.
1. Given a Transaction ID you want to find the Transaction.
2. You want to know which Block the transaction was included in.
It would be relatively simple to add this to the existing API *except* that the node running with this feature enabled would require extra RAM.