Run a docker container based api on top of tendermint

I have a docker container which has an api running on it on some port in my system. Like if i curl to that port i get a json response if its Rest.

i would like this api to give out results to the tendermint nodes.

Is it possible to make this? If yes can you suggest me how to ?