Docs :
https://docs.blocksdk.com/bitcoinGET https://api.blocksdk.com/v1/btc/block
{
"height":660576,
"time":1607485164,
"bestblockhash":"0000000000000000000e0de0e7836a71c4a7b430f3b4165317d01c21767b3a36",
"prev_hash":"00000000000000000006840989a7eed580d7dcfc7635fb43f484a16c8e1b2a6b",
"unconfirmed_count":74061,
"low_fee_per_kb":0.00007,
"medium_fee_per_kb":0.00011
,"high_fee_per_kb":0.00023
}
This is not a estimate fee script.
It is an api response of one estimation.
An script would show how it is calculated.