Patent attributes
A management server may receive a first application programming interface (API) call from a client device, and determine a first API difference value between a revenue resulting from an execution of the first API call and an amount of resources to be involved in the execution of the first API call. The management server may also calculate an average difference value of API calls received from the client device in view of the first API difference value and previous API difference values determined for previous API calls received from the client device. The management server may further determine whether the average difference value satisfies a threshold. In response to determining that the average difference value satisfies the threshold, the management server may allow the API call. In response to determining that the average difference value does not satisfy the threshold, the management server may reject the first API call.