Time Difference in Web3API Response Times

I noticed a big difference when calling the API from the portal vs cURL request on my local machine.

For example if Iā€™m querying /nft/transfers it would take 300ms but when I use cURL it takes 2 seconds.

Any ideas as to why?

I would expect it to be the other way around, curl to be faster than the interface.

you are using the same network in both cases?

Yes, Iā€™m using the same network.

Can you give some example of parameters? Maybe it is because of caching if you run it first in the interface and then with curl.