jBeas
jBeas

Reputation: 926

Limit API Calls, Microsoft Cognitive Services Bing News API

I signed up for the paid Microsoft Cognitive Services Bing News API.

Is there a way in the Cognitive Services API's to limit calls so billing doesn't get out of control?

For example it would be great if the account shut down at 100k calls a month VS the default which allows the calls to go over and charges me overages of $30 per 10k.

Upvotes: 1

Views: 474

Answers (1)

David Makogon
David Makogon

Reputation: 71026

There are no built-in throttle mechanisms in the Cognitive Services API's (aside from the free tier which limits monthly access).

You'll need to build some type of metering into your app to be aware of call counts (and how you accomplish that is really up to you).

Upvotes: 1

Related Questions