Is it possible to fetch execution price via API

Is there a way to query the execution price of an order you placed using Python? Any sample code would be much appreciated!