Returns the current fee rates for the usual confirmation targets together with the state of the mempool behind them, and then does the part that is usually missing: it estimates the virtual size of the transaction you describe and computes the resulting total fee in satoshis for each target.
https://finanz.halowerk.com/v1/bitcoin-fee-forecast