from Hacker News

A Collection of Free Public APIs That Is Tested Daily

by abhas9 on 8/27/24, 6:38 PM with 122 comments

  • by dudus on 8/27/24, 8:49 PM

    The key here is tested daily. The last time I wanted some sample data api it took me way too long to find one because all the ones that were recommended to me were deprecated. It's really tough to keep a free api up, because there's no incentives. You can't sell ads on it.
  • by rozenmd on 8/27/24, 7:12 PM

    (This doesn't apply to every API in the list, but) having made the mistake of using a public API (that later went offline) for examples in a book of mine, never again.

    These days I keep an API deployed on a subdomain I control.

  • by nikisweeting on 8/27/24, 10:36 PM

    I did a similar deep dive to find all the specifically Music-related APIs that are available a few years ago. I've since moved on to other projects but maybe someone will find it useful / maybe OP can add the entries in my list to FreePublicAPIs.com!

    https://docs.sweeting.me/s/music-apis

  • by hsdropout on 8/27/24, 7:23 PM

    I'm glad to see https://isevenapi.xyz/ made the list.
  • by its-summertime on 8/28/24, 1:40 AM

    Not having a free public API for this site is a bit of a joke.
  • by thi2 on 8/27/24, 11:27 PM

    I keep this list bookmarked: https://github.com/public-apis/public-apis Sadly they are missing health checks.
  • by RicoElectrico on 8/27/24, 7:50 PM

    Paraphrasing a known saying, "there's no API, it's just someone else's computer".

    I wish programmers would internalize this. They often seem to take APIs uncritically, not questioning whose resources they're using and where does the data come from as well as its quality beyond obvious cases. APIs are leaky abstractions as all abstractions are.

  • by wackget on 8/28/24, 2:44 AM

    All of the API titles have been replaced by emojis () for me. Is this a bug or is it intentional?
  • by Lerc on 8/27/24, 9:29 PM

    I like this, not only does it let people find the APIs but having a collection like this encourages others to make APIs and to keep them running.

    There's not a lot of incentive to create a service if you feel like no-one will ever know about it. I have had a few thoughts for services that I might have developed if I thought anyone would ever see it.

    There's probably an argument for sponsorship here as well, not as a vehicle for advertising, but just companies paying for (or supplying resources) to cover the ongoing costs of the service as a public good. I wish I could make something that worked and could put it somewhere and commit zero mindspace to billing, server maintenance etc. and just have it keep running, forever.

  • by dankwizard on 8/28/24, 2:25 AM

    No right click -> New tab / Middle click is a killer in 2024.
  • by blumomo on 8/27/24, 8:00 PM

    > Free IP Geolocation API - lookup any IP address. Provides geolocation data based on the input IPv4/IPv6 address or domain name

    Where does one get a geo location for an IP address from?

  • by wg0 on 8/27/24, 8:18 PM

    Whatever happened to programmable web?
  • by tbran on 8/28/24, 10:50 AM

    Using Hugo to make a read-only API would be a great way to make an always-up API with minimal maintenance. Host on any static site host.

    - https://web.archive.org/web/20180530151717/https://forestry....

    - https://web.archive.org/web/20180525154607/https://forestry....

  • by veqq on 8/28/24, 12:40 AM

    Tangentially, what APIs do you guys actually pay for? (Personally or through work)
  • by debo_ on 8/27/24, 9:09 PM

    I'm relieved to know the Rick and Morty API is in such good health.
  • by gkhartman on 8/28/24, 9:27 PM

    Small nitpick: How does this calculate the health score shown? I see a vague description in the about page, but I'm confused by the weights. For example the Guild Wars 2 API shows 95 prevent, but clicking for details shows 100 percent reliability. Perhaps it's the high latency that drops it's score by 5 percent?

    This is really great overall. I like the interface on mobile, and search works great for me so far. Bookmarking for later.

  • by PLenz on 8/28/24, 12:16 AM

    I think most of these would be better off as files
  • by wwoessi on 8/28/24, 8:38 AM

    Most of them are useless play apis, but it's a fun dataset maybe. Also I guess most don't use the OpenAPI standard.
  • by xtiansimon on 8/28/24, 12:17 PM

    Odd layout. After entering a search in the text field, the next element is a title: “Search for an API” and a subheading: “Searching for APIs…”. The results were below the fold on my phone. This title made me think the query was not yet submitted, so I’m sure I submitted the form a bunch of times.
  • by jasonbourne4 on 8/28/24, 12:10 AM

    Wanted to add AISstream but didn't work. Does it accept websocket APIs? wss://stream.aisstream.io/v0/stream https://aisstream.io/documentation
  • by mrmuagi on 8/27/24, 11:47 PM

    Anyone know of a decent (doesn't have to be realtime) stock API for stocks? I didn't find any under the finance category besides one crypto related.
  • by atoav on 8/27/24, 7:12 PM

    Very cool site and a good reminder that we need more common/shared infrastructure like that.

    One nitpick: why can I not open like KS to API sub-pages in a new tab? Are Hyperlinks unfashionable now?

  • by sexy_seedbox on 8/28/24, 1:16 AM

    This site is very slow when accessed from Asia. And I can't open each card in a new tab. Slow server and/or bad Nuxt implementation?
  • by flavaz on 8/27/24, 9:41 PM

    An API for polling data would be cool, one can dream
  • by webwanderings on 8/27/24, 10:02 PM

    Regarding APIs, what is a recommend good and free tool, other than Postman, that allows for importing and exporting of saved collections?
  • by CommanderData on 8/27/24, 10:42 PM

    Great resource, with a nice UI (Love to know how it's built).

    Found public resources I always wished existed.

  • by datavirtue on 8/27/24, 8:51 PM

    Me likes, however the first API I looked for was not found. USPS address verification
  • by dmje on 8/27/24, 7:13 PM

    This is great - bookmarked!
  • by ehnto on 8/28/24, 5:09 AM

    I tried to build something years ago on a similar foundation, and I found maintaining the API list to be impossible as a solo dev. In a pool of say 30 APIs, at least one would break their "contract" as a public resource daily. Shifting endpoints, revoked public tokens, changing outputs.

    I was quite disappointed because I loved the product, a dashboard for arbitrary live data sourced from APIs, but the cost of maintaining it was too high.

  • by qrush on 8/28/24, 1:23 PM

    Just a friendly reminder that rubygems.org's APIs are free/public: https://guides.rubygems.org/rubygems-org-api/

    And there's a weekly data dump of our database: https://rubygems.org/pages/data

  • by ifeja on 8/27/24, 10:12 PM

    less is more get rid of the joke ones
  • by justinator on 8/28/24, 2:52 PM

    "are" tested daily.

    Not to QC the link title, but ;)

  • by samstave on 8/27/24, 8:34 PM