How to calculate option premium while selling option without looking Bid-Ask as I wan to place limit order by API?

I want to place an limit order through API for option selling, that’s why I need to Calculate Option premium without looking bid-ask price. How to do that? could you give me the easiest formula So I can place limit order at fair price?

black scholes model.

Yeah know that but where to get all the data to feed the formula….

no other option but to get data from some paid api or somewhere. if your requirement is to somehow eat vada pav, then without vada and pav there is no question of vada pav

If i want to get data from paid market….I would have not posted this discussion…… I want to learn how to make vada pav then I will be really enjoying to eat.