7 Ways to Limit API Use

John Musser, February 15th, 2006

Nearly all API providers place some sort of usage limits on their APIs. While not getting into the reasons why they do this — be it controlling costs, preventing abuse or other — it wasn’t until this week while updating the API database that I realized just how many ways this can be done. Here’s a sampling that shows the types and some representative examples:

  • Time based limits: 1 call per second (Last.fm)
  • Call Volume by Address: 5,000 queries per IP per day (Yahoo! Image Search)
  • Call volume per-application: 10,000 queries per application per day (MSN Search)
  • Return results volume: 10 results per query (Google Search), 100 items returned per call (Tailrank), 100 blogs per map (FeedMap)
  • Data Transmission Volume: 120 packets of 1.6KB per minute (MSN Messenger)
  • Formula: Monthly quotas based on various factors (Google AdWords)
  • Kindness of strangers: “Please be gentle with Simpy’s server” (Simpy)

The above can, and are, used in combination. And there’s probably more ways than these. Of course arrangements can be made with API providers to work around these limits. But that’s a different discussion. Maybe one for MashupCamp.

6 Responses to “7 Ways to Limit API Use”

February 15th, 2006
at 12:53 pm
Comment by: Chris Radcliff

Yes, let’s continue this discussion at Mashup Camp. Perhaps at the Business Models in Mashups session? (http://www.mashupcamp.com/index.cgi?BusinessModelsInMashups)

February 15th, 2006
at 1:34 pm
Comment by: John

Sounds good Chris. The Business Models in Mashups should be one of the more interesting sessions. Actually, I’ll bet it’ll probably be more of an ‘ongoing theme’ of the event…

February 15th, 2006
at 6:01 pm
Comment by: Haiqi Liang

Good. Another question, when I look through the API list, I find most of them are providing APIs through SOAP WS, REST, RSS, or javascript, is it possible to have a summary of the ways that Web20 apps provide APIs and how each kind of APIs is consumed?
Thanks.

February 15th, 2006
at 6:50 pm
Comment by: John

Haiqi, yes, summary statistics on how APIs are provided are coming soon. Getting specifics on how they are consumed will be more difficult as not all API providers disclose those sorts of details. At least as far as I’m aware.

February 16th, 2006
at 12:26 am
Comment by: links for 2006-02-16 | Edward O’Connor

[...] 7 Ways to Limit API Use A look at the various ways you can meter API usage. (tags: web2.0 api business) [...]

April 2nd, 2007
at 12:11 am
Comment by: ProgrammableWeb.com » Blog Archive » 12 Ways to Limit an API

[...] The vast majority of the over 400 open APIs listed here have imposed some limitations on how much they can be used, certainly in the free use model. There are good reasons for this ranging from preventing abuse, controlling costs, or other business-driven reasons. Just over a year ago, in 7 ways to limit API use we looked at some of these. With twice as many APIs now listed it’s a good time to check back and see what other ways APIs get throttled. As a refresher, here’s the original list: [...]

Leave a Reply

  1. (not published)

Mashery: The Premier API Management Solution

Become a ProgrammableWeb Sponsor

Follow the PW team on Twitter

ProgrammableWeb
APIs, mashups and code. Because the world's your programmable oyster.

John Musser
Founder, ProgrammableWeb

Adam DuVander
Executive Editor, ProgrammableWeb. Author, Map Scripting 101. Lover, APIs.