TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Adventures in running a free public API

43 pointsby fcambusover 9 years ago

5 comments

geuisover 9 years ago
Well, this is interesting.<p>I&#x27;ve been running <a href="http:&#x2F;&#x2F;jsonip.com" rel="nofollow">http:&#x2F;&#x2F;jsonip.com</a> for 4-5 years.<p>Right now, it&#x27;s averaging 10 million requests a day.<p>I don&#x27;t do any logging other than total bandwidth usage, in and out. I <i>have</i> been getting numerous noticed from my host because I haven&#x27;t bothered to update the usage alarm levels. I&#x27;ll adjust that when it matters.<p>Basically, I don&#x27;t give a shit what you&#x27;re using it for. Only <i>one time</i> in the last 4 years have I had to explicitly take action against an abusive user. If you&#x27;re the dipshit with the misconfigured squid proxy a few years ago that got the 418 You&#x27;re a teapot response, you know who you are.<p>Btw jsonip is a node.js service. It&#x27;s been working at scale, just fine, and will continue to in the future.
评论 #10580051 未加载
Animatsover 9 years ago
I have a free API which provides business rating info about the business behind a web site.[1] Try:<p><pre><code> http:&#x2F;&#x2F;www.sitetruth.com&#x2F;fcgi&#x2F;rateapiv3.fcgi?url=ycombinator.com&amp;format=json&amp;key=guest </code></pre> It gets modest usage. We can limit usage based by &quot;key&quot;, but currently don&#x27;t have to. It does have fair queuing; if you submit a large number of requests from the same IP address, you won&#x27;t delay requests from other IP addresses. This is enough to deal with anything short of a determined DDOS.<p>[1] <a href="http:&#x2F;&#x2F;www.sitetruth.com&#x2F;doc&#x2F;sitetruthapi.html" rel="nofollow">http:&#x2F;&#x2F;www.sitetruth.com&#x2F;doc&#x2F;sitetruthapi.html</a>
ogurechnyover 9 years ago
How was the service “abused” by malware? There&#x27;s plenty of other ways to get computer&#x27;s external IP address from public or private-but-always-accessible sources, and a bit less to get some location data. I doubt the shutdown creates any significant problems for nefarious users.
gueloover 9 years ago
A lot of the history of the internet seems to repeat this theme, idealistic engineers make assumptions that other people are going to be nice and considerate only to discover that there are a lot of assholes out there.
评论 #10579750 未加载
评论 #10579936 未加载
voltagex_over 9 years ago
There was another post along these lines about running some kind of pastebin clone but I can&#x27;t find it.
评论 #10579864 未加载