Live data from Hacker News

How APIs should be: Drop in keys, running in 1 minute

blog.singly.com

11–15 of 15 posts

Re: How APIs should be: Drop in keys, running in 1 minute

#11
post #9

Apropos of nothing: if one is making decisions based on estimates of probable conversion rates, my ballpark for "web page visitor -> makes at least one API request" would be closer to 1/100th of 2% than to 2%. You're probably better off going for an intermediate conversion ( cough get their email cough ) and then selling them into using the API over time, since this is a thing that the best prospects won't exactly do…

At Pwinty- we collect emails (conversion rate 5-10%), and then try and guide users through the process.

Firstly- its a great way to engage with users where you might not offer exactly what they want (do you print canvases, how about xyz). We get most of our feature ideas from our users wanting something that we don't yet offer.

I also try and schedule in a Skype call with all of our users to understand exactly what they want from us, and how we can help them (I think this also convinces them that there's a real person there they can do business with).

Once we've got their emails, we probably convert about 20% into 'making API calls'. However, I'm expecting that to increase over time (lots of people sign up, but are just working out how they're going to build their app, rather than actually doing it).

It's also worth following up non-active users after 1,3 and 6 months. You can often get useful info that you'd otherwise miss 'we decided not to use you because x,y,z; we canned the project but are keen to use you in the future etc)

Re: How APIs should be: Drop in keys, running in 1 minute

#12
post #9

Apropos of nothing: if one is making decisions based on estimates of probable conversion rates, my ballpark for "web page visitor -> makes at least one API request" would be closer to 1/100th of 2% than to 2%. You're probably better off going for an intermediate conversion ( cough get their email cough ) and then selling them into using the API over time, since this is a thing that the best prospects won't exactly do…

At Pwinty- we collect emails (conversion rate 5-10%), and then try and guide users through the process. Firstly- its a great way to engage with users where you might not offer exactly what they want (do you print canvases, how about xyz). We get most of our feature ideas from our users wanting something that we don't yet offer. I also try and schedule in a Skype call with all of our users to understand exactly what t…

I very much regret that I have only one upvote to give for this comment, because every API company should be doing that. (Most of the very successful ones do already, but since many API companies start with two hackers and a couple of boxes of ramen, you can greatly increase your chance of success by taking this comment and executing on it.)

Re: How APIs should be: Drop in keys, running in 1 minute

#13
post #10
post #8

Earlier quoted context omitted.

We implemented something similar for The OpenPhoto Project where every URL a user visits is a visual representation of an API endpoint. My site, for example, is at http://jmathai.openphoto.me/photos/list . You can add ".json" to the end to see the JSON representation of that page. http://jmathai.openphoto.me/photos/list.json . The same rule applies across the site. We wrote about it a while back. http://blog.theopenp…

this seems like pretty standard REST

It's REST-ish. But the highlight I was hinting at is making the API itself be more discoverable. We did it by mapping the API directly to the web UI such that html just becomes the default format type of the API.

Re: How APIs should be: Drop in keys, running in 1 minute

#15
> The bottom line is that the single most important step in converting developers to permanently use your API in their product is how easy it is for them to get started after they sign up.

I take issue with this. If the single most important step to converting developers to /permanently/ using your API isn't something like scalability, security, performance, or functionality, there is something wrong with this world.

Just because you get more people to succeed in trying your API at the beginning, if it doesn't work for their use case over the long haul they are just going to leave and do something else: the key word is then "permanently".

In comparison, Amazon's APIs are often ludicrously complex. Even if you try to use Amazon's client libraries, they are often ludicrously complex, requiring you to construct object factories to get arguments even for the most common request paths.

But, by and large, Amazon's services don't stop working when you get too much data, have well-thought-out authorization mechanisms, have never become randomly slow as lots of users sign up for the service, and are sufficiently flexible to support many different kinds of tasks.

The fact that the first time I sat down and used Amazon's APIs it took me a while to get them working (and that some APIs from them I still haven't gotten around to learning all the properties of) is then irrelevant: I could tell they would do what I wanted once I figured it out, and I have never been disappointed.

Meanwhile, I've come across tons of random startups, often that have websites that are a "little too Web 2.0" (normally a negative indication for an API provider, btw), whom have APIs (or libraries, or daemons, or services, or programming languages) that are great at first but actually sucked.

(I mostly felt the need to make this comment, btw, due to someone else in this thread seemingly arguing against OAuth because, despite being secure, it made the API sufficiently complex that they could no longer use curl with it: that is the opposite method from how you should be choosing an API.)

Post reply on HN