131 points · by artembugara · 6y ago · 23 comments
It will be more of a "How I released my API without managing a website, servers, users, and payments. With 0$ up-front cost"
Over the past year, I have come up with a plan of how I could release my own product without having to deal with managing users and/or dealing with payment processing.
It is a 3 steps procedure: 1. Make an API that solves a problem 2. Deploy it with a serverless architecture 3. Distribute through an API Marketplace
That took me about 2-3 days to develop an API using Flask, deploy it via Zappa on AWS, and release through RapidAPI.
Source code of API: https://github.com/kotartemiy/extract-news-api Subscribe to API on Rapid: https://rapidapi.com/provider/4109621/apis/extract-news/user... I'm on ProductHunt today: https://www.producthunt.com/posts/extract-news-api
Full article on how I did it: https://towardsdatascience.com/api-as-a-product-how-to-sell-...
For devs, I open-sourced the full code.
Also, one thing to understand is that it can be quite expensive for some companies to deploy it. They might need servers, developers, testers, etc. In some cases, it is just cheaper to buy it.
Given how popular the project is and the owner's absence, community ownership seems like a no-brainer.
* What is the market size of developers companies that pay to have such wrapper APIs?
* What would pricing for something like this look like?
* What is the hit / miss ratio of API ideas?
I was thinking of putting together datasets and listing on similar marketplaces. Anyone have any information to share on this?
1) https://currentsapi.services/en
2) https://contextualweb.io/news-api/
Fetch the article
=> Run it through Mozilla Readability library
=> Extract plain content
https://github.com/sheshbabu/readable-scraper/blob/master/in...
Looking at yours(This has become some sort of a habit at this point but first thing I did was scroll through the code) the first thing that struck me were the 55 dependencies. Woah...
Not sure if it is just a Python thing.
Serverless seems like another great tool (supports many languages and many platforms): https://github.com/serverless/serverless
[0] https://www.reddit.com/r/autotldr/comments/31b9fm/faq_autotl...