Live data from Hacker News

A Collection of Free Public APIs That Is Tested Daily

freepublicapis.com

71–80 of 130 posts

Re: A Collection of Free Public APIs That Is Tested Daily

#71
post #10

Whatever happened to programmable web?

https://en.wikipedia.org/wiki/ProgrammableWeb - "was an..." Bummer.

On February 3, 2023 Mulesoft announced that after 17 years in operation, it had shut down Programmable Web.

Re: A Collection of Free Public APIs That Is Tested Daily

#72
post #70

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 maintai…

I would say that would be my use case for LLMs. These should be easily fixed by automation that can reason about documentation and could spit out code fixes.

Of course I assume there is documentation that is updated before new changes go live which might be too much to ask :)

Re: A Collection of Free Public APIs That Is Tested Daily

#73
post #31

Earlier quoted context omitted.

What I really want is isoddapi.xyz. Just like the npm package, all it should do is call isevenapi.xyz and invert the result.

I'd like to see isfizzbuzz.xyz. Ideally, before 11:30 AM ET this Friday.

https://api.isfizzbuzz.xyz/

Cheers!

Re: A Collection of Free Public APIs That Is Tested Daily

#75
post #27

An API for polling data would be cool, one can dream

Not so much for polling data, but some governments do allow access to coarse election data. Australia's was enough that the unfortunately complicated math of their election system was repeatable and verifiable (Can't find the post about it, however)

Good point. However, in my experience messing around with choropleth maps, I often find myself resorting to web scraping in the end when I want something more current (opinion polling). Despite this data being seemingly everywhere, and companies often wanting you to use it (with attribution) so they can get advertising for other services, they never seem to have an API.

Re: A Collection of Free Public APIs That Is Tested Daily

#78
post #19
post #3

(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.

The possibility of an internet resource disappearing exists regardless of the resource type. Running an API Forwarder that could act as a common target for all your APIs might work. Give it the request, and it passes it on, records success, optionally sends a notification if an endpoint that previously succeeded is now failing. Add a fancy feature of redirection with format changing to handle replacing dead APIs with…

  > Running an API Forwarder that could act as a common target for all your APIs might work.
That just sounds like adding another point of failure into the chain.

Re: A Collection of Free Public APIs That Is Tested Daily

#79
post #3

(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.

  > having made the mistake of using a public API (that later went offline) for examples in a book of mine
Literally a tale as old as time. The Old Testament references a command from God, that is not contained in the Old Testament itself.
Post reply on HN