News for hackers. Stuff that matters.
Re:What’s your API’s “Time To 200”? by resonantjacket5 on Saturday May 22, 2021 @02:47PM (#27249204)
You need to assign the API key to an email both for contacting and also a way to limit abuse.
Re:What’s your API’s “Time To 200”? by 256DEV on Saturday May 22, 2021 @04:12PM (#27249890)
Abuse of free APIs is a big issue, I've definitely experienced it a lot and see other API developers in this thread mentioning it.

With my experience though I found that trying to limit signups to prevent abuse caused so much friction for legitimate users that I actually decide to change my strategy to the following:

1. Allow essentially unrestricted access to the free account on a separate domain/hosting so that people don't feel the need to churn through accounts with bots etc. and the load can be separated out. Hence this page: https://www.exchangerate-api.com/docs/free My signup form actually automatically redirects some classes of disposable email, bot signup etc. to this page!

2. Make sure that anything particularly resource intensive or that's a good reason to sign up for my service is only accessible after payment. I would love to give out more functionality for free but unfortunately the people that take advantage mean it's just not economically possible.

So for me the main reason to get an email address is 1.) so that users can have a better experience - get usage notifications, updates about the API that might affect them, share the account with a colleague etc.

And 2.) so that business users can be satisfied. Pretty much anyone running a company that is relying on an API will want to have an account, see how the upgrade process would work if they needed it etc. even if they're only starting off with a free plan.

Re:What’s your API’s “Time To 200”? by KeepFlying on Saturday May 22, 2021 @02:49PM (#27249223)
But you could give a short lived highly limited API key out for testing to allow the potential user to test the API for their needs before bothering to make an account and providing their personal information.
Re:What’s your API’s “Time To 200”? by stickfigure on Saturday May 22, 2021 @03:45PM (#27249695)
How do you prevent someone from automating repeated "get new temp key"?
Re:What’s your API’s “Time To 200”? by mcint on Saturday May 22, 2021 @03:16PM (#27249479)
Also, a way to register via that temporary api access
Re:What’s your API’s “Time To 200”? by 256DEV on Saturday May 22, 2021 @03:54PM (#27249761)
KeepFlying's idea together with this point is a great suggestion, I'm going to see if I can prototype something along these lines.

Basically hand out tons of short lived credentials right from a widget on the main landing page, together with each API response giving a link to a signup form that can convert the key into a fully fledged account.

Thanks for the suggestion!