News for hackers. Stuff that matters.

Ask HN: How to bill for an API?

I almost done coding an API that target mainly developers (Take arbitrary S3 files and stream it immediately as zip file.), I wonder what will be the best way to bill the customers. I think I want to provide a free access until a certain volume. I am thinking of 3 main paths:

A: Monthly subscriptions, a credit allowance that refresh every month.

B: Package of credits, you buy a bunch of credits then you can use the API

C: Amazon style billing, you use the API then you are billed according to your actual consumption.

Any advices/experiences?

( 4 comments | 3 points | on HN )
Re:Ask HN: How to bill for an API? by nwrk on Friday May 22, 2015 @10:07PM (#9591733)
How about Mashape [https://www.mashape.com/] for easy start ?

You can test waters with consumption model and start in no time.

Re:Ask HN: How to bill for an API? by anthony_franco on Friday May 22, 2015 @08:59PM (#9591597)
If you're targeting developers using S3, then they'd be most comfortable with Amazon style billing I would thing. It's probably best to align with that thinking.
Re:Ask HN: How to bill for an API? by leesalminen on Friday May 22, 2015 @08:42PM (#9591569)
I'd go with a mix of A and B. Package of credits that expire after some period of time.

C is more risky than all other options.

Re:Ask HN: How to bill for an API? by creyes123 on Friday May 22, 2015 @08:44PM (#9591575)
With Amazon-style billing, you would not necessarily have to offer a free tier. That would be my recommendation.