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.

Ask HN: Is it illegal to hit a public API from my native app?

3 pointsby arvindrajnaiduabout 5 years ago
Hi have an app the uses a un-protected public API. The API owners do not like me using it.<p>My servers never hit these APIs. The calls go straight from the APP.<p>My users are made to acknowledge the fact that this is happening. The app is free.<p>I know, I have to get legal advice. Has anyone faced a situation like this?

4 comments

mtmailabout 5 years ago
&gt; The API owners do not like me using it.<p>If the API owner gained knowledge and warned you they could now claim damages in a civil lawsuit. You&#x27;re an enabler. You&#x27;re trying to defer the obligation to your users while ignoring the easier approach to disable the feature. It&#x27;s tricky with open source software since anybody could have a copy and continue, or use an old version. A court (more likely lawyers sending letters to each other) would question if you did everything in your power to stop the API access.<p>&gt; anyone faced a situation like this?<p>As API owner multiple times. App is for, let&#x27;s say, taxi drivers. Each user is expected to create a free account and does some small usage. Taken together it would not be covered by a free account. The app developer charges money and instead of creating a paid account with us tells all users to have free accounts. We don&#x27;t sue but we have deleted accounts and added IP blocks over this.<p>From what I&#x27;ve seen one approach is not to ask users to acknowledge, that&#x27;s a click of a button I assume. It needs to be more actively. Like a field the user has to fill out with a URL, a plugin that needs to be installed separately or a small piece of code that needs to be written (if it&#x27;s a software library). Then you can claim the user is in control and chose to use that API.
评论 #22539189 未加载
sarcasmatworkabout 5 years ago
Dont be surprised when you can no longer access or they want you to pay. I&#x27;d rather not have to depend on 3rd party for my app. My $0.02.
elietoubiabout 5 years ago
It really depends. Are there term &amp; conditions on the API access?
评论 #22539216 未加载
planetzeroabout 5 years ago
Even if it&#x27;s not illegal, basing your application on an API you can&#x27;t control and may lose access to if the owner cuts you off or decides to charge you for access, is a bad idea.
评论 #22539196 未加载