1. An apparatus comprising: a transceiver configured to receive a request including a target application resource accessible to an application programming interface (API) executable on the apparatus; a memory storing a description of the API; and a processor communicatively coupled to said transceiver and said memory and configured to: access the description of the API; generate an API model based on the description, wherein said API model comprises a plurality of elements corresponding to application resource representations and a plurality of weights corresponding to application transitions and associated with a plurality of API calls; determine, based on the plurality of weights, a selected sequence of elements between a first and a second element of the plurality of elements, the first element corresponding to an initial application resource accessible to the API and the second element corresponding to the target application resource; generate selected API calls based on a selection of the application resource representations and the application transitions corresponding to the selected sequence; and send the selected API calls to a client device.