Workers KV very slow accessing data thought API

Hello. I have an ecommerce and I use KV database to store the user’s cart information. The key is a UUID and the value It’s a simple json around 1KB of size.

When I’m trying to get the information using CF API (from outside workers) i get 1-1.5 seconds to get this information. Is this normal?{account}/storage/kv/namespaces/{namespace}/values/{cart_id}

Yes, CF API requests are much much slower than CF Worker internal KV reads. I’d not recommend using the CF API for production use-cases, better to use directly from inside workers. Both in terms of performance and rate-limiting (which applies to the CF API).